2019-10-07 02:54 PM
I can't seem to figure out how to program flash from within STM32CubeIDE? I have a project for a custom board (using a STM32F030) that builds correctly, but there is no obvious option to select my ST-Link/V2 so I can download the resulting program into flash.
Right now, I have to switch to the ST-Link Utility to program my board - but that seems unnecessarily cumbersome.
I feel like I'm missing an obvious step - but Eclipse-based IDEs have always confounded me...
2019-10-08 02:22 AM
You should just need to build the project (hammer) then click the Debug icon (Green bug). You will be prompted to edit the launch configuration and on the Debugger tab you should be able to select ST-Link
Once the code has programmed and you are in debug mode you can remove ST-Link and power cycle the board and your code should run.
Andy
2019-10-08 07:54 AM
Well, that's clearly the problem. When I edit my launch configuration, I see no evidence of the ST-Link on the Debugger tab.
Do I need to do anything special to get the ST-Link's gdb server installed and running?