Cannot step by step debug on STM32H7 with STM32CubeIDE and code in AXI-SRAM
My setup is:
- STM32H753 eval board
- STM32CubeIDE 1.10.1
- code generated with arm-none-eabi-gcc (no stdlib, no semiihosting, no ITM)
The code is located in AXI-SRAM memory.
I can execute the code and break wherever I want. However when I break I cannot step into the code (or continue execution). When i do so (whether it is Step into or step over, assembly mode or normal mode) the code remains at the same instruction (everything happens as if the instruction is not executed). The disassembly is correct. There is no "bkpt" or other particular instruction.
I obviously tried to set the bkpt at different locations.
i also tried to set it up after the code is loaded to RAM. I also set the bkpt as "hardware" instead of "regular"
When the code is executed from somewhere else (like ITCM) it works just fine.
Any idea ?
