fw/altos
9 years agoupdate changelogs for Debian build debian/0.6+193+g314d27a
Bdale Garbee [Thu, 6 May 2010 18:48:00 +0000 (12:48 -0600)]
update changelogs for Debian build

9 years agoMerge remote branch 'remotes/origin/fix-reset'
Bdale Garbee [Thu, 6 May 2010 18:47:30 +0000 (12:47 -0600)]
Merge remote branch 'remotes/origin/fix-reset'

9 years agoDon't change dbg clock while changing reset_n. Use 20ms everywhere
Keith Packard [Wed, 5 May 2010 19:50:39 +0000 (12:50 -0700)]
Don't change dbg clock while changing reset_n. Use 20ms everywhere

This changes the reset code to be more conservative about changing
things at the same time, and also sets all timings to 20ms to make
debugging with the scope easier.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+190+g8b6767e
Bdale Garbee [Wed, 5 May 2010 08:34:41 +0000 (02:34 -0600)]
update changelogs for Debian build

9 years agoUse ao_delay to sleep for 2 seconds instead of trying ao_sleep
Keith Packard [Wed, 5 May 2010 08:32:46 +0000 (01:32 -0700)]
Use ao_delay to sleep for 2 seconds instead of trying ao_sleep

ao_sleep doesn't delay for a specified time interval as much as one
might want it to.

9 years agoFix all stdio reading functions to be __critical
Keith Packard [Wed, 5 May 2010 08:31:57 +0000 (01:31 -0700)]
Fix all stdio reading functions to be __critical

Oh, right SDCC has '__critical' to mark sections of code that need to
run with interrupts disabled; no need to use EA = 0 and EA = 1.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+187+g8702f49
Bdale Garbee [Wed, 5 May 2010 07:57:54 +0000 (01:57 -0600)]
update changelogs for Debian build

9 years agoinitial attempt at a telemetrum turn on script .. needs work
Bdale Garbee [Wed, 5 May 2010 07:57:11 +0000 (01:57 -0600)]
initial attempt at a telemetrum turn on script .. needs work

9 years agoupdate changelogs for Debian build debian/0.6+185+g45a1c2d
Bdale Garbee [Wed, 5 May 2010 07:56:51 +0000 (01:56 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+184+gf7ff327
Bdale Garbee [Wed, 5 May 2010 07:54:33 +0000 (01:54 -0600)]
update changelogs for Debian build

9 years agoDisable interrupts while reading from stdin
Keith Packard [Wed, 5 May 2010 07:44:42 +0000 (00:44 -0700)]
Disable interrupts while reading from stdin

With multiple input source support, there is a lag between asking a
device if it has data and then waiting for more data to appear. If an
interrupt signalling additional input arrives in this interval, we'll
go to sleep with input available.

This patch uses a big hammer by just disabling interrupts for the
whole process.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRevert "Add optional 's' command to packet slave to enable/disable slave mode"
Keith Packard [Wed, 5 May 2010 04:42:54 +0000 (21:42 -0700)]
Revert "Add optional 's' command to packet slave to enable/disable slave mode"

This reverts commit e7dc7fab787df63a4de72c8450e94092eb04d7db.

This patch didn't work, and magically appears to break flashing TM
from TD.

9 years agomore text created during SFO->DEN flight
Bdale Garbee [Thu, 29 Apr 2010 23:48:44 +0000 (17:48 -0600)]
more text created during SFO->DEN flight

9 years agoupdate changelogs for Debian build debian/0.6+180+g99094f0
Bdale Garbee [Tue, 27 Apr 2010 06:18:43 +0000 (00:18 -0600)]
update changelogs for Debian build

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Tue, 27 Apr 2010 06:17:37 +0000 (00:17 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agoadd some RF usage information from an email reply sent today, and re-indent
Bdale Garbee [Tue, 27 Apr 2010 06:17:15 +0000 (00:17 -0600)]
add some RF usage information from an email reply sent today, and re-indent

9 years agoAutodetect flite voice registration function
Keith Packard [Fri, 23 Apr 2010 20:53:25 +0000 (13:53 -0700)]
Autodetect flite voice registration function

Old versions of flite exported the function 'register_cmu_us_kal'
while new ones export 'register_cmu_us_kal16'. This patch just checks
which one is available and uses that.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMore ALtosUI changes
Keith Packard [Thu, 22 Apr 2010 23:25:35 +0000 (16:25 -0700)]
More ALtosUI changes

9 years agoAdd optional 's' command to packet slave to enable/disable slave mode
Keith Packard [Thu, 22 Apr 2010 21:53:44 +0000 (14:53 -0700)]
Add optional 's' command to packet slave to enable/disable slave mode

This option has been selected for teledongle so that you can use slave
mode and hook two teledongles together over the RF link.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Sun, 18 Apr 2010 14:36:07 +0000 (08:36 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agocapture work done on SFO->DEN flight
Bdale Garbee [Sun, 18 Apr 2010 14:35:43 +0000 (08:35 -0600)]
capture work done on SFO->DEN flight

9 years agoIncrease reset switch time to 100ms
Keith Packard [Sun, 11 Apr 2010 05:09:57 +0000 (22:09 -0700)]
Increase reset switch time to 100ms

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+171+g9394393
Bdale Garbee [Sat, 10 Apr 2010 21:01:14 +0000 (15:01 -0600)]
update changelogs for Debian build

9 years agoOnly have the slave return a packet if it received one.
Keith Packard [Sat, 10 Apr 2010 00:51:01 +0000 (17:51 -0700)]
Only have the slave return a packet if it received one.

When the receive is aborted to switch modes, it's important to not
immediately re-acquire the radio and try to send a packet as the
aborting thread won't know to kick the receiver again.

This prevents the 'C' command from locking up as it tries to stop the
packet slave before turning on the transmitter.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agowrong Yaesu model
Bdale Garbee [Fri, 9 Apr 2010 19:50:49 +0000 (13:50 -0600)]
wrong Yaesu model

9 years agoupdate changelogs for Debian build debian/0.6+168+gc0ee1ae
Bdale Garbee [Fri, 9 Apr 2010 06:10:03 +0000 (00:10 -0600)]
update changelogs for Debian build

9 years agofile changed by auto tools
Bdale Garbee [Fri, 9 Apr 2010 06:09:21 +0000 (00:09 -0600)]
file changed by auto tools

9 years agoupdate changelogs for Debian build debian/0.6+166+gea5d4f0
Bdale Garbee [Fri, 9 Apr 2010 06:08:32 +0000 (00:08 -0600)]
update changelogs for Debian build

9 years agolibflite may forget to reference libasound
Keith Packard [Fri, 9 Apr 2010 05:45:04 +0000 (22:45 -0700)]
libflite may forget to reference libasound

9 years agoupdate changelogs for Debian build debian/0.6+164+g5c3b6e2
Bdale Garbee [Fri, 9 Apr 2010 02:08:07 +0000 (20:08 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+163+g01e524f
Bdale Garbee [Fri, 9 Apr 2010 01:56:40 +0000 (19:56 -0600)]
update changelogs for Debian build

9 years agochoose a better set of docbook xsl files
Bdale Garbee [Fri, 9 Apr 2010 01:55:05 +0000 (19:55 -0600)]
choose a better set of docbook xsl files

9 years agoWhen changing RESET line, delay 20ms
Keith Packard [Fri, 9 Apr 2010 00:28:17 +0000 (17:28 -0700)]
When changing RESET line, delay 20ms

The GPS data sheet suggests a 1uF cap on the reset line to ensure it
is held low long enough for the power supply to come up to voltage. TM
v1.0 loads a 0.001uF cap there, but in case that isn't large enough,
it could be replaced with the larger one. This change makes sure that
even with that larger value, the debugging link will be able to reset
the target.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge remote branch 'origin/master'
Keith Packard [Thu, 8 Apr 2010 20:31:23 +0000 (13:31 -0700)]
Merge remote branch 'origin/master'

9 years agoUse 16-bit flite voice (which appears to have changed symbols recently)
Keith Packard [Thu, 8 Apr 2010 20:30:16 +0000 (13:30 -0700)]
Use 16-bit flite voice (which appears to have changed symbols recently)

9 years agoMerge remote branch 'origin/master' into altosui
Keith Packard [Thu, 8 Apr 2010 18:46:56 +0000 (11:46 -0700)]
Merge remote branch 'origin/master' into altosui

9 years agoupdate changelogs for Debian build debian/0.6+131+g6629ec5
Bdale Garbee [Thu, 8 Apr 2010 18:43:03 +0000 (12:43 -0600)]
update changelogs for Debian build

9 years agolose the url entirely for now
Bdale Garbee [Thu, 8 Apr 2010 18:42:47 +0000 (12:42 -0600)]
lose the url entirely for now

9 years agoupdate changelogs for Debian build debian/0.6+129+g934434f
Bdale Garbee [Thu, 8 Apr 2010 18:41:42 +0000 (12:41 -0600)]
update changelogs for Debian build

9 years agofix typo in url
Bdale Garbee [Thu, 8 Apr 2010 18:41:28 +0000 (12:41 -0600)]
fix typo in url

9 years agoupdate changelogs for Debian build debian/0.6+127+g05ad583
Bdale Garbee [Thu, 8 Apr 2010 18:36:18 +0000 (12:36 -0600)]
update changelogs for Debian build

9 years agoneed another build dep
Bdale Garbee [Thu, 8 Apr 2010 18:34:54 +0000 (12:34 -0600)]
need another build dep

9 years agoupdate changelogs for Debian build debian/0.6+125+g8f1d47e
Bdale Garbee [Thu, 8 Apr 2010 18:28:49 +0000 (12:28 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+124+gc66eeba
Bdale Garbee [Thu, 8 Apr 2010 18:28:20 +0000 (12:28 -0600)]
update changelogs for Debian build

9 years agoEnable telemetry monitoring
Keith Packard [Tue, 6 Apr 2010 07:58:00 +0000 (00:58 -0700)]
Enable telemetry monitoring

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTasks may move in task structure as a result of ao_exit
Keith Packard [Tue, 6 Apr 2010 07:56:57 +0000 (00:56 -0700)]
Tasks may move in task structure as a result of ao_exit

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTD reports "not-connected" when GPS has 0 sats
Keith Packard [Tue, 6 Apr 2010 07:55:19 +0000 (00:55 -0700)]
TD reports "not-connected" when GPS has 0 sats

9 years agoserial port read function cannot be interrupted. poll every 1 second
Keith Packard [Tue, 6 Apr 2010 07:54:52 +0000 (00:54 -0700)]
serial port read function cannot be interrupted. poll every 1 second

9 years agoInterrupt running replay thread when starting another replay
Keith Packard [Tue, 6 Apr 2010 05:42:05 +0000 (22:42 -0700)]
Interrupt running replay thread when starting another replay

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd Linux device discovery
Keith Packard [Tue, 6 Apr 2010 05:21:46 +0000 (22:21 -0700)]
Add Linux device discovery

AltosDeviceLinux.java scans /proc to locate suitable devices. This
will be hooked up to the UI shortly.

9 years agoSwitch TeleMetrum from v0.2 to v1.0
Keith Packard [Mon, 5 Apr 2010 03:55:30 +0000 (20:55 -0700)]
Switch TeleMetrum from v0.2 to v1.0

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoClean up some altosui comments
Keith Packard [Mon, 5 Apr 2010 03:55:18 +0000 (20:55 -0700)]
Clean up some altosui comments

9 years agoDon't abort the radio when enabling telemetry monitoring
Keith Packard [Mon, 5 Apr 2010 02:54:46 +0000 (19:54 -0700)]
Don't abort the radio when enabling telemetry monitoring

If telemetry monitoring is already on, then there isn't any point, and
if it's not on, then presumably there isn't any radio work to abort.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMake ao_radio_idle keep trying to get the radio to idle.
Keith Packard [Mon, 5 Apr 2010 02:48:50 +0000 (19:48 -0700)]
Make ao_radio_idle keep trying to get the radio to idle.

Attempting to abort a radio operation could lead to a hang if the user
of the radio jumped in and started using it again before the task
attempting to abort woke up. This change just keeps smacking the radio
until the radio goes idle long enough to detect it.

9 years agoUse RXTX for serial comm. Add logdir preference saving
Keith Packard [Sun, 4 Apr 2010 23:32:04 +0000 (16:32 -0700)]
Use RXTX for serial comm. Add logdir preference saving

9 years agorewrite urls in docbook format
Bdale Garbee [Sat, 3 Apr 2010 14:02:44 +0000 (08:02 -0600)]
rewrite urls in docbook format

9 years agoMake .jar file
Keith Packard [Sat, 3 Apr 2010 07:02:44 +0000 (00:02 -0700)]
Make .jar file

9 years agoRemove unused cell renderer class
Keith Packard [Sat, 3 Apr 2010 06:25:02 +0000 (23:25 -0700)]
Remove unused cell renderer class

9 years agoRemove GPS data missing from skytraq. Save max height/accel/speed
Keith Packard [Sat, 3 Apr 2010 06:20:38 +0000 (23:20 -0700)]
Remove GPS data missing from skytraq. Save max height/accel/speed

9 years agoReport current gps nsat, not last locked nsat
Keith Packard [Sat, 3 Apr 2010 06:05:40 +0000 (23:05 -0700)]
Report current gps nsat, not last locked nsat

9 years agoClean up GPS data formatting
Keith Packard [Sat, 3 Apr 2010 06:00:30 +0000 (23:00 -0700)]
Clean up GPS data formatting

9 years agoFix state updates
Keith Packard [Sat, 3 Apr 2010 05:47:40 +0000 (22:47 -0700)]
Fix state updates

9 years agoFix status update
Keith Packard [Sat, 3 Apr 2010 04:48:41 +0000 (21:48 -0700)]
Fix status update

9 years agoFix up table formatting
Keith Packard [Sat, 3 Apr 2010 04:44:00 +0000 (21:44 -0700)]
Fix up table formatting

9 years agoDisplay table of flight info. gps is not working yet though
Keith Packard [Sat, 3 Apr 2010 01:10:59 +0000 (18:10 -0700)]
Display table of flight info. gps is not working yet though

9 years agoSteal C code from ao-view
Keith Packard [Fri, 2 Apr 2010 23:07:40 +0000 (16:07 -0700)]
Steal C code from ao-view

9 years agoAdd telem parsing code
Keith Packard [Fri, 2 Apr 2010 20:37:52 +0000 (13:37 -0700)]
Add telem parsing code

9 years agocrudely incorporate "day in the life" info from web page
Bdale Garbee [Fri, 2 Apr 2010 05:56:47 +0000 (23:56 -0600)]
crudely incorporate "day in the life" info from web page

9 years agotweak copyright assertion
Bdale Garbee [Fri, 2 Apr 2010 05:39:42 +0000 (23:39 -0600)]
tweak copyright assertion

9 years agoFix windows install file
Keith Packard [Fri, 2 Apr 2010 01:31:14 +0000 (18:31 -0700)]
Fix windows install file

9 years agoAdd Windows install .inf file
Keith Packard [Fri, 2 Apr 2010 01:30:56 +0000 (18:30 -0700)]
Add Windows install .inf file

9 years agoAdd telemetry data parsing code
Keith Packard [Thu, 1 Apr 2010 06:05:03 +0000 (23:05 -0700)]
Add telemetry data parsing code

9 years agoStart adding java-based UI
Keith Packard [Wed, 31 Mar 2010 20:49:54 +0000 (13:49 -0700)]
Start adding java-based UI

9 years agomake lintian happy
Bdale Garbee [Wed, 31 Mar 2010 05:26:35 +0000 (23:26 -0600)]
make lintian happy

9 years agoupdate changelogs for Debian build debian/0.6+119+g00f49c8
Bdale Garbee [Wed, 31 Mar 2010 05:19:48 +0000 (23:19 -0600)]
update changelogs for Debian build

9 years agofix typo
Bdale Garbee [Wed, 31 Mar 2010 05:19:07 +0000 (23:19 -0600)]
fix typo

9 years agoupdate changelogs for Debian build debian/0.6+117+gb41e617
Bdale Garbee [Wed, 31 Mar 2010 05:18:37 +0000 (23:18 -0600)]
update changelogs for Debian build

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Wed, 31 Mar 2010 05:15:32 +0000 (23:15 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

Conflicts:
ChangeLog

9 years agoupdate changelogs for Debian build debian/0.6+111+g20d4d41
Bdale Garbee [Wed, 31 Mar 2010 05:14:47 +0000 (23:14 -0600)]
update changelogs for Debian build

9 years agoinitial harness for documentation
Bdale Garbee [Wed, 31 Mar 2010 05:11:40 +0000 (23:11 -0600)]
initial harness for documentation

9 years agomove gbp.conf into debian/
Bdale Garbee [Mon, 15 Mar 2010 18:04:18 +0000 (12:04 -0600)]
move gbp.conf into debian/

9 years agoMerge remote branch 'origin/master'
Keith Packard [Fri, 12 Mar 2010 18:38:26 +0000 (10:38 -0800)]
Merge remote branch 'origin/master'

9 years agoDocument the ao-dumplog '--remote' flag for radio-link downloads
Keith Packard [Fri, 12 Mar 2010 18:37:32 +0000 (10:37 -0800)]
Document the ao-dumplog '--remote' flag for radio-link downloads

The --remote (or -R) flag uses TeleDongle to fetch data over the radio
command link from TeleMetrum. It's been there for a while, but the man
page failed to mention it.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRound radio calibration value instead of truncating
Keith Packard [Fri, 12 Mar 2010 18:35:12 +0000 (10:35 -0800)]
Round radio calibration value instead of truncating

The radio calibration function in the bring-up code was truncating the
radio calibration value which caused the resulting frequency to
always measure above the target frequency, instead of trying to get as
close as possible. This change will result in a closer frequency
match, but may sometimes be below the target frequency.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+109+geda5e11
Bdale Garbee [Sat, 6 Mar 2010 03:11:11 +0000 (19:11 -0800)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+108+g6e61170
Bdale Garbee [Fri, 5 Mar 2010 00:33:39 +0000 (17:33 -0700)]
update changelogs for Debian build

9 years agoNeed to duplicate new altitude conversion code in aoview.
Keith Packard [Mon, 1 Mar 2010 02:24:46 +0000 (18:24 -0800)]
Need to duplicate new altitude conversion code in aoview.

Altitude conversion is now done with a smaller table and interpolation
instead of a giant table.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+106+ga1478f6
Bdale Garbee [Sun, 28 Feb 2010 00:36:13 +0000 (17:36 -0700)]
update changelogs for Debian build

9 years agoMerge remote branch 'origin/master'
Keith Packard [Sat, 27 Feb 2010 23:19:33 +0000 (15:19 -0800)]
Merge remote branch 'origin/master'

9 years agoAdd .gitignore for ao-bringup
Keith Packard [Sat, 27 Feb 2010 23:18:47 +0000 (15:18 -0800)]
Add .gitignore for ao-bringup

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoFix up LED colors for each product.
Keith Packard [Sat, 27 Feb 2010 23:14:04 +0000 (15:14 -0800)]
Fix up LED colors for each product.

Different products assign different color LEDs to the two available
LED drivers (P1_0, P1_1). Make the LED color pin assignments
per-product (in ao_pins.h), then deal with not always having a green LED.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoEliminate deadlock when writing config from radio link
Keith Packard [Sat, 27 Feb 2010 23:11:44 +0000 (15:11 -0800)]
Eliminate deadlock when writing config from radio link

Writing the 'Saved\r\n' string would fill the packet buffer and cause
a flush to occur, which would need to wait for the radio link to
receive and transmit a packet. The radio link always re-fetches the
radio channel number when lighting up the radio, so it need to look in
the config space. If the config mutex was held by the config writing
process while the radio was trying to get the channel number, then
we'd get a deadlock.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoLeave .ihx files in the build directory too - easier to debug that way
Keith Packard [Sat, 27 Feb 2010 23:10:16 +0000 (15:10 -0800)]
Leave .ihx files in the build directory too - easier to debug that way

sdcdb wants the .ihx and .cdb files in the same directory, so humor it
by copying the .ihx files to the src directory instead of moving them.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agocreate a turn on script for lighting up TeleDongle v0.2 boards
Bdale Garbee [Fri, 26 Feb 2010 22:21:12 +0000 (15:21 -0700)]
create a turn on script for lighting up TeleDongle v0.2 boards

9 years agoAdd LED test
Keith Packard [Fri, 26 Feb 2010 18:33:13 +0000 (10:33 -0800)]
Add LED test

9 years agoFix and document the ao-rawload --run flag
Keith Packard [Fri, 26 Feb 2010 00:40:13 +0000 (16:40 -0800)]
Fix and document the ao-rawload --run flag

This allows ram-based programs to be loaded and executed easily.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAllow product names to have suffixes (like board revisions)
Keith Packard [Fri, 26 Feb 2010 00:33:34 +0000 (16:33 -0800)]
Allow product names to have suffixes (like board revisions)

When looking for a board by product name, just look at the prefix of
the name instead of requiring an exact match. This will allow products
to have board version suffixes.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd ao_radio_xmit to help test boards without flashing them.
Keith Packard [Fri, 26 Feb 2010 00:32:57 +0000 (16:32 -0800)]
Add ao_radio_xmit to help test boards without flashing them.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+95+g2f45953
Bdale Garbee [Thu, 25 Feb 2010 00:30:23 +0000 (17:30 -0700)]
update changelogs for Debian build

9 years agoun-muck changelog
Bdale Garbee [Thu, 25 Feb 2010 00:29:47 +0000 (17:29 -0700)]
un-muck changelog