No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
parsers
.gitignore
AUTHORS
Android.mk
HOWTO
I2C.txt
INSTALL
Makefile
Makefile.am
README.md
TODO
compiler.h
configure.ac
dev_table.c
gpl-2.0.txt
i2c.c
init.c
init.h
main.c
port.c
port.h
protocol.txt
serial.h
serial_common.c
serial_platform.c
serial_posix.c
serial_w32.c
stm32.c
stm32.h
stm32flash.1
utils.c
utils.h

README.md

stm32flash

stm32flash (https://sourceforge.net/projects/stm32flash/) with some fixes, including:

  • support for manually erasing more than 255 flash pages
  • support for writing/reading EEPROM on STM32L0 and STM32L1
  • support for erasing necessary flash pages only with -E option

To program flash memory: stm32flash -b 230400 -E -w file.hex COMxx

To program EEPROM memory: stm32flash -b 230400 -S 0x08080000 -w file.bin COMxx

P.S. Default UART baud rate is 115200 bps. Speeds up to 921600 bps were tested with CP2102 based USB-UART adapter. Even higher 3000000 bps speed should be possible with FT232R, althought it is not guaranteed by AN3155 that speed over 115200 bps will work.