Loading...
 
Skip to main content

System Workbench for STM32


After update debug does not work, failed to execute MI command

Also something else helpful to know. In the debugger settings under the "Debugger" tab and in the "Config options" text box where you enter "-f C:\path to scripts\scripts\board\your board .cfg file" you also need to continue the argument line with a space and then "-s C:\path to scripts\scripts". Make sure you keep the .cfg files tree starting with "scripts" intact such that the tree looks like:
scripts\boards
scripts\target
scripts\interface

that way when openOCD runs the first script as directed by the -f switch, the other .cfg files called for target and interface will be found. -s switch tells openOCD what the working directory (or base directory) is for openOCD scripts.

 
Collapse/expand modules below