This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-MSPM0L1306: bsl_spi_flash_interface example Attempting NONMAIN write without erasing

Part Number: LP-MSPM0L1306

Hello,

 The bsl_spi_flash_interface example, with no changes to the code, is throwing the following error immediately upon running the debugger:

Fullscreen
1
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing!
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Looking at the boot_config.c file both massEraseMode and factoryResetMode look to be enabled, so I believe NONMAIN should have been erased:

Fullscreen
1
2
.massEraseMode = BCR_CFG_MASS_ERASE_EN,
.factoryResetMode = BCR_CFG_FACTORY_RESET_EN,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Any suggestions would be appreciated.

Thanks,

Alex