stm32h7 dual core debugging
Hi all.
I am using STM32H747BIT6 with cm4 & cm7 cores but I am struggling with debugging my application.
I started a new STM32 project using the CubeIDE wizard and gave the ioc file to generate simple code.
Then I built the two projects (m4 & m7).
After that I clicked on "Run" to flash the cm7 with its program and then clicked on "Debug" to flash & debug the cm4.
After doing that I was expecting that I could click on "pause" and get the core running the while (1) loop.
However the application is "suspended" at address 0xa05f0000 with SIGTRAP
Even after resetting the HW I always stuck at this address.
Can someone please explain me whats going on here?
And, more important, how to configure the IDE that I can debug the cm4 without any problems?
Yonatan
P.S.
I followed the instructions on AN5361 and managed to make it to run
However I still can't set breakpoint on cm4 before the while(1) loop
How can I do that?
