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.
您好!
BSL_SPI_FLASH_INTERFACE 示例在未对代码进行任何更改的情况下、在运行调试器时立即抛出以下错误:
File Loader: Memory write failed: Flash Programmer: Error, Attempting NONMAIN write without erasing!
查看 boot_config.c 文件、massEraseMode 和 factoryResetMode 看起来都已启用、因此我认为 NONMAIN 应该已被擦除:
.massEraseMode = BCR_CFG_MASS_ERASE_EN, .factoryResetMode = BCR_CFG_FACTORY_RESET_EN,
欢迎提出任何建议。
谢谢。
亚历克斯