Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (20 sloc) 0.82 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
STM32Loader
===========

Python script which will talk to the STM32 bootloader to upload and download firmware.

Original Version by: Ivan A-R <ivan@tuxotronic.org>


Usage: ./stm32loader.py [-hqVewvr] [-l length] [-p port] [-b baud] [-a addr] [file.bin]
    -h This help
    -q Quiet
    -V Verbose
    -e Erase
    -w Write
    -v Verify
    -r Read
    -l length Length of read
    -p port Serial port (default: /dev/tty.usbserial-ftCYPMYJ)
    -b baud Baud speed (default: 115200)
    -a addr Target address

    ./stm32loader.py -e -w -v example/main.bin


Example:
stm32loader.py -e -w -v somefile.bin

This will pre-erase flash, write somefile.bin to the flash on the device, and then perform a verification after writing is finished.
Something went wrong with that request. Please try again.