Hello,
The bsl_spi_flash_interface example, with no changes to the code, is throwing the following error immediately upon running the debugger:
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing!
Looking at the boot_config.c file both massEraseMode and factoryResetMode look to be enabled, so I believe NONMAIN should have been erased:
.massEraseMode = BCR_CFG_MASS_ERASE_EN,
.factoryResetMode = BCR_CFG_FACTORY_RESET_EN,
Any suggestions would be appreciated.
Thanks,
Alex