summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Restructure skytraq NMEA parsing code to save some spaceAnthony Towns2011-01-16
| | | | | Splitting this into several smaller functions appears to make SDCC generate better code.
* altos: Flush log when fullKeith Packard2011-01-16
| | | | | | | When the log storage is full, make sure any pending writes are flushed out so that the last bit isn't lost. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: TELEMETRY PROTOCOL CHANGE. Switch to 16-bit serial numbers.Keith Packard2011-01-16
| | | | | | | | | | What a terrible mistake! The flight computer serial numbers were recorded in only 8 bits, so serial numbers > 255 would get truncated. There's really no fix other than bumping the field to 16 bits and reflashing every TM and TD on the planet. Very unfortunate. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: inkscape tracks the filename inside the documentKeith Packard2011-01-16
| | | | | | | telemetrum-outline.svg was renamed from telemetrum.svg and inkscape appears to care. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Require 4 sats to light up the 'GPS locked' light.Keith Packard2011-01-16
| | | | | | | This tracks the same GPS signal requirement needed for 'GPS ready' and ensures that we have a 3d fix. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ensure serial device is closed after eeprom download finishesKeith Packard2011-01-16
| | | | | | | | As this code is all event-driven, track which events will trigger further work and block closing the device in those specific cases, ensuring that all other code paths end up closing the device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug message when eeprom downloads are complete.Keith Packard2011-01-16
| | | | | | This message isn't useful now that this code appears to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use long input flush timeout when remote.Keith Packard2011-01-16
| | | | | | | 100ms isn't long enough to capture pending remote serial input, so use 300 ms in that mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make serial debug more complete and accurateKeith Packard2011-01-16
| | | | | | | | Display all serial input, including telemetry. Wait to display serial output until flush time, to debug missing flushing. Show when devices are opened and closed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Reset eeprom download instance variables before reading flightKeith Packard2011-01-16
| | | | | | | | To deal with downloading multiple flights in a single invocation, make sure all relevant instance variables are set back to start of flight download values each time a log is read. Signed-off-by: Keith Packard <keithp@keithp.com>
* Close serial port if Download/Delete dialog is cancelled.Mike Beattie2011-01-17
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Convert EepromSelect dialog to use a GridBagMike Beattie2011-01-17
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Re-order and re-arrange eeprom download dialogMike Beattie2011-01-16
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* doc: Add telemetrum mounting template in svg and pdf formsKeith Packard2011-01-14
| | | | | | telemetrum-outline.svg and telemetrum-outline.pdf Signed-off-by: Keith Packard <keithp@keithp.com>
* update changelogs for Debian builddebian/0.8.1+42+g646e192Bdale Garbee2011-01-14
|
* update changelogs for Debian builddebian/0.8.1+41+gd908c2eBdale Garbee2011-01-14
|
* altosui: Add preference for serial debugging.Keith Packard2011-01-14
| | | | | | This dumps serial input/output to stdout. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Ensure serial line is flushed after disabling remote linkKeith Packard2011-01-14
| | | | | | Flush the '~' character. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show dialog after successful delete or when no flightsKeith Packard2011-01-14
| | | | | | Make sure the user always sees confirmation for flight log management. Signed-off-by: Keith Packard <keithp@keithp.com>
* update changelogs for Debian builddebian/0.8.1+37+g97b1ca9Bdale Garbee2011-01-14
|
* update changelogs for Debian builddebian/0.8.1+36+gd794ef9Bdale Garbee2011-01-14
|
* altos: check for valid flight number in ao_log_deleteKeith Packard2011-01-12
| | | | | | | | Zero is not a valid flight number, and ao_log_flight uses that to indicate 'no flight in this slot'. Check the user-provided input for zero before looking through the slots. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add eeprom 'manage' ui to download and delete multiple flightsKeith Packard2011-01-12
| | | | | | | This shows the list of available flights and provides options to download and/or delete each one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add support for parsing list of flights from the 'l' commandKeith Packard2011-01-11
| | | | | | | This adds parsing support to enumerate the available flights, but does not yet provide any UI to use it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: oops -- 'e' command was only showing 7 of the 8 bytes per lineKeith Packard2011-01-11
| | | | | | Just a silly off-by-one error when printing out the data received from flash. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split eeprom download code apartKeith Packard2011-01-11
| | | | | | | | Create separate 'download config data', 'read single record' and 'read block' functions. This code will be shared with future multi-log reading code for new firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove redundant initialization of ao_interval variablesAnthony Towns2011-01-07
| | | | | | These are all initialized in the ao_flight_drogue state transition. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove unused accel_vel_mach and accel_vel_boost variablesAnthony Towns2011-01-07
| | | | | | Presumably left-over debugging code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add configuration of flight log sizeKeith Packard2011-01-07
| | | | | | | This adds to the TeleMetrum configuration UI the ability to set the maximum flight log size. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Check for full log and complainKeith Packard2011-01-07
| | | | | | | Reports special tone along with the continuity checks. Reports flight 0 in telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Check requested log max size against available spaceKeith Packard2011-01-07
| | | | | | | Make sure the amount of memory requested for a single log isn't more than is available on the device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Optimize Morse code generationAnthony Towns2011-01-07
| | | | | | | This reduces the size of data and code needed to report the flight states Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ensure erase mark is written when erasing flightsKeith Packard2011-01-07
| | | | | | | | It was getting called only when *failing* to erase a flight (oops), secondly, it wasn't getting written because ao_storage_flush wasn't getting called. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: report flight log offsets in hex block numbers instead of bytesKeith Packard2011-01-07
| | | | | | makes them compatible with the 'e' command. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: white space fixKeith Packard2011-01-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Speed up at45 and 25lc erase speedsKeith Packard2011-01-07
| | | | | | No need to read the block to be erased before erasing it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: support storage of multiple flights.Keith Packard2011-01-07
| | | | | | This adds the logging support for dealing with multiple flights Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add configuration parameter for maximum flight log sizeKeith Packard2011-01-07
| | | | | | | This parameter will permit available storage to be split into multiple separate flight logs. Signed-off-by: Keith Packard <keithp@keithp.com>
* update changelogs for Debian builddebian/0.8.1+18+g408a3e0Bdale Garbee2011-01-07
|
* altos: Mark end of available flight list with 'done' to make the UIKeith Packard2011-01-06
| | | | | | code easier to write Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rip out 'optimization' in ao_log_scanKeith Packard2011-01-06
| | | | | | | Remove premature optimization to avoid re-scanning the flight logs for the best empty entry. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move common storage code to ao_storage.c. Add M25P80 driverKeith Packard2011-01-06
| | | | | | | This reworks the storage API so that you erase blocks and then store data to them so that the M25P80 driver will work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Require manual flight erasing.Keith Packard2011-01-06
| | | | | | This supports flash chips that require larger erase blocks. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Simplify storage APIKeith Packard2011-01-06
| | | | | | | This removes the config-specific APIs and exposes global variables for the available storage space, block size and config storage location. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: packet and usb i/o routines use 'char', not 'uint8_t'Keith Packard2011-01-06
| | | | | | | Just fixing the type of a local variable holding a character passed from the packet link to usb. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telemetrum-v1.1 directoryKeith Packard2010-12-22
| | | | | | This just clones the v1.0 build; changes will be added on top of this. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Split out SPI driver.Keith Packard2010-12-22
| | | | | | | | For TM with the companion connector, the SPI bus will be shared among multiple devices. Split out the existing SPI code into a common driver, with the SPI bus protected by a mutex. Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Update NSIS installer file to use compatibility IDsKeith Packard2010-12-22
| | | | | This allows the file to contain a single InitDriverSetup function, making things shorter and (I hope) clearer.
* windows: Add compatibility IDs to telemetrum.infKeith Packard2010-12-22
| | | | | | | This will allow the .nsi file to reference just the compatibility ID instead of needing to have all of the USB IDs listed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: eliminate ao_wake_taskKeith Packard2010-12-22
| | | | | | | Waking up a task waiting on some random object is a bad idea. Fix the waiters to look for suitable signalling. Signed-off-by: Keith Packard <keithp@keithp.com>