Skip to main content
Visitor II
November 2, 2021
Solved

Normal boot when boot0 pull-up in B-G431B-ESC1 board

  • November 2, 2021
  • 4 replies
  • 1495 views

I absolutely cannot understand how the normal loading of the program on the B-G431B-ESC1 board occurs if, due to the use of timer 4 as an input for Hall sensors according to the boot0 (PB8) circuit, it is pulled up to 3.3V through a resistance of 10k. I made my board with exactly the same circuit and as expected normal boot from flash does not occur until boot0 is pulled low. Is there any trick on the B-G431B-ESC1 board?0693W00000GWDx9QAH.png0693W00000GWDvcQAH.png

    This topic has been closed for replies.
    Best answer by Mike_ST

    Hello,

    G4 familly has a software BOOT0 option, to avoid using the BOOT0 pin.

    Please check SWBOOT0 / nBOOT0 / nBOOT1 option bytes with the STM32CubeProgrammer.

    4 replies

    Mike_STAnswer
    Technical Moderator
    November 2, 2021

    Hello,

    G4 familly has a software BOOT0 option, to avoid using the BOOT0 pin.

    Please check SWBOOT0 / nBOOT0 / nBOOT1 option bytes with the STM32CubeProgrammer.

    DTort.1Author
    Visitor II
    November 2, 2021

    Wow, this is a real discovery :) I have already unchecked the boxes here, what else needs to be done?

    0693W00000GWEMiQAP.png

    Technical Moderator
    November 2, 2021

    nBOOT0 => checked

    which means BOOT=0.

    Your program should start after that...

    Graduate II
    November 2, 2021

    Maybe the ESC module has some fuses set w.r.t. boot0?

    Technical Moderator
    November 2, 2021

    During production, we set the MB1419 with nSWBOOT0=0 nBOOT0=1 when programming the demo code.

    DTort.1Author
    Visitor II
    November 2, 2021

    Thank you, now I understand how this happens.

    DTort.1Author
    Visitor II
    November 2, 2021

    Oh, I got it:D

    0693W00000GWETFQA5.png