在使用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.


