Unknown crash #6
Replies: 2 comments 26 replies
-
Are these crashes occurring only while debugging? If so, this is a known silicon bug on STM32L4+, and it is a silicon bug on the STM32U5 too. See https://community.st.com/s/question/0D53W00001YaehVSAR/waking-from-stop-mode-causes-hard-fault-but-only-when-debugging. See 2.2.16 in the STM32L4+ errata. The erratum is called "Wrong instruction fetches from flash memory upon wakeup from Sleep or Stop mode when debug in low-power mode is enabled". As of this writing the STM32U5 errata sheet doesn't yet include this bug, but the bug is definitely in the silicon. See this commit for the workaround I chose for the LPTIM-Tick-U5 demo program. The silicon bug occurs only while debugging. More precisely, the bug occurs only while |
Beta Was this translation helpful? Give feedback.
-
@jefftenney STM32U575 Errata sheet is also updated with this hardfault. |
Beta Was this translation helpful? Give feedback.
-
Hello Jeff,
You did wonderful job with tickless idle. It is working perfectly fine and saves a lot of power. I am running system with 160Mhz when it is not in idle mode and it also goes to 25Mhz during tickless mode.
I have following MACRO defined.
Sometime I am getting crash at two location randomly. I tried to find the cause but I couldn't find anything. I am attaching the image for the location where I am getting the crash.
And line number 556 in below image.
It would be great help, if you have any idea.
Beta Was this translation helpful? Give feedback.
All reactions