2023-12-21 07:44 AM
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
2023-12-21 07:52 AM
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.
2023-12-21 08:28 AM
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
2023-12-21 09:12 AM
Jump to bootloader:
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.