Skip to main content
DTort.1
Associate III
November 2, 2021
Solved

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

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.
Mike_ST
Mike_STBest answer
ST 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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 

7 replies

Mike_ST
Mike_STBest answer
ST 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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
DTort.1
DTort.1Author
Associate III
November 2, 2021

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

0693W00000GWEMiQAP.png

Mike_ST
ST Technical Moderator
November 2, 2021

nBOOT0 => checked

which means BOOT=0.

Your program should start after that...

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
Uwe Bonnes
Chief
November 2, 2021

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

Mike_ST
ST Technical Moderator
November 2, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
DTort.1
DTort.1Author
Associate III
November 2, 2021

Thank you, now I understand how this happens.

DTort.1
DTort.1Author
Associate III
November 2, 2021

Oh, I got it:D

0693W00000GWETFQA5.png