Forum: System Workbench for STM32

Can't run debugger - It was working

Debugger was running, now I can’t get it running again. Same board, same configuration, same project, same program with absolutely no changes. Why is it different now!!!
Here is the error box I get when I try to run debug with all the default settings for the Ac6 STM32 Debugging configuration:

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

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

Note that Build and Run were accomplished with no errors.

Also I get a strange tab in the Console window labeled “0x800171a”. It contains:

No source available for “0x800171a”

in red font.

Found answer to problem in another thread:

Use Task Manager to kill any openocd.exe processes that are still running.

Debug ran fine after killing the openocd.exe process.