summaryrefslogtreecommitdiff
path: root/ao-tools/ao-usbload/ao-usbload.c
Commit message (Collapse)AuthorAge
* ao-usbload: Flip product names in loader error messageKeith Packard2018-03-16
| | | | | | | I was reversing the 'target' vs 'image' names in the error message, leading to a bit of confusion. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-usbload: Fix -f flag, remove debug hacksKeith Packard2016-09-02
| | | | | | | | The code to validate the usb id and product name had some debug hacks left enabled, which caused it to fail. The short -f version of the force flag was also not getting parsed correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-usbload: Check target device name to avoid mis-flashingKeith Packard2016-08-14
| | | | | | | | | Instead of blindly loading firmware, go get the old device's name and make sure it matches the new firmware. Add --force option to allow this to be overridden. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add --wait option to ao-usbloadKeith Packard2015-01-25
| | | | | | | This waits forever for USB writes to complete, instead of timing out after five seconds. Useful when debugging the device. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-usbload: Check image flash usage against device flash availabilityKeith Packard2014-05-12
| | | | | | | For devices which report the range of valid flash addresses from their boot loader, check the loaded image to make sure it fits within that range. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Clean up ao-stmload and ao-usbload options. Add --rawKeith Packard2013-12-08
| | | | | | | | ao-stmload only uses stlink, ao-usbload only uses self-flashing, so clear up the options in the two programs. The new --raw option skips the serial and radio cal rewriting when flashing the boot loader. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-flash-stm and ao-flash-lpc scriptsKeith Packard2013-12-07
| | | | | | These use openocd to download boot loaders to the arm-based products Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Split out USB loader to ao-usbloadKeith Packard2013-11-28
Leave ao-stmload using just stlinkv2 Signed-off-by: Keith Packard <keithp@keithp.com>