2020-03-17 03:49 AM
Hello,
I'm working on low power application based on STM32H7A3 and I'm not able to get to work debugging together with STOP mode. When the MCU finish the STOP mode, next time I click on resume button the debugger give me message "Program received signal SIGTRAP, Trace/breakpoint trap. 0xa05f0000 in ?? ()" and according the debugger whole MCU memory is overwritten with value "01005FA0" (based on memory view window)
here is my thread with additional information:
I'm using RTC to wake up the MCU after some time. I tested it also on STM32H757 and got the some result so it will be general problem with STM32H7 or something I'm doing wrong.
Using STM32CubeIDE 1.3.0, content of debug control register is "0x6001bf" which should be fine for debugging in low power mode.
I'll appreciate any help or hints.
Thanks,
Petr
2020-03-17 05:34 AM
Did you enable the needed bits in DBGMCU_CR of the needed CPUs?
2020-03-17 05:54 AM
yes, it's in the text above, that content of debug control register is "0x6001bf"