URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sw/] [bootloader/] [bootloader.c] - Diff between revs 56 and 57
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 56 |
Rev 57 |
Line 467... |
Line 467... |
neorv32_uart_print("Awaiting neorv32_exe.bin... ");
|
neorv32_uart_print("Awaiting neorv32_exe.bin... ");
|
}
|
}
|
else {
|
else {
|
neorv32_uart_print("Loading... ");
|
neorv32_uart_print("Loading... ");
|
|
|
|
// check if SPI is available at all
|
|
if (neorv32_spi_available() == 0) {
|
|
system_error(ERROR_FLASH);
|
|
}
|
|
|
// check if flash ready (or available at all)
|
// check if flash ready (or available at all)
|
if (spi_flash_read_1st_id() == 0x00) { // manufacturer ID
|
if (spi_flash_read_1st_id() == 0x00) { // manufacturer ID
|
system_error(ERROR_FLASH);
|
system_error(ERROR_FLASH);
|
}
|
}
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.