cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing STM32 with hyper terminal using inbuilt bootloader

rsh.1
Associate II

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.

10 REPLIES 10
Pavel A.
Evangelist III

Teraterm is a free, opensource software and it supports plug-ins. You can make a STM32 programmer plug-in for Teraterm.

rsh.1
Associate II

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.

The USART protocol used in the STM32 bootloader is described in AN3155.

JW

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rsh.1
Associate II

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.

 

STMProgrammer have this code inbuild, why dont use ???

See GitHub for Arduino MKR WAN 1300 for firmware update example

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
rsh.1
Associate II

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 

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..