Skip to main content
Super User
January 10, 2023
Question

STM32L4xx (AN2606 Pattern 6) boot process - conflicting description

  • January 10, 2023
  • 8 replies
  • 1438 views

0693W00000Y7tlHQAR.png 

0693W00000Y7tmAQAR.png 

JW

    This topic has been closed for replies.

    8 replies

    Technical Moderator
    January 11, 2023

    Hello @Community member​ ,

    Thank you for bringing these issues to our attention.

    I reported internally.

    Internal ticket number: 142678 (This is an internal tracking number and is not accessible or usable by customers).

    Kaouthar

    Super User
    January 11, 2023

    Thanks Kaouthar!

    Jan

    Technical Moderator
    January 12, 2023

    Hello @Community member​,

    The issue has been solved in Empty check mechanism on STM32 article.

    Thank you .

    Kaouthar

    Super User
    January 12, 2023

    Hi Kaouthar,

    the problem is, that.... no, this did not fix it...

    It's not a coincidence that the boot bit/pin selector has two different names: it's because in different families its meaning is opposite to each other:

    0693W00000Y866MQAR.png 

    This is also the reason why it's not good to link to one particular RM in that sentence.

    Jan

    @KDJEM.1​ 

    Technical Moderator
    January 12, 2023

    Hi @Community member​,

    Thank you for this clarification, I agree with you.

    I suggest this new content for the tip article:

    Tip: On devices with nSWBOOT0 or nBOOT_SEL option bit ( like STM32WB, STM32L4, STM32G0) it is possible to force boot from Main flash by using nBOOT0 option bit instead of BOOT0 pin.

    This can be achieved by following Option byte configuration:

    - nSWBOOT0 = 0 (BOOT0 signal is defined by nBOOT0 option bit) nBOOT0 = 1, for STM32L4 and STM32WB.

    -nBOOT_SEL = 1 (BOOT0 signal is defined by nBOOT0 option bit) nBOOT0 = 1, for STM32G0.

    Thank you.

    Kaouthar

    Super User
    January 12, 2023

    Hi Kaouthar,

    Yes, like this.

    Thanks,

    Jan

    @KDJEM.1​ 

    Technical Moderator
    January 13, 2023

    Hi @Community member​,

    Empty check mechanism on STM32 article is updated.

    Thank you.

    Kaouthar

    Super User
    January 14, 2023

    Thanks.

    Jan