Skip to main content
Explorer
December 21, 2023
Question

STM32H723 BOOT0 and RESET control over UART!

  • December 21, 2023
  • 2 replies
  • 2234 views

Hi All,

 I managed to be able to bootload the STM32H723 device using the STM32 Flash Loader (STBootLib) but do not like how I have to pull BOOT0 high and also reset the device right before I program the device and then when the boatloading is done reset the device again. Is there a way to control the BOOT0 pin and reset the device through the serial RX/TX lines of the USART? All I have available are RX/TX lines. I do not have control signals like RTS, DTR, etc available. Do you have any clever ideas to control BOOT0 and RESET through the serial link?

Thanks,

Eric Norton

    This topic has been closed for replies.

    2 replies

    Super User
    December 21, 2023

    Set up your program to jump to the bootloader upon request from a specific UART signal.

    Use the bootloader JUMP command to start your program without resetting.

    ENort.1Author
    Explorer
    December 21, 2023

    Hi TDK,

     Okay, how do I jump to the bootloader from my application? In my design, there will be an "application" UART and a "programming/bootload" UART.  Do you know of working code examples for the STM32H723 device that you can share that jumps to the bootloader? When the bootload is done, is there an example available to do the jump to application? Any information you can share would be great :grinning_face:.

    Thanks,

    Eric Norton

    Super User
    December 21, 2023

    Jump to bootloader:

    https://community.st.com/t5/stm32-mcus/how-to-jump-to-system-bootloader-from-application-code-on-stm32/ta-p/49424

    Jump to application will depend on your software. The CLI for STM32CubeProgrammer should be able to. Or you can connect and disconnect to cause it to reset.