‎2021-11-02 08:09 AM
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?
Solved! Go to Solution.
‎2021-11-02 08:21 AM
Hello,
G4 familly has a software BOOT0 option, to avoid using the BOOT0 pin.
Please check SWBOOT0 / nBOOT0 / nBOOT1 option bytes with the STM32CubeProgrammer.
‎2021-11-02 08:21 AM
Hello,
G4 familly has a software BOOT0 option, to avoid using the BOOT0 pin.
Please check SWBOOT0 / nBOOT0 / nBOOT1 option bytes with the STM32CubeProgrammer.
‎2021-11-02 08:22 AM
Maybe the ESC module has some fuses set w.r.t. boot0?
‎2021-11-02 08:27 AM
During production, we set the MB1419 with nSWBOOT0=0 nBOOT0=1 when programming the demo code.
‎2021-11-02 08:45 AM
Wow, this is a real discovery :) I have already unchecked the boxes here, what else needs to be done?
‎2021-11-02 08:51 AM
nBOOT0 => checked
which means BOOT=0.
Your program should start after that...
‎2021-11-02 08:51 AM
Oh, I got it:D
‎2021-11-02 08:54 AM
Thank you, now I understand how this happens.