summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | 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: write USB serial number string while flashingKeith Packard2010-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB serial number is encoded in UCS2 as a part of the string descriptors. Place those right after the other rom config bits so that altosui can find it. altosui is changed to write the serial number there. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: always display romconfig ui while flashingKeith Packard2010-08-24
| | | |
* | | | altosui: fetch existing romconfig for 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: disable radio monitoring while using serial line for debuggingKeith Packard2010-08-24
| | | |
* | | | altosui: Add ability to create CSV file from telem or eeprom filesKeith Packard2010-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates a comma separated value file to export data for external programs. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: refactor logfile chooser dialog to share more codeKeith Packard2010-08-23
| | | | | | | | | | | | | | | | | | | | | | | | Move file opening logic into logfile chooser as it can be shared that way. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | altosui: Separate out log file choosing dialog to share with CSV generatorKeith Packard2010-08-23
| |_|/ |/| | | | | | | | | | | | | | | | | This dialog will be shared with the CSV file generating code, so split it out instead of duplicating it. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altosui: make default Manifest look for built-in freettsKeith Packard2010-08-23
| | |
* | | altos: Place rom config variables in fixed locationKeith Packard2010-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The device serial number and radio calibration values are stored in flash, mostly so that TeleDongle gets them saved. Placing them in well-known locations (starting at 0xa0) makes it possible to find the previous configuration and to re-write it easily, without requiring the .map file. altosui doesn't have the .map file parsing code, so it relies upon this new technique. As a benefit, it reads the old values from the device before reprogramming it. 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: Remove debug printf from AltosRomconfigKeith Packard2010-08-23
| | |
* | | altosui: flush serial output before waiting for replyKeith Packard2010-08-23
| | |
* | | altosui: remove debug printf from AltosHexfileKeith Packard2010-08-23
| | |
* | | 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>
* | | libaltos: use pipe to wake up getchar on close. use mutexesKeith Packard2010-08-23
| | |
* | | altosui: pad TM config dialog values to avoid clipping descendersKeith Packard2010-08-23
| | |
* | | ao-dumplog: Fix --remote and --channel options to actually workKeith Packard2010-08-23
| | |
* | | 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>
* | | altosui: Add .ihx file reading code and stub out flashing UIKeith Packard2010-08-23
| |/ |/| | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Set callsign when fetching eeprom data over the airKeith Packard2010-08-22
| | | | | | | | | | | | | | | | The updated firmware places the callsign in each packet to comply with regulations, this ensures that TeleDongle has the current callsign configured. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add TeleMetrum configurationKeith Packard2010-08-22
| | | | | | | | | | | | | | | | This presents a dialog with all of the user-settable options in the TeleMetrum set for editing. Combo boxes are used for everything except the callsign. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Make teledongle callsign configurableKeith Packard2010-08-21
| | | | | | | | | | | | | | Teledongle uses the callsign in packet mode; this provides a way to set that. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Define USB product ID in per-product Makefile.defs fileKeith Packard2010-08-21
| | | | | | | | | | | | | | This allows Win7 to tell which kind of device is connected purely by USB id as it doesn't expose the USB product ID string to user space. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Select devices by USB vendor/product ID.Keith Packard2010-08-17
| | | | | | | | | | | | | | | | Because Win7 doesn't expose the product name, we're swtiching to using the USB idProduct/idVendor values. This patch adds support for selecting devices by those new IDs. Signed-off-by: Keith Packard <keithp@keithp.com>
* | libaltos: integrate Windows support.Keith Packard2010-08-17
| | | | | | | | | | | | | | | | | | | | | | This adds Windows support for discovery and I/O. The API to the library is mostly unchanged, except that it now exports product and vendor USB IDs as Win7 doesn't expose the product name anywhere that we've been able to find, so we'll be updating the firmware to use unique idProduct values for each product. 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>
* | altosui: Start adding code to write csv files from eeprom/telem filesKeith Packard2010-08-07
| | | | | | | | | | | | | | | | This is a start to code which can write out a csv file full of flight data from either an eeprom or telem input file. It's not hooked up, but the restructuring necessary is finished and the output is started. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: add callsign to packet mode, increase payload to 64 bytesKeith Packard2010-08-07
| | | | | | | | | | | | | | Untested, but it 'should' work. Need to add callsign setting to packet mode users. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add comments to Eeprom readerKeith Packard2010-08-06
| |
* | altosui: Compute flight state from eeprom dataKeith Packard2010-08-05
| | | | | | | | | | | | This lets eeprom files be used to replay flights. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Split flight record out of telemetry classKeith Packard2010-08-05
| | | | | | | | | | | | | | This will permit either telemetry or eeprom data to be used to construct the sequence of flight events for reply or data generation. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Explicitly initialize Altos classKeith Packard2010-08-05
| | | | | | | | | | | | | | | | Because the Altos class is never instantiated, the static initializers are never called, leaving the string to state mapping empty. Hand-code the call to the initialer instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Split status and info panels into separate filesKeith Packard2010-08-01
| | | | | | | | | | | | This moves some code out of AltosUI.java into separate files Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Clear displayed data rows as needed.Keith Packard2010-07-31
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Merge gps date and time classes into gps classKeith Packard2010-07-31
| | | | | | | | | | | | No reason to split out the date and time information from the other gps info. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Capture config and version info in .eeprom filesKeith Packard2010-07-31
| | | | | | | | | | | | | | | | | | | | Instead of only writing the serial number to the .eeprom file, write all of the config values and all of the version reply to the .eeprom file. The config values, in particular, contain the accelerometer calibration data which is needed to correctly compute acceleration from the captured accelerometer data. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: rename AltosEeprom -> AltosEepromDownload, split out Altos constantsKeith Packard2010-07-31
|/ | | | | | | Renames the eeprom downloading code and adds a new file to share the flight data constants across the various UI modules. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote branch 'origin/master'Keith Packard2010-07-29
|\
| * update changelogs for Debian builddebian/0.6+277+gd184819Bdale Garbee2010-07-29
| |
| * add a jdk to the build depsBdale Garbee2010-07-29
| |
| * update changelogs for Debian builddebian/0.6+275+g89109f9Bdale Garbee2010-07-29
| |
| * ugh, fixing failure due to aborted builddebian/0.6+274+g865d5cdBdale Garbee2010-07-29
| |
| * add swig as a build depBdale Garbee2010-07-29
| |
| * update changelogs for Debian builddebian/0.6+272+g62b4cc5Bdale Garbee2010-07-29
| |
| * update changelogs for Debian builddebian/0.6+271+g27a2d0cBdale Garbee2010-07-29
| |
| * update changelogs for Debian builddebian/0.6+270+g537492dBdale Garbee2010-07-29
| |
| * update changelogs for Debian builddebian/0.6+269+gadf6cbcBdale Garbee2010-07-29
| |
| * update changelogs for Debian builddebian/0.6+268+gd0fd53bBdale Garbee2010-07-29
| |