| Commit message (Collapse) | Author | Age | 
| ...        |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | |  | 
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| |\| | | |  | 
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
This logs the low 16 bits of the pressure value to the remaining
on-chip eeprom. It can be read out with a standard AVR programming
dongle.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
This sets the programming clock to 1/4 of the 250kHz clock used by the
MicroPeak firmware, allowing the device to be reprogrammed.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
This gives the user time to move their finger out of the way of the LED.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| |\| | | |  | 
 | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
make the 0 longer (1 sec now), and make the time between digits longer
(also 1 sec now)
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| |\| | | | 
| |_|_|/  
|/| | |    | 
 | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | |  | 
Heights are 32 bits (to get .1 meter resolution) in micropeak; make
sure we have enough bits while blinking out the computed value.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | |  | 
We need 32 bits to hold intermediate values, even if the final
altitude is reported in only 16 bits.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | |  | 
Needs all 32 bits to store .1 meter resolution
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | |_|/  
|/| |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |    | 
Don't make AltosConfig have a pile of config code, stick that in
AltosConfigData instead. This uses a new interface, AltosConfigValues
to get from AltosConfigData to the UI.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
AO_READ_AGAIN doesn't fit in a char anymore now that stdio is 8-bit
clean, everyone using pollchar must use an 'int' variable to capture
the whole value from pollchar.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
Instead of a separate config language parser, share with altoslib
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
It was missing quite a few. This also speeds up parsing of config from
TeleScience, TeleBT and TeleTerra by not listing flight info on those
products (where it doesn't make sense).
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
This moves the parsing from AltosMs5607Query
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
Avoids ambiguity with stored flight info, which starts lines with 'flight'.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | |/  
|/|   
| |   
| |   
| |   
| |   
| |    | 
Each printf call costs quite a bit of code space on the cc1111, so
instead of making multiple short calls, make one longer one.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
To set the GPS speed, we delay for 1/2 sec, change speed, then delay
for another 1/2 sec.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Multiple printf calls are longer than one big one, so merge these
together to save some code space
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This is a tool to parse ao-mega eeprom files; not sure it'll be that
useful, and it's certainly not usable *yet*.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
This makes debugging output a bit cleaner
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This lets it communicate with the ROM code which boots at 4800 baud
instead of 9600 baud.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This uses a new feature of AltOS to directly connect the GPS chip to
the USB link to reprogram the former.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This simply switches the skytraq port to 115200 baud and then
essentially connects it directly to the USB port by forwarding bytes
in both directions.
Once started, the only way out is to reboot the board.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Necessary for direct access by the GPS reflashing code
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| |  | 
When set, this causes the task switching code to avoid blocking IRQs
while looking for an idle task as that can increase IRQ latencies
enough to drop characters at 115200 baud on the cc1111. Note that this
*also* eliminates the ability to use low power modes as we cannot know
at any point whether some interrupt has come along and woken a task.
Has no effect when using task queues as those require IRQs to be
blocked while looking at the queue. Shouldn't be a problem there
though as the check for no running tasks is very cheap.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
This eliminates the libc generic version in TeleTerra
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Necessary for flashing skytraq chips
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| |  | 
We were stealing one value (0xff) in the return value from pollchar to
indicate 'not ready yet'. Instead of doing that, use the integer value
-1 and have pollchar return an int instead of a char. That
necessitated cleaning a few other bits to make sure that 0xff wouldn't
get promoted to -1 on accident.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
These sequences are very similar, differing only in whether the dbg
clock line is toggled while holding reset low for a while.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Share code for osequence of ao_dbg_long_delay(); ao_dbg_send_bits()
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Two implementations of the same function, one in cc1111/ao_dbg.c and
the other in core/ao_send_packet.c.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
This is untested, but at least it builds now
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| |\|  | 
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
This makes reading the LED a lot easier.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Change the names around to match
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Mention light issue in quick start guide. Update run-time estimate to
40 hours (measured over 44 hours)
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This ensures that stale bits aren't left if PATH isn't set right when
'make clean' is called.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This discards any local state when the new telem packet has a
different serial number
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| |  | 
It's zero when there's no storage space on the device. Instead of
waiting for non-zero flight number, wait for the seen_flight bit to be
set in the telem tracking state
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Setting the seen_flight bit without a flight number leads to bogus
file names
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
This lets us connect to Tm even if someone messes up the RF
calibration or callsign info
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| |/   | 
 | 
| | 
| 
| 
| 
| 
|  | 
so whether the radio got turned on was random.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
In case we actually end up shipping an MS5611-based board at some
point, it will be nice to have the java code on hand
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Now that AltOS supports many processors, start updating the
documentation to match.
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
|  | 
Signed-off-by: Keith Packard <keithp@keithp.com>
 | 
| | 
| 
| 
| 
| 
|  | 
Looks a lot like teledongle from a feature perspective.
Signed-off-by: Keith Packard <keithp@keithp.com>
 |