cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE: How to enter commands in the debug configuration as in TrueStudio?

MB_Inv
Associate III

Hello,

I used the following "Target Software Startup Script" in the debug configuration in Atollic TrueStudio (this is necessary since we're using a bootloader and our application binary which I would like to debug is not placed at the beginning of the STM32 flash):

0690X000008iJtzQAE.jpg

How to enter this in STM32CubeIDE?

I would really need to debug my firmware, but can't figure out how to do the required settings...

Any ideas?

Kind regards,

Markus

This discussion is locked. Please start a new topic to ask your question.
33 REPLIES 33
Legacy member
Not applicable

No prob. I just happen to be working on this as well. Hmm... think I am out of ideas.

Best of luck! Do post here if you manage to figure it out.

MB_Inv
Associate III

Thanks!

MB_Inv
Associate III

I just solved the issue...

It turned out that the linker setting "-Wl,--cref" (Add symbol cross reference table to map file) was missing. Checking the corresponding box in the linker settings, debugging now also works also with ST-Link in CubeIDE!

0690X000008j2alQAA.jpg

Kind regards,

Markus

Legacy member
Not applicable

Congrats! How did you figure that out?

My "-WI, --cref" option is not checked though. Glad it works for you. :)