aboutsummaryrefslogtreecommitdiff
path: root/support/stm32loader.py
AgeCommit message (Collapse)Author
2012-08-10stm32loader.py: replace obsolete exception catch syntax.Marti Bolivar
For Python 3 support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Cosmetics.Marti Bolivar
Move the actual QUIET setting to above mdebug(); that was confusing. Rename _wait_for_ask to _wait_for_ack. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Updates for F2 and F4.Marti Bolivar
Support the extended erase memory command, which replaced the erase memory command in the bootloader protocol as of version 3.0. This takes a long time, so tweak _wait_for_ask to take an extra timeout for special cases like this. Use this under if __name__ == '__main__' to support F2 and F4. Additionally, produce a human-readable report of the target chip from its chip ID. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Improve error message on failed init.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Use new-style classes.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Don't use Psyco.Marti Bolivar
This script is I/O bound. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Use print function.Marti Bolivar
Towards py3k compatibility. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-24stm32loader.py: Remove unused code.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2011-04-08stm32loader.py prints more information about what it's doing.Marti Bolivar
2011-02-16Merge branch 'nzmichaelh-master' into master.Marti Bolivar
This provides DMA, IWDG, PWR, and BKP support, and fixes several bugs. Conflicts: libmaple/adc.h libmaple/libmaple.h libmaple/ring_buffer.h
2010-09-29Added support for programming ELF files without converting first.Michael Hope
2010-09-29Do basic validation on the boot version and chip IDs.Michael Hope
2010-09-29Make the initial chip detection much more robust.Michael Hope
2010-09-29Changed the exception handling so that Ctrl-C passes through and isn't ↵Michael Hope
treated as a timeout.
2010-09-29Added auto detection of the USB to serial port under Linux and MacOS.Michael Hope
2010-08-31added stm32loader.py upload scriptbnewbold