From f8c5f2c9df1312d039c009f7d62a28cb52e9d2bc Mon Sep 17 00:00:00 2001 From: James Snyder Date: Mon, 6 Apr 2009 11:18:02 -0500 Subject: [PATCH] some notes. --- stm32loader/README | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/stm32loader/README b/stm32loader/README index e69de29..ac096dc 100644 --- a/stm32loader/README +++ b/stm32loader/README @@ -0,0 +1,29 @@ +STM32Loader +=========== + +Python script which will talk to the STM32 bootloader to upload and download firmware. + +Original Version by: Ivan A-R + + +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. +