ref: 17d88daa0060c7f7f2133a9364ce63e982f63671
dir: /stm32up.man/
.TH STM32UP 1 .SH NAME stm32up \- stm32 UART flashing utility .SH SYNOPSIS .B stm32up [ .B -d ] [ .B -D .I device ] [ .B -b .I baud ] .I command ... .SH DESCRIPTION Stm32up uses the UART protocol of the STM32 processors, to perform commands on the chip. .PP The .B -D argument sets the serial device path, which defaults to .B /dev/eia0 . The .B -b argument sets the serial line's baud rate, which otherwise is 9600. Verbose output is obtained by specifying the .B -d flag. The tool sets the line according to the protocol, to have 8 data bits, an even parity bit, and a stop bit. .SH COMMANDS .TF info .TP .BI info Prints information about the available commands on the device. .TP .BI read " addr size" Reads .I size amount of bytes, starting from .I addr . The data is written to stdout. .TP .BI write " addr size" Write .I size amount of bytes, starting from .I addr . The data is read from stdin. .TP .BI erase " n addr" Erases .I n pages starting with .I page . .TP .BI go " addr" The devices exits the reset state and goes to .I addr . .TP .BI flash " addr size" Erases all 256 pages, writes the data, then issues a .B go command to .I addr . .TP .B "readp, readunp, writeunp" Protects against reads, unprotects against reads or writes. .SH SEE ALSO AN3155 .br AN2606 .SH BUGS Most certainly.