SW4STM32 : Error message from debugger back end: Error erasing flash with vFlashErase packet Error erasing flash with vFlashErase packet


 

在使用SW4STM32创建新的工程编译OK,准备Debug Run的时候出现以下错误 

 

 第一反应是SWD的线接错了,然后使用STM32 ST-LINK Utility 擦除和烧写都没问题,说明硬件没问题。

然后在SW4STM32的Debug设置上找问题:在STM32论坛寻找一番找到了解决的方法如下

 

With this error:

Error in final launch sequence
Failed to execute MI command:
load C:\projects\micropos_proto1\Debug\micropos_proto1.elf

Error message from debugger back end:
Error erasing flash with vFlashErase packet
Error erasing flash with vFlashErase packet

Did the following ...

Debug > Debug Configuration.. > Ac6 STM32 Debugging > 1 Debug > Debagger > Show generator options.. > Reset mode: software system reset.

Good luck.

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM