ao-tools: don't do 'm 0' after 'E 0' since EasyMotor doesn't support it
ao-dump-up: Add --wait option to make testing µPusb easier The --wait option hangs around until a suitable device appears, so that you can test a pile of µPusb devices without needing to constantly interact with the command line. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools: Add --wait option to ao-usbload 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: Add cc_usb_write function This writes raw bytes to the USB port; useful for sending binary data for flashing or the upcoming flight test stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools: Wait for device to become ready instead of failing For some reason, USB devices take 'a while' to become usable; instead of bailing immediately, sit around waiting to see if the device becomes usable if we get an EBUSY or EACCES error. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/ao-stmload: Add --verbose flag This dumps out the serial communication so you can see where things go wrong. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/lib: Deal with binary USB data in debugging output Dump non-ascii characters in hex format. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools: Make library support µPusb Set baud rate to 9600, look for FTDI-style names Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools: Add ao-dumpflash program This program dumps the entire flash contents of an AltOS device to allow for external analysis. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-dumplog: add --channel option (for use with -R option) Sets the channel when downloading data with the -R option. Signed-off-by: Keith Packard <keithp@keithp.com>
Flush pending input when switching to remote packet mode Any pending input would just confuse the application, so pull it off the link and dump it. Signed-off-by: Keith Packard <keithp@keithp.com>
Add ability to dump eeprom data over radio link. This adds a '-R' option to ao-dumplog to redirect the connection through a USB attached TeleDongle over the radio link to a remote TeleMetrum device. Signed-off-by: Keith Packard <keithp@keithp.com>
Add ao-dumplog to capture flight log from command line This duplicates the functionality of the flight log stuf in ao-view, except from the command line where it belongs. Signed-off-by: Keith Packard <keithp@keithp.com>
'fix' ao-eeprom to read two blocks at once. Work around kernel bugs. The kernel appears to leave serial data undelivered at times. Reading two blocks at once appears to make it relinquish the queued data. Signed-off-by: Keith Packard <keithp@keithp.com>
Rename tools to ao-<foo> Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>