cancel
Showing results for 
Search instead for 
Did you mean: 

1.board-NUCLEO-H743ZI2 . we are dumping code into flash externally through USB .for that we are making boot0 pin high and low manually.is it possible to make boot0 pin high and low in software. I don't have access to change boot0 pin in MX.

SChan.23
Associate

we are not able to change boot0 pin in MX configuration. for other input output pins we are able to change the configuration but not for boot0 pin.

Thanks in advance.

3 REPLIES 3
Peter BENSCH
ST Employee

Pin BOOT0 cannot be configured by CubeMX, but only influenced by external stimulation. However, it is possible to adjust the boot behaviour somewhat via the option bytes, which is listed for all families of STM32 in AN2606.

Boot pattern 10 applies to the STM32H743, which activates the boot loader on reset and one of the following conditions:

  • Boot(pin) = 0 and BOOT_ADD0(optionbyte) = 0x1FF0
  • Boot(pin) = 1 and BOOT_ADD1(optionbyte) = 0x1FF0

The bootloader of the STM32H743 can probably only be activated by software if you do not have access to pin BOOT0. There are several suggestions here in the community that solve the problem with their own bootloader, which is at the beginning of the user code and jumps to the internal bootloader when a trigger value is present, for example.

Does it anwer your question?

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
SChan.23
Associate

sir,

please find the attached image related to booting process.i understood your reply but not completely. could you please eloborate it.0693W00000WIO0nQAH.png0693W00000WIO0YQAX.png

gbm
Lead III

You can't set the state of BOOT in software but you may easily invoke the builtin bootloader from your software. That's what was written above - just do it.