summaryrefslogtreecommitdiff
path: root/ao-tools/lib/cc-usb.c
Commit message (Collapse)AuthorAge
* ao-dump-up: Add --wait option to make testing µPusb easierKeith Packard2015-05-19
| | | | | | | | 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-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: Add cc_usb_write functionKeith Packard2014-05-25
| | | | | | | 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 failingKeith Packard2014-04-05
| | | | | | | | 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 flagKeith Packard2013-05-07
| | | | | | 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 outputKeith Packard2013-05-07
| | | | | | Dump non-ascii characters in hex format. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Make library support µPusbKeith Packard2013-03-20
| | | | | | Set baud rate to 9600, look for FTDI-style names Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-dumpflash programKeith Packard2013-03-03
| | | | | | | 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)Keith Packard2010-08-07
| | | | | | 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 modeKeith Packard2009-11-04
| | | | | | | 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.Keith Packard2009-11-03
| | | | | | | | 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 lineKeith Packard2009-09-05
| | | | | | | 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.Keith Packard2009-09-04
| | | | | | | 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>Keith Packard2009-08-18
Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>