Skip to main content
Associate
January 6, 2025
Question

STM32l476 boot inquiry

  • January 6, 2025
  • 6 replies
  • 769 views

Hello,

The STM32L476 MCU is not booting, and it seems to be stuck at address 0x08000228, as shown in the attached image.

 

  • It used to boot and work correctly before.
  • At some point, it stopped booting and no longer functions as expected.

 

What could be the reason for this behavior?

This topic has been closed for replies.

6 replies

TDK
January 6, 2025

There's no image attached. What code is it executing when it's stopped?

A common scenario is where the HSE or LSE crystal doesn't boot up properly. Choosing the right crystal is important there. If that is why it is stuck, see tips here:

Guidelines for oscillator design on STM8AF/AL/S and STM32 MCUs/MPUs - Application note

"If you feel a post has answered your question, please click ""Accept as Solution""."
ksd4692Author
Associate
January 6, 2025

When running in debug mode, it doesn’t stop at a specific line of code but keeps looping endlessly.

TDK
January 6, 2025

What lines of code does it loop through?

"If you feel a post has answered your question, please click ""Accept as Solution""."