Loading...
 
Skip to main content

System Workbench for STM32


Workbench keeps changing the STLink type for a custom board project

I've identified a way to make the debugger work properly on my Ubuntu system. I'm still not sure what the cause, or the "clean fix" would be, but this is what worked for me:

Open the menu item Run -> Debug Configurations.
Select the output .elf name under Ac6 STM32 Debugging.
In the Debugger tab, go to the "Script:" item, select "Manual spec," and manually set the "Debug device" and "Debug interface" to the necessary values (in my case, these are STLink-V2" and "SWD").
Click "Debug" and off you go.

I have also messed around with the settings in the project .cfg file, but I'm uncertain whether this has had any effect.

The .xml file in my project directory is still being reset to "ST-LinkV2-1" when I build, but as nothing else is paying attention to this setting, I am ignoring it.

 
Collapse/expand modules below