summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosFlashUI.java
Commit message (Collapse)AuthorAge
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: switch channel selector to combo box. Shorten displayed device namesKeith Packard2010-11-19
| | | | | | | | | A combo box displays the current value, which is quite nice to have. Add a 'toShortString' for AltosDevice so that the window frames and error messages don't have extra spaces generated by the altos_device toString method. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use timeouts to recover from broken packet links.Keith Packard2010-11-19
| | | | | | | | | | | This puts timeouts every place the system reads from the packet link and aborts the in-progress operation if it takes more than a second to get a response. Also mixed in here are persistent igniter status displays for the ejection testing UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Open serial device at 'new' time. Prohibit duplicate opens.Keith Packard2010-11-13
| | | | | | | | | | | With the per-serial UI, there's never a reason to create a serial device without opening it right away. This eliminates the bug caused by not opening the serial device for telemetry reception. Serial devices can now be opened only once; this eliminates errors when trying to reflash or configure devices while receiving telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate unncessary import altosui linesKeith Packard2010-11-13
| | | | | | | Java appears to automatically import every module from the current package. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remember directory containing firmware filesKeith Packard2010-09-10
| | | | | | | Instead of forcing the user to navigate to the firmware directory each time, this remembers the previous directory and starts there. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: conflating USB product and vendor IDs is a bad ideaKeith Packard2010-09-09
| | | | | | | | | | | We've now got a USB vendor ID called 'altusmetrum' for generic altusmetrum devices (old USB ID 0x000A) while the general vendor name for all devices is 'altusmetrum' as well. This patch splits vendors and products into separate name spaces, products are prefixed with product_ and vendor with (oddly) vendor_. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: allow flashing to be canceled from the rom config dialogKeith Packard2010-09-03
| | | | | | | Was using the rom config class wrong, causing cancel actions to work just like 'ok' actions. Oops. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: always display romconfig ui while flashingKeith Packard2010-08-24
|
* altosui: Delay mapping Flash UI until flashing actually startsKeith Packard2010-08-24
| | | | | | | The flash operation may be abandoned before it even starts; this makes sure the UI doesn't flash up on the screen. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Finish device programming codeKeith Packard2010-08-23
| | | | | | Altosui can now reprogram Altusmetrum devices. 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>