Skip to main content
Visitor II
January 6, 2025
Question

STM32l476 boot inquiry

  • January 6, 2025
  • 1 reply
  • 738 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.

    1 reply

    Super User
    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

    ksd4692Author
    Visitor II
    January 6, 2025

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

    Super User
    January 6, 2025

    What lines of code does it loop through?