Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stm32loader.py: Cosmetics. | Marti Bolivar | 2012-07-24 | 1 | -23/+22 |
| | | | | | | | 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> | ||||
* | stm32loader.py: Updates for F2 and F4. | Marti Bolivar | 2012-07-24 | 1 | -7/+51 |
| | | | | | | | | | | | | | 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> | ||||
* | stm32loader.py: Improve error message on failed init. | Marti Bolivar | 2012-07-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | stm32loader.py: Use new-style classes. | Marti Bolivar | 2012-07-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | stm32loader.py: Don't use Psyco. | Marti Bolivar | 2012-07-24 | 1 | -8/+0 |
| | | | | | | This script is I/O bound. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | stm32loader.py: Use print function. | Marti Bolivar | 2012-07-24 | 1 | -10/+12 |
| | | | | | | Towards py3k compatibility. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | stm32loader.py: Remove unused code. | Marti Bolivar | 2012-07-24 | 1 | -10/+0 |
| | | | | Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | stm32loader.py prints more information about what it's doing. | Marti Bolivar | 2011-04-08 | 1 | -6/+5 |
| | |||||
* | Merge branch 'nzmichaelh-master' into master. | Marti Bolivar | 2011-02-16 | 1 | -31/+102 |
|\ | | | | | | | | | | | | | | | | | This provides DMA, IWDG, PWR, and BKP support, and fixes several bugs. Conflicts: libmaple/adc.h libmaple/libmaple.h libmaple/ring_buffer.h | ||||
| * | Added support for programming ELF files without converting first. | Michael Hope | 2010-09-29 | 1 | -3/+34 |
| | | |||||
| * | Do basic validation on the boot version and chip IDs. | Michael Hope | 2010-09-29 | 1 | -1/+11 |
| | | |||||
| * | Make the initial chip detection much more robust. | Michael Hope | 2010-09-29 | 1 | -7/+21 |
| | | |||||
| * | Changed the exception handling so that Ctrl-C passes through and isn't ↵ | Michael Hope | 2010-09-29 | 1 | -15/+16 |
| | | | | | | | | treated as a timeout. | ||||
| * | Added auto detection of the USB to serial port under Linux and MacOS. | Michael Hope | 2010-09-29 | 1 | -2/+17 |
|/ | |||||
* | added stm32loader.py upload script | bnewbold | 2010-08-31 | 1 | -0/+435 |