2023-06-28 09:25 AM - last edited on 2023-06-30 09:15 AM by STOne-32
Hi,
I was flashing the STM32 Nulceo_h723zg which is having inbuilt primary bootloader in STMCube programmer, by making BOOT pin high via UART.
But i want to flash by using hyper terminals like teraterm.
How can we send binary or hex files into stm board by using such terminal.
Thanks.
2023-06-28 03:31 PM
Teraterm is a free, opensource software and it supports plug-ins. You can make a STM32 programmer plug-in for Teraterm.
2023-06-29 03:01 AM
Hi @Pavel A. ,
Do you know which protocol used by the inbuilt bootloader via uart, so that i can make the those settings in Teraterm.
2023-06-29 03:24 AM
The USART protocol used in the STM32 bootloader is described in AN3155.
JW
2023-06-29 04:34 AM
If you want regular Terminal apps to be able to program, would suggest you code a loader supporting X-Modem. Or processes Hex file lines, but that lacks inherent flow control or pacing.
ST's protocol is more involved.
2023-06-29 11:31 PM
Hi @Tesla DeLorean ,
Can i get the sample C library to flash the application to inbuilt bootloader of stm32 via UART, Currently using stm32 nucleo_h723zg.
Will use libraries instead of other hyper terminals.
2023-06-30 12:46 AM
STMProgrammer have this code inbuild, why dont use ???
2023-06-30 02:14 AM
See GitHub for Arduino MKR WAN 1300 for firmware update example
2023-06-30 06:35 AM - edited 2023-06-30 06:59 AM
Hi @Tesla DeLorean , I didnt get exactly what i want .!!
I got python scripts from here : https://pypi.org/project/stm32loader/#files
Similarly looking for in C library
2023-06-30 09:03 AM
This
https://github.com/arduino-libraries/MKRWAN/tree/master/examples/MKRWANFWUpdate_standalone
via https://github.com/arduino/mkrwan1300-fw
Understand that I'm frequently posting from a phone so will often point in the direction to go, not drive you to a destination.