2022-02-08 06:01 AM
Hello,
I created a Makefile Project in STM32CubeIDE which uses ARM MDK Toolchain.
I would like to know if it is somehow possible to use STM32CubeIDE for debugging in conjunction with ARM MDK?
As in uVision IDE from ARM doesn't support to load more than one .elf/.axf to target.
Solved! Go to Solution.
2022-02-08 08:19 AM
CubeIDE can debug a .elf or .axf since version 1.7.
Please see the CubeIDE user guide, 3.8 "Import STM32 executable".
This is called ""Projectless debug" but actually creates a new project, similar to makefile-based.
> uVision IDE from ARM doesn't support to load more than one .elf/.axf to target.
IIRC it does, by manually entering debugger commands, or by debugger script.
-- pa
2022-02-08 08:19 AM
CubeIDE can debug a .elf or .axf since version 1.7.
Please see the CubeIDE user guide, 3.8 "Import STM32 executable".
This is called ""Projectless debug" but actually creates a new project, similar to makefile-based.
> uVision IDE from ARM doesn't support to load more than one .elf/.axf to target.
IIRC it does, by manually entering debugger commands, or by debugger script.
-- pa
2022-02-08 08:47 AM
Thank you for the fast answer, but I cannot find a "user guide" on ST site. Do you have a link to that document?
Using debugger scripts is not very user-friendly. I would prefer to do it differently. :)
2022-02-08 10:30 AM
You'll find the STM32CubeIDE User Guide (UM2609) under the website of STM32CubeIDE or directly here.
Good luck!
Regards
/Peter
2022-02-09 05:52 AM
Ahh, it had hidden behind a drop-down list. Thanks.
I tried both possibilities and I think I gonna go with debugger scripts in uVision. Because when I tried debugging with gdb in CubeIDE it sometimes kicked me out or raised bus faults. Maybe this is because I use TrustZone on my controller.