2020-12-15 02:24 PM
Hi,
I have problem with debugging execution from internal SRAM. I use Cube IDE and STM32H750 Disco board. There was no problem when I debug from flash.
But when my binary size exceeded the flash capacity(128KB), I had to use external memory for the program code. I am copying code to internal sram and execution starts from address 0x24000000. I am able to run and suspend the application using debugger. Then I can resume it. It works.
So far so good.
But when I set a breakpoint, it stops at there but then can't continue somehow. It gets stuck there. I can't resume, step out, step in etc. from there. And console writes this:
handle_vCont_t, Thread already stopped
I see PC and SP. They seem ok.
Am I missing something in debug configuration?
I appreciate your helps
Solved! Go to Solution.
2020-12-15 03:21 PM
Perhaps disable the caching on the RAM? Try a different debugger/tool set.
Could you use QSPI?
The part does have 2MB of FLASH on die, and the DISCO/DK used more than 128KB for the demo.
2020-12-15 03:21 PM
Perhaps disable the caching on the RAM? Try a different debugger/tool set.
Could you use QSPI?
The part does have 2MB of FLASH on die, and the DISCO/DK used more than 128KB for the demo.
2020-12-16 12:43 AM
Yes, disabling cache worked.
Thank you so much!