summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Send SYN packet to set sequence numbersKeith Packard2009-10-30
|
* Use ao_radio_done to wait for TX to completely finish with packetKeith Packard2009-10-30
|
* Switch packet code from timer thread to ao_alarmKeith Packard2009-10-30
|
* Remove reason from ao_dma_abortKeith Packard2009-10-30
|
* Add ao_alarmKeith Packard2009-10-30
|
* Wait for TX to finish sending dataKeith Packard2009-10-30
|
* Add radio carrier commandKeith Packard2009-10-30
|
* Initial packet bits. Just testing transmissionKeith Packard2009-10-30
|
* Add ao_wake_task and ao_exitKeith Packard2009-10-16
| | | | | | | ao_wake_task signals a specific task to wake up. ao_exit terminates the current task. Signed-off-by: Keith Packard <keithp@keithp.com>
* Save some DSEG space by marking cmd functions __reentrantKeith Packard2009-10-16
| | | | | | | __reentrant causes the compiler to place args and locals on the stack instead of in the data segment. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into skytraqKeith Packard2009-10-10
|\
| * Add apogee igniter delay.Keith Packard2009-10-10
| | | | | | | | | | | | | | Provide for a delay after apogee before the drogue charge is fired. This allows TM to be used as a back-up altimeter. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\|
| * Report igniter continuity in pad/idle mode via beeperKeith Packard2009-10-10
| | | | | | | | | | | | | | | | | | | | | | | | one short beep = drogue two short beeps = main three short beeps = both one long warble = neither In idle mode, it does this just once. In pad mode, it keeps testing and reporting. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\|
| * Send 0-length IN packet to flush USB after full packetKeith Packard2009-10-10
| | | | | | | | | | | | | | | | | | USB bulk transfers are a sequence of maximum-sized packets followed by a short packet, which signals the end of the transfer. When the last packet of the transfer would be a full-sized packet, an additional packet of zero length is sent to signal the transfer end. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Build two versions of TM, one for SiRF, one for SkyTraqKeith Packard2009-10-09
| | | | | | | | | | | | | | This creates two separate images, depending on which GPS unit is connected. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Add support for the SkyTraq GPS unitKeith Packard2009-10-09
|/ | | | | | This is a build-time option selected by hacking the Makefile at present. Signed-off-by: Keith Packard <keithp@keithp.com>
* Set all of the values to reset the radio for telemetryKeith Packard2009-09-04
| | | | | | | | | | Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when resetting the radio back to telemetry data mode from rdf mode. With the length value removed from the rdf config, these two arrays are no longer the same length, and so the last config value was not set leaving the radio sending garbage. Signed-off-by: Keith Packard <keithp@keithp.com>
* Make RDF beacon only run on pad and after landing.Keith Packard2009-09-04
| | | | | | | | | | | | It's pretty much impossible to RDF the rocket during flight, and it interferes with the telemetry data stream. Leave it enabled on the pad so that radios can be tested, and then re-enable it once the rocket has landed. This patch also turns the rdf 'on' time into a parameter so it can be changed, and then sets that parameter to 500ms, once every 5 seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add back the RDF tone generatorKeith Packard2009-09-04
| | | | | | | | | Tracking the rocket on the ground may be easier using tones than using the digital data stream, so we'll try that and see what we think. This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9. Signed-off-by: Keith Packard <keithp@keithp.com>
* Remove bit-banging debug support from TM board buildsKeith Packard2009-09-02
| | | | | | | | | Our current TM boards don't have the wires to do bit-banging to another cc1111 board, so it doesn't make sense to fill up their flash with useless code (and the 'help' text with useless commands). Leave this to the TI board until we have boards that can serve as debug dongles. Signed-off-by: Keith Packard <keithp@keithp.com>
* Make the ao_log_record structures 8 bytes again.Keith Packard2009-09-02
| | | | | | | | | When the GPS signal strength data was added, the structure was accidentally extended to 9 bytes, making all log records 9 bytes long. While not a serious problem, this left log records spanning across eeprom block boundaries, which seems like a bad plan. Signed-off-by: Keith Packard <keithp@keithp.com>
* Make eeprom reads and writes across block boundary workKeith Packard2009-09-02
| | | | | | | | | Reading and writing across the block boundary was not stepping the eeprom position after the partial i/o operation at the end of the first block. This meant that the operation would re-use the end of the previous block, either re-reading or re-writing it. Signed-off-by: Keith Packard <keithp@keithp.com>
* Enable GPS degraded mode, set 10 sec degraded timeout.Keith Packard2009-08-22
| | | | | | | No reason not to let the GPS report solutions whenever it likes, let's see how this works. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos0.5Bdale Garbee2009-08-19
|\
| * Update ao-view to add GPS satellite tracking dataKeith Packard2009-08-18
| | | | | | | | | | | | | | This adds another column to the display to hold per-satellite GPS tracking data and a count of the visible and locked sats. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Handle GPS satellite tracking dataKeith Packard2009-08-18
| | | | | | | | | | | | | | | | SiRF message #4 includes signal strength and GPS engine state for each of the satellites being tracked. This data is now parsed and sent to eeprom and the radio. Signed-off-by: Keith Packard <keithp@keithp.com>
* | add support for building Debian packageBdale Garbee2009-08-18
|/
* Add B command to set serial baud rateKeith Packard2009-07-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Get rid of spaces after minus sign in climb valueKeith Packard2009-07-18
|
* Switch to 57600 baud for GPS dataKeith Packard2009-07-18
|
* Drain serial port before changing speedKeith Packard2009-07-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Reset GPS at boot timeKeith Packard2009-07-17
|
* Fix up serial debug outputKeith Packard2009-07-17
|
* Allow the GPS port to run at 4800 baud if desiredKeith Packard2009-07-17
|
* Initialize the GPS serial protocol stateKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Use uint8_t for comparisons to avoid int conversionsKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add AO_GPS_RUNNING state.Keith Packard2009-07-17
| | | | | | | | This tracks whether the GPS receiver has ever sent a valid report to the flight computer, allowing the user to tell whether the GPS receiver is working at all. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add M command to monitor serial bytesKeith Packard2009-07-17
|
* Use 57600 baud for GPS. Clean up gps init.Keith Packard2009-07-17
| | | | | | | | | Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence to get from 4800 NMEA to 5760 SiRF. Also, eliminate threads from the gps test program. Signed-off-by: Keith Packard <keithp@keithp.com>
* Try harder to get the GPS receiver serial link sync'd up.Keith Packard2009-07-17
| | | | | | | | We cannot assume that the GPS receiver is in any particular state when it boots, so we try to send the serial configuration at several rates and hope that it eventually sees something that it likes. Signed-off-by: Keith Packard <keithp@keithp.com>
* Split GPS data into a separate columnKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix up SiRF parsing and test code so that it actually worksKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add host-side gps protocol testing programKeith Packard2009-07-17
|
* Add GPS speed and error data to telemetry and aoviewKeith Packard2009-06-29
| | | | | | | Having switched to the SiRF binary GPS format, the velocity and error data can now be displayed. Signed-off-by: Keith Packard <keithp@keithp.com>
* Convert GPS to SiRF binary protocol.Keith Packard2009-06-29
| | | | | | | | | This switches the GPS unit from NMEA to SiRF protocol at startup and then parses the binary data. The binary data uses a different encoding of lat/lon than the NMEA strings, and so the telemetry and eeprom data formats change with this switch. Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4Keith Packard2009-06-17
| | | | | | | | | None of our boards have a 32kHz xtal oscillator, instead we use those pins (on Telemetrum) for the deployment firing circuits. The old clock initialization code was switching from the 32kHz RC oscillator to the 32kHz crystal and overriding our use of those pins. Signed-off-by: Keith Packard <keithp@keithp.com>
* Rename state apogee -> coastKeith Packard2009-06-14
|
* rename states. launchpad -> pad, coast -> fastKeith Packard2009-06-14
|