CubeIDE - How can I Debug Step into functions located in ITCM?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-07 3:07 AM
I have a STM32H730 Project, using CubeIDE V1.17.0. Code executing from the internal Flash.
I have located some functions into ITCM,
- added a new .itcram section to the linker LD file
- added __attribute__((section(".itcram"))) to my functions I want in ITCM
- at startup I copy from FLASH to ITCM
This builds and runs okay, the functions in ITCM execute as expected.
But, I can't Debug Step into any function located in ITCM, it just steps over the function.
I can set a breakpoint in a ITCM function, but it never halts there, just ignores the breakpoint.
How can I step into functions located in ITCM?
Do I need to tell GDB that I have instruction code in ITCM?
Thanks.
Labels:
- Labels:
-
STM32CubeIDE
0 REPLIES 0
