Skip to main content
PHlin.1
Associate III
March 17, 2020
Question

Is anybody able to debug application with STM32H7 and STOP mode?

  • March 17, 2020
  • 1 reply
  • 1064 views

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:

https://community.st.com/s/question/0D73W000000PEtU/unable-to-debug-in-stop-mode-break-at-address-0xa05f0000-with-no-debug-information-available

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

This topic has been closed for replies.

1 reply

Uwe Bonnes
Chief
March 17, 2020

Did you enable the needed bits in DBGMCU_CR of the needed CPUs?

PHlin.1
PHlin.1Author
Associate III
March 17, 2020

yes, it's in the text above, that content of debug control register is "0x6001bf"

0693W000000U6WhQAK.png