summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosDebug.java
Commit message (Collapse)AuthorAge
* altosui: provide separate flush_input/flush_output for serial. deal with ↵Keith Packard2010-08-29
| | | | | | | | | | | | | | | | | monitor automatically (yes, this should be two patches, but the diffs in AltosSerial were merged together). First, this replaces the existing flush/flush_reply mess with two simple functions, one to flush output to the serial device, making sure that all data written will be seen while we wait for input. The other sucks any pending input off of the serial line and discards it. Second, AltosSerial now tracks whether the serial line is being used for telemetry monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a bunch of manual state tracking elsewhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move number parsing code to Altos general classKeith Packard2010-08-26
| | | | | | This moves these shared functions to the global shared class. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: flush replies from serial link when entering debug modeKeith Packard2010-08-24
| | | | | | | | | | | We use replies in debug mode a lot and depend on them matching the expected parameters. The case which caused trouble was using TeleMetrum to reprogram TeleDongle -- sending the 'm 0' command (to disable telemetry monitoring on TeleDongle) to the TeleMetrum caused it to reply 'Syntax Error' which confused the subsequent flashing operation. Flushing that reply gets things back in sync. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: disable radio monitoring while using serial line for debuggingKeith Packard2010-08-24
|
* altosui: Add lots more cc1111 debug interface functionsKeith Packard2010-08-23
| | | | | | These are sufficient to program the flash. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add debug dongle API, split flash UI outKeith Packard2010-08-23
Create an API to talk through the debug port on another AltOS device. Split the flash UI out from the flash implementation so that a command line flash utility can be written. Signed-off-by: Keith Packard <keithp@keithp.com>