cancel
Showing results for 
Search instead for 
Did you mean: 

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

DTort.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Mike_ST
ST Employee

Hello,

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

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

View solution in original post

7 REPLIES 7
Mike_ST
ST Employee

Hello,

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

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

Uwe Bonnes
Principal III

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

Mike_ST
ST Employee

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

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

0693W00000GWEMiQAP.png

nBOOT0 => checked

which means BOOT=0.

Your program should start after that...

DTort.1
Associate III

Oh, I got it:D

0693W00000GWETFQA5.png

Thank you, now I understand how this happens.