8a1bc2fa96a747c94659f7a4c6c10e1e89b6898d
[fw/altos] / ChangeLog
1 commit c66eebad323e4572bb7cc23bc476ee144f03e9b8
2 Author: Bdale Garbee <bdale@gag.com>
3 Date:   Sat Apr 3 08:02:44 2010 -0600
4
5     rewrite urls in docbook format
6
7 commit 8c600abf87c95f8f214b5e56ff6eab955795dff5
8 Author: Bdale Garbee <bdale@gag.com>
9 Date:   Thu Apr 1 23:56:47 2010 -0600
10
11     crudely incorporate "day in the life" info from web page
12
13 commit 53ca3f98aeb70cb780031fee788de950e4388cf6
14 Author: Bdale Garbee <bdale@gag.com>
15 Date:   Thu Apr 1 23:39:42 2010 -0600
16
17     tweak copyright assertion
18
19 commit 76768804e68ed09421d7a48cb0b390f102ce2d76
20 Author: Bdale Garbee <bdale@gag.com>
21 Date:   Tue Mar 30 23:26:35 2010 -0600
22
23     make lintian happy
24
25 commit eb3cc3e9b60ec23acbb7d797affa743d671801ab
26 Author: Bdale Garbee <bdale@gag.com>
27 Date:   Tue Mar 30 23:19:48 2010 -0600
28
29     update changelogs for Debian build
30
31 commit 00f49c8fb0aa38331360bdb85c32bcebe60dcdc3
32 Author: Bdale Garbee <bdale@gag.com>
33 Date:   Tue Mar 30 23:19:07 2010 -0600
34
35     fix typo
36
37 commit f03ed0876c67b58624abf0c14bf73444b0322d3c
38 Author: Bdale Garbee <bdale@gag.com>
39 Date:   Tue Mar 30 23:18:37 2010 -0600
40
41     update changelogs for Debian build
42
43 commit b41e617080fe825f7810ee5eee52ea37f7618ec6
44 Merge: 28e40cc df7bda1
45 Author: Bdale Garbee <bdale@gag.com>
46 Date:   Tue Mar 30 23:15:32 2010 -0600
47
48     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
49     
50     Conflicts:
51         ChangeLog
52
53 commit 28e40ccfcd80ab8764d4aa235257cea4d193a0c1
54 Author: Bdale Garbee <bdale@gag.com>
55 Date:   Tue Mar 30 23:14:47 2010 -0600
56
57     update changelogs for Debian build
58
59 commit 20d4d410e0fc04fe192e309811eed6c0194fa5a8
60 Author: Bdale Garbee <bdale@gag.com>
61 Date:   Tue Mar 30 23:11:40 2010 -0600
62
63     initial harness for documentation
64
65 commit 9801ff7de21027935f52ccabaa3ff157e22d21ce
66 Author: Bdale Garbee <bdale@gag.com>
67 Date:   Mon Mar 15 12:04:18 2010 -0600
68
69     move gbp.conf into debian/
70
71 commit df7bda1f32b0049c3878c325ea0b55999f3980e3
72 Merge: 23da4f3 a7042fe
73 Author: Keith Packard <keithp@keithp.com>
74 Date:   Fri Mar 12 10:38:26 2010 -0800
75
76     Merge remote branch 'origin/master'
77
78 commit 23da4f3bcdd1d780c9e1f6b68ad2fb309fcae6ba
79 Author: Keith Packard <keithp@keithp.com>
80 Date:   Fri Mar 12 10:37:32 2010 -0800
81
82     Document the ao-dumplog '--remote' flag for radio-link downloads
83     
84     The --remote (or -R) flag uses TeleDongle to fetch data over the radio
85     command link from TeleMetrum. It's been there for a while, but the man
86     page failed to mention it.
87     
88     Signed-off-by: Keith Packard <keithp@keithp.com>
89
90 commit 93df98898f8cd199ae13158bc4f65e3494c954ad
91 Author: Keith Packard <keithp@keithp.com>
92 Date:   Fri Mar 12 10:35:12 2010 -0800
93
94     Round radio calibration value instead of truncating
95     
96     The radio calibration function in the bring-up code was truncating the
97     radio calibration value which caused the resulting frequency to
98     always measure above the target frequency, instead of trying to get as
99     close as possible. This change will result in a closer frequency
100     match, but may sometimes be below the target frequency.
101     
102     Signed-off-by: Keith Packard <keithp@keithp.com>
103
104 commit a7042fe7d065d1da1252be5ad43e3c9856214dc8
105 Author: Bdale Garbee <bdale@Deborah.(none)>
106 Date:   Fri Mar 5 19:11:11 2010 -0800
107
108     update changelogs for Debian build
109
110 commit eda5e1166a97766aa22561beaa1086ba4e19ee16
111 Author: Bdale Garbee <bdale@gag.com>
112 Date:   Thu Mar 4 17:33:39 2010 -0700
113
114     update changelogs for Debian build
115
116 commit 6e61170d42936c18cd6efba6f4c14af616a30745
117 Author: Keith Packard <keithp@keithp.com>
118 Date:   Sun Feb 28 18:24:46 2010 -0800
119
120     Need to duplicate new altitude conversion code in aoview.
121     
122     Altitude conversion is now done with a smaller table and interpolation
123     instead of a giant table.
124     
125     Signed-off-by: Keith Packard <keithp@keithp.com>
126
127 commit e4e17e6d3844ae682a0e7a9469a522359bac77b6
128 Author: Bdale Garbee <bdale@gag.com>
129 Date:   Sat Feb 27 17:36:13 2010 -0700
130
131     update changelogs for Debian build
132
133 commit a1478f65538fdaac7b58ffbd958a035b74956099
134 Merge: 901fce5 bbf8c9f
135 Author: Keith Packard <keithp@keithp.com>
136 Date:   Sat Feb 27 15:19:33 2010 -0800
137
138     Merge remote branch 'origin/master'
139
140 commit 901fce5fe3e2762406079ecaa787612b5ed4b34a
141 Author: Keith Packard <keithp@keithp.com>
142 Date:   Sat Feb 27 15:18:47 2010 -0800
143
144     Add .gitignore for ao-bringup
145     
146     Signed-off-by: Keith Packard <keithp@keithp.com>
147
148 commit 7aab73a265841aac817ea34235dd1eb819debf76
149 Author: Keith Packard <keithp@keithp.com>
150 Date:   Sat Feb 27 15:14:04 2010 -0800
151
152     Fix up LED colors for each product.
153     
154     Different products assign different color LEDs to the two available
155     LED drivers (P1_0, P1_1). Make the LED color pin assignments
156     per-product (in ao_pins.h), then deal with not always having a green LED.
157     
158     Signed-off-by: Keith Packard <keithp@keithp.com>
159
160 commit 1d6d8d76ec65373ffee70add75d183f5c4168f61
161 Author: Keith Packard <keithp@keithp.com>
162 Date:   Sat Feb 27 15:11:44 2010 -0800
163
164     Eliminate deadlock when writing config from radio link
165     
166     Writing the 'Saved\r\n' string would fill the packet buffer and cause
167     a flush to occur, which would need to wait for the radio link to
168     receive and transmit a packet. The radio link always re-fetches the
169     radio channel number when lighting up the radio, so it need to look in
170     the config space. If the config mutex was held by the config writing
171     process while the radio was trying to get the channel number, then
172     we'd get a deadlock.
173     
174     Signed-off-by: Keith Packard <keithp@keithp.com>
175
176 commit f1956ebadd7bf46b84a05a0c383b6404ca26b344
177 Author: Keith Packard <keithp@keithp.com>
178 Date:   Sat Feb 27 15:10:16 2010 -0800
179
180     Leave .ihx files in the build directory too - easier to debug that way
181     
182     sdcdb wants the .ihx and .cdb files in the same directory, so humor it
183     by copying the .ihx files to the src directory instead of moving them.
184     
185     Signed-off-by: Keith Packard <keithp@keithp.com>
186
187 commit bbf8c9f1748af3f1fac08ddf80ae98da2e9b5727
188 Author: Bdale Garbee <bdale@gag.com>
189 Date:   Fri Feb 26 15:21:12 2010 -0700
190
191     create a turn on script for lighting up TeleDongle v0.2 boards
192
193 commit 461d4a1948e112ec7353caf88967391d876469dd
194 Author: Keith Packard <keithp@keithp.com>
195 Date:   Fri Feb 26 10:33:13 2010 -0800
196
197     Add LED test
198
199 commit 5d7a3a5fbc0af4621c67a6fd51a9c9d5ae688fa5
200 Author: Keith Packard <keithp@keithp.com>
201 Date:   Thu Feb 25 16:40:13 2010 -0800
202
203     Fix and document the ao-rawload --run flag
204     
205     This allows ram-based programs to be loaded and executed easily.
206     
207     Signed-off-by: Keith Packard <keithp@keithp.com>
208
209 commit 1e60deca147c85a064719dfad14ccabd1049bbbd
210 Author: Keith Packard <keithp@keithp.com>
211 Date:   Thu Feb 25 16:33:34 2010 -0800
212
213     Allow product names to have suffixes (like board revisions)
214     
215     When looking for a board by product name, just look at the prefix of
216     the name instead of requiring an exact match. This will allow products
217     to have board version suffixes.
218     
219     Signed-off-by: Keith Packard <keithp@keithp.com>
220
221 commit f4d5790a284e2d02dd7568fbca90402fa5ed1aea
222 Author: Keith Packard <keithp@keithp.com>
223 Date:   Thu Feb 25 16:32:57 2010 -0800
224
225     Add ao_radio_xmit to help test boards without flashing them.
226     
227     Signed-off-by: Keith Packard <keithp@keithp.com>
228
229 commit d7d551b0078acb1596a9b9023c3df6dbfa46213c
230 Author: Bdale Garbee <bdale@gag.com>
231 Date:   Wed Feb 24 17:30:23 2010 -0700
232
233     update changelogs for Debian build
234
235 commit 2f45953ee54034209a23c254e65da36e44cf075f
236 Author: Bdale Garbee <bdale@gag.com>
237 Date:   Wed Feb 24 17:29:47 2010 -0700
238
239     un-muck changelog
240
241 commit 540f86678853e7ea80ae91f3f2ec0ec88c5b1ca7
242 Author: Bdale Garbee <bdale@gag.com>
243 Date:   Wed Feb 24 17:27:51 2010 -0700
244
245     debugging
246
247 commit cdccd92f6ed97be7385e84de5694064cb8f43946
248 Author: Bdale Garbee <bdale@gag.com>
249 Date:   Wed Feb 24 17:25:28 2010 -0700
250
251     conditionalize use of git on executability of /usr/bin/git binary
252
253 commit 54dd7a200e6956aace5a580d4c4d6a10a13c654b
254 Author: Bdale Garbee <bdale@gag.com>
255 Date:   Wed Feb 24 17:22:45 2010 -0700
256
257     update changelogs for Debian build
258
259 commit 4b6b28530206c6fdbe46699b81746fbbcab5b148
260 Author: Bdale Garbee <bdale@gag.com>
261 Date:   Wed Feb 24 17:22:20 2010 -0700
262
263     see if this works
264
265 commit c74958d3e8c5ce8006a9f9f6853238fce0c77432
266 Author: Bdale Garbee <bdale@gag.com>
267 Date:   Wed Feb 24 17:13:29 2010 -0700
268
269     move git-using variable declaration into the prebuild target
270
271 commit cf091a7252eba09902a42a3cfe7b4d6a343907ce
272 Author: Bdale Garbee <bdale@gag.com>
273 Date:   Wed Feb 24 16:44:44 2010 -0700
274
275     update changelogs for Debian build
276
277 commit deccc10f0305c0cd02bf6317d6dc9d2ae38c3dac
278 Author: Bdale Garbee <bdale@gag.com>
279 Date:   Wed Feb 24 16:43:32 2010 -0700
280
281     add gawk as a build dependency since strtonum is a gawk extension
282
283 commit ac45da6e61597dcdb119b976f7301b2cc7fdced4
284 Author: Bdale Garbee <bdale@gag.com>
285 Date:   Wed Feb 24 14:57:26 2010 -0700
286
287     update changelogs for Debian build
288
289 commit 24912821b3230b8357b9e0094cd69fa0bccc5513
290 Author: Bdale Garbee <bdale@gag.com>
291 Date:   Wed Feb 24 14:53:27 2010 -0700
292
293     update changelogs for Debian build
294
295 commit 82fdbfe1229d1ea5e6906ea240d54b3da73d9a69
296 Author: Keith Packard <keithp@keithp.com>
297 Date:   Sat Feb 20 21:35:43 2010 -0800
298
299     Must install .map files for ao-load to work
300     
301     ao-load uses the .map files to rewrite the serial number and other
302     config parameters into the program flash.
303     
304     Signed-off-by: Keith Packard <keithp@keithp.com>
305
306 commit a5215c2bd9249a285fc834db0c453fb3e7daed87
307 Author: Keith Packard <keithp@keithp.com>
308 Date:   Sat Feb 20 21:20:05 2010 -0800
309
310     Add back stack size checking to altos linking phase
311     
312     This verifies that the stack start specified during the compile
313     will work with the resulting program
314     
315     Signed-off-by: Keith Packard <keithp@keithp.com>
316
317 commit 18eeb79026f7e5c54bf99435537c024427011a36
318 Author: Keith Packard <keithp@keithp.com>
319 Date:   Sat Feb 20 21:05:45 2010 -0800
320
321     Quiet make output.
322     
323     This borrows ideas from the notmuch project to reduce the command line
324     clutter seen when compiling or linking stuff.
325     
326     Signed-off-by: Keith Packard <keithp@keithp.com>
327
328 commit 004c2a9b7a4b44ef71ca60482573e8e9d8c6ce93
329 Author: Keith Packard <keithp@keithp.com>
330 Date:   Sat Feb 20 20:36:08 2010 -0800
331
332     Update .gitignore files
333
334 commit 84c93bb2fc4558a5e4654794ba90e730a84eaf67
335 Author: Keith Packard <keithp@keithp.com>
336 Date:   Sat Feb 20 20:22:16 2010 -0800
337
338     Change altos build process to support per-product compile-time changes
339     
340     This creates per-product subdirectories and recompiles everything for
341     each product, allowing per-product compile-time changes for things
342     like peripheral pin assignments and attached serial devices.
343     
344     Signed-off-by: Keith Packard <keithp@keithp.com>
345
346 commit fd0a42e0e96dcb8ecc9e999f70bcf70692692af9
347 Author: Keith Packard <keithp@keithp.com>
348 Date:   Sat Feb 20 20:21:07 2010 -0800
349
350     Change barometer conversion code to shrink conversion table
351
352 commit 876e9a10b9096ead85fbe08ec9a6a0329cf7cbd4
353 Author: Keith Packard <keithp@keithp.com>
354 Date:   Sat Feb 13 16:42:27 2010 -0800
355
356     Log GPS data on pad after boost detect.
357     
358     This wakes up the two GPS reporting tasks and gets them to report out
359     any existing GPS data to the log file. To make sure the timestamps in
360     that GPS data are accurate, this also records GPS time on receipt of
361     the GPS data instead of when that is logged.
362     
363     Signed-off-by: Keith Packard <keithp@keithp.com>
364
365 commit c83615567b4567f3dc45a7f7b894943b45fbb65c
366 Author: Keith Packard <keithp@keithp.com>
367 Date:   Sun Feb 7 00:25:22 2010 -0800
368
369     Pull in a bit more data for filtering the start of the boost
370
371 commit f8967607b3dda0c0ce7afe8bb077da2da5ed3dcd
372 Author: Keith Packard <keithp@keithp.com>
373 Date:   Sun Feb 7 00:24:56 2010 -0800
374
375     Compute daytime using GPS as time base
376
377 commit 2a6350149407c7d2e7d143906c40c5e331248aeb
378 Author: Keith Packard <keithp@keithp.com>
379 Date:   Thu Feb 11 18:48:56 2010 -0800
380
381     Missing ao_mutex_put in gps_dump
382
383 commit 9856b7c4397afcecc8f541af9a83824e817b3612
384 Author: Keith Packard <keithp@keithp.com>
385 Date:   Sun Jan 10 16:31:50 2010 -0800
386
387     Switch to using internal cc1111 temperature sensor
388     
389     v0.2 has no temperature sensor, and several of the v0.1 boards didn't
390     get a temperature sensor loaded. Use the internal temperature sensor
391     on the cc1111 in all cases instead.
392     
393     Signed-off-by: Keith Packard <keithp@keithp.com>
394
395 commit 0c2533be15858774ef9381aa8c8344356fd5b971
396 Author: Keith Packard <keithp@keithp.com>
397 Date:   Sat Jan 9 22:06:19 2010 -0800
398
399     Force idle mode by shorting the SPI clock to ground at boot time.
400     
401     This allows you to override the flight mode detection code in case the
402     accelerometer calibration is broken somehow. Hold the SPI clock shoted
403     to ground until the LED comes on, then remove it.
404     
405     Signed-off-by: Keith Packard <keithp@keithp.com>
406
407 commit 28346736a7799c0767e54511d9949cd61d35e471
408 Author: Keith Packard <keithp@keithp.com>
409 Date:   Sat Jan 9 20:57:48 2010 -0800
410
411     Add simple gps dump command 'g'
412     
413     This just dumps out the data in a very simple format to verify the GPS
414     receiver.
415     
416     Signed-off-by: Keith Packard <keithp@keithp.com>
417
418 commit a6082a8b4501ac4cb18584ace1f0c40e088e5484
419 Author: Keith Packard <keithp@keithp.com>
420 Date:   Sat Jan 9 20:57:29 2010 -0800
421
422     Remove flash debugging printfs
423     
424     Signed-off-by: Keith Packard <keithp@keithp.com>
425
426 commit 05bb953830604721c9a49dd56256b86f3666b5ff
427 Author: Keith Packard <keithp@keithp.com>
428 Date:   Sat Jan 9 20:42:57 2010 -0800
429
430     Don't set ao_flash_setup_done until we're actually done.
431     
432     Because we're accessing this variable outside of the mutex, we need to
433     make sure it isn't set until the data it covers has been initialized.
434     
435     Signed-off-by: Keith Packard <keithp@keithp.com>
436
437 commit 327e5e782958e516a7b7a786ab6c176b0decb8b8
438 Author: Keith Packard <keithp@keithp.com>
439 Date:   Sat Jan 9 20:04:42 2010 -0800
440
441     Dump config block from read/write config and flash_status commands
442
443 commit 05e5bb2d330b755967d06fb859585c81f5f5fbb5
444 Author: Keith Packard <keithp@keithp.com>
445 Date:   Sat Jan 9 19:46:46 2010 -0800
446
447     Dump more flash parameters for the flash_status command
448
449 commit d4c8895b349998e02e03ed83466a0ca7afb3d99b
450 Author: Keith Packard <keithp@keithp.com>
451 Date:   Sat Jan 9 17:57:52 2010 -0800
452
453     Add 'f' command to display flash status register contents
454     
455     Signed-off-by: Keith Packard <keithp@keithp.com>
456
457 commit c1334f712f01543adb10809bc1a3ca120e27290b
458 Author: Keith Packard <keithp@keithp.com>
459 Date:   Sat Jan 9 09:55:04 2010 -0800
460
461     Add at45db161d.h header file for new flash part.
462     
463     Forgot to add this when I added the driver.
464     
465     Signed-off-by: Keith Packard <keithp@keithp.com>
466
467 commit a0d4c1b06d27e850d233f8ddf8fe32912bf0ec8f
468 Author: Keith Packard <keithp@keithp.com>
469 Date:   Sat Jan 9 01:29:41 2010 -0800
470
471     Remove green LED and temp sensor from v0.2 code
472     
473     Signed-off-by: Keith Packard <keithp@keithp.com>
474
475 commit dc8d18736239b14c2ec48a40a01515912c5c25e6
476 Author: Keith Packard <keithp@keithp.com>
477 Date:   Sat Jan 9 01:22:06 2010 -0800
478
479     Add AT45DBxx1D driver
480     
481     This driver supports the AT45DB011D through AT45DB321D DataFlash
482     parts as found in TeleMetrum v0.2
483     
484     Signed-off-by: Keith Packard <keithp@keithp.com>
485
486 commit 3bab7e66d25988f5d63ec139c8814a85b983f8f3
487 Author: Keith Packard <keithp@keithp.com>
488 Date:   Sat Dec 19 20:32:18 2009 -0800
489
490     Remove dbg driver code from telemetrum/teledongle
491     
492     The only board with debug outputs is the TI dongle at this point, so
493     the debug modules were disabled in TM and TD some time
494     ago. Unfortunately, the code was not removed then.
495     
496     Signed-off-by: Keith Packard <keithp@keithp.com>
497
498 commit eddb82390a0ecb07ef83c04861993842906b03ab
499 Author: Keith Packard <keithp@keithp.com>
500 Date:   Sat Dec 19 15:31:36 2009 -0800
501
502     Ensure that ao_alarm waits at least the specified time
503     
504     Because the timer tick may happen soon, it's important to delay by
505     another tick to ensure that we don't wake up early.
506     
507     Signed-off-by: Keith Packard <keithp@keithp.com>
508
509 commit 598d168bd6552c3756e4b0267de44147eadab9f6
510 Author: Keith Packard <keithp@keithp.com>
511 Date:   Sat Dec 19 14:03:11 2009 -0800
512
513     Disable monitor mode before attempting radio test.
514     
515     If monitor mode is left active, then the radio lock will not be able
516     to be acquired for the radio test.
517     
518     Signed-off-by: Keith Packard <keithp@keithp.com>
519
520 commit d4cf1446680d8b47396bcda338e8df7af395d102
521 Author: Bdale Garbee <bdale@gag.com>
522 Date:   Sat Dec 19 13:53:38 2009 -0700
523
524     update changelogs for Debian build
525
526 commit 10d1bbcd9709a5eee8d50989215242b16feb7232
527 Author: Keith Packard <keithp@keithp.com>
528 Date:   Sat Dec 19 11:34:16 2009 -0800
529
530     Use ao_radio_get/ao_radio_put in packet code.
531     
532     The ao_radio_get function both acquires the mutex *and* configures the
533     radio channel and frequency. Failing to use this in the packet code
534     would leave the radio frequency unconfigured.
535     
536     Signed-off-by: Keith Packard <keithp@keithp.com>
537
538 commit a15abc1882a3bdd2c980eed169f3b80337528390
539 Author: Bdale Garbee <bdale@gag.com>
540 Date:   Sat Dec 19 12:15:29 2009 -0700
541
542     update changelogs for Debian build
543
544 commit bbb152c712801653374a8f82869e2e8bf41f7279
545 Author: Bdale Garbee <bdale@gag.com>
546 Date:   Sat Dec 19 12:05:40 2009 -0700
547
548     update changelogs for Debian build
549
550 commit 7ac8efea5d60b81adccdc1e38ac4c13facfae7c9
551 Author: Keith Packard <keithp@keithp.com>
552 Date:   Tue Dec 15 23:58:29 2009 -0800
553
554     Add --cal to man page
555
556 commit 5481082b18226a0de6b377215b3b330bdbc4a6c6
557 Author: Keith Packard <keithp@keithp.com>
558 Date:   Sat Dec 5 19:50:38 2009 -0800
559
560     Allow radio calibration to be set from ao-load
561     
562     This moves the initial radio calibration value into const memory where
563     it will be used if no eeprom configuration value is available, either
564     on an unprogrammed board with eeprom or a device without an eeprom.
565     
566     Signed-off-by: Keith Packard <keithp@keithp.com>
567
568 commit 46f03ab3145a61139c8ca6fc99e8f2798728b5a9
569 Author: Keith Packard <keithp@keithp.com>
570 Date:   Sat Dec 5 15:36:12 2009 -0800
571
572     Re-order config values. Change frequency to cal
573     
574     Place more often used values at top, and consistently call the radio
575     value 'calibration' instead of 'frequency'.
576     
577     Signed-off-by: Keith Packard <keithp@keithp.com>
578
579 commit bf29a62532fec12e6af2d2f3a6624882c863e933
580 Author: Bdale Garbee <bdale@gag.com>
581 Date:   Sat Dec 5 11:03:42 2009 -0700
582
583     update changelogs for Debian build
584
585 commit cd49847f3125df1733f298b56a43e8027ab5ce05
586 Author: Keith Packard <keithp@keithp.com>
587 Date:   Fri Dec 4 23:38:26 2009 -0800
588
589     Add radio calibration configuration.
590     
591     The crystal we use is only good for 20ppm, which generates a fairly
592     significant error bounds at our RF frequency. This commit adds a
593     configuration variable that sets the RF frequency control variable so
594     that the output frequency can be adjusted.
595     
596     Signed-off-by: Keith Packard <keithp@keithp.com>
597
598 commit c671a3f31f54715284beef5baa4a72ca922e4018
599 Author: Keith Packard <keithp@keithp.com>
600 Date:   Fri Dec 4 23:36:54 2009 -0800
601
602     Make ao_cmd_decimal produce both 32 and 16 bit values.
603     
604     ao_cmd_lex_u32 is produced in addition to ao_cmd_lex_i so that
605     functions can easily read 32-bit values from the command line.
606     
607     Signed-off-by: Keith Packard <keithp@keithp.com>
608
609 commit e6d6ad66ce177eb6e49eaa04b1ecc6426f4bbdbf
610 Author: Keith Packard <keithp@keithp.com>
611 Date:   Fri Dec 4 23:35:40 2009 -0800
612
613     Remove send_serial and serial_baud commands.
614     
615     No longer useful, and they take up space.
616     
617     Signed-off-by: Keith Packard <keithp@keithp.com>
618
619 commit ce7325cefbbe91054c1e8174cf40a6c687f6694b
620 Author: Bdale Garbee <bdale@gag.com>
621 Date:   Fri Dec 4 21:02:07 2009 -0700
622
623     update changelogs for Debian build
624
625 commit 9a1d7dd78c07d18954ef620b6ed25d6701df21e2
626 Author: Keith Packard <keithp@keithp.com>
627 Date:   Fri Dec 4 14:35:39 2009 -0800
628
629     Change default callsign to "N0CALL"
630
631 commit 291e2004e77debdc1543912cf11043c849305de8
632 Author: Bdale Garbee <bdale@gag.com>
633 Date:   Thu Nov 26 11:18:37 2009 -0700
634
635     update changelogs for Debian build
636
637 commit 40533095a96b6c6364eebdc4b7d53c4eabe72e9a
638 Author: Bdale Garbee <bdale@gag.com>
639 Date:   Thu Nov 26 11:16:04 2009 -0700
640
641     update changelogs for Debian build
642
643 commit ab1075e7219b02258c1613d93379582be4168947
644 Author: Bdale Garbee <bdale@gag.com>
645 Date:   Thu Nov 26 11:15:13 2009 -0700
646
647     change home URL in control file to be the AltOS page
648
649 commit d34dcc5f3616e59ee90ed172770fe2a3eb1e0cac
650 Author: Bdale Garbee <bdale@gag.com>
651 Date:   Thu Nov 26 10:40:07 2009 -0700
652
653     fix absolute path in debian/dirs, add Suggests for slim-altusmetrum
654
655 commit ea40561b36519a5dcabedabe18672b79ea5e9993
656 Author: Bdale Garbee <bdale@gag.com>
657 Date:   Sun Nov 22 10:18:44 2009 -0700
658
659     update changelogs for Debian build
660
661 commit d6ba07e885bdc62ba64719c9d8cc42fcecbcb09d
662 Author: Keith Packard <keithp@keithp.com>
663 Date:   Sun Nov 22 01:10:44 2009 -0800
664
665     Automatically extract flight number for eeprom and telem filenames.
666     
667     Extract flight number from either telemetry or eeprom files and use
668     that in the resulting filenames. To ensure that files remain unique,
669     add a new field, -seq-%03d. This is appended only when the sequence
670     number is non-zero as it shouldn't occur in normal usage.
671     
672     This also eliminates some duplicate filename creation code in the
673     library and aoview sources.
674     
675     Signed-off-by: Keith Packard <keithp@keithp.com>
676
677 commit 06cebd1026dc1bd6ee51526fa2d02905df3b3b37
678 Author: Keith Packard <keithp@keithp.com>
679 Date:   Sun Nov 22 00:52:58 2009 -0800
680
681     ao-postflight: don't try to use missing gps sat data
682     
683     Signed-off-by: Keith Packard <keithp@keithp.com>
684
685 commit a9ada1b538af3308e1b22bd024d9204521184173
686 Author: Keith Packard <keithp@keithp.com>
687 Date:   Sat Nov 21 22:12:21 2009 -0800
688
689     ao-postflight: compute barometric alt for each GPS position
690     
691     Print that to the --gps file, and use that in the --kml file for the
692     altitude. Gives a very different picture of our flight tracks,
693     presumably far more accurate (at least in altitude).
694     
695     Signed-off-by: Keith Packard <keithp@keithp.com>
696
697 commit b84b634d9ae8ce6ab1c02833a3ed8514404e1ca3
698 Author: Keith Packard <keithp@keithp.com>
699 Date:   Sat Nov 21 22:11:45 2009 -0800
700
701     Don't crash if --plot isn't passed on ao-postflight command line
702     
703     Crashing is not nice.
704     
705     Signed-off-by: Keith Packard <keithp@keithp.com>
706
707 commit 2d77c18b15834046b7b79d49d87211828f2409e9
708 Author: Keith Packard <keithp@keithp.com>
709 Date:   Sat Nov 21 21:10:09 2009 -0800
710
711     Convert telemetry file GPS satellite information in cc_log_read
712     
713     The satellite info wasn't being correctly converted from telemetry
714     files to the data log structure, so ao-postflight was not seeing it.
715     
716     Signed-off-by: Keith Packard <keithp@keithp.com>
717
718 commit 1e7fb61700f1f6f2ed5fdbc4380d7187b0cd187b
719 Author: Keith Packard <keithp@keithp.com>
720 Date:   Sat Nov 21 21:09:03 2009 -0800
721
722     Fix --plot arg handling. Add -all option.
723     
724     The --plot file name handing is special as the library wants a
725     filename instead of a stdio file pointer.
726     
727     Add a --all option that just creates all of the possible outputs.
728     
729     Signed-off-by: Keith Packard <keithp@keithp.com>
730
731 commit 199f0cecae22645140185238682b9e1aba0e5715
732 Author: Keith Packard <keithp@keithp.com>
733 Date:   Sat Nov 21 20:36:20 2009 -0800
734
735     Make TD print 0000-00-00 for invalid dates.
736     
737     This 'shouldn't' happen, but in case it does, I want to know about it.
738     
739     Signed-off-by: Keith Packard <keithp@keithp.com>
740
741 commit 238d03462a56dc1b7c871608cb00f961a88c1b97
742 Author: Keith Packard <keithp@keithp.com>
743 Date:   Sat Nov 21 20:35:22 2009 -0800
744
745     Make ao-postflight create filenames using input filenames.
746     
747     Instead of requiring the user to provide names for the various output
748     options, just create them from the input name by replacing the extension.
749     
750     Signed-off-by: Keith Packard <keithp@keithp.com>
751
752 commit 1a3b4c02a01187f8b7b9a9c97712476d0007ab35
753 Author: Keith Packard <keithp@keithp.com>
754 Date:   Sat Nov 21 19:52:26 2009 -0800
755
756     Document ao-postflight --gps and --kml options.
757     
758     These were missing from the man page, but included in the --help output.
759     
760     Signed-off-by: Keith Packard <keithp@keithp.com>
761
762 commit 80b23f3044a654d61212891a61fadb8a3a4e5572
763 Author: Keith Packard <keithp@keithp.com>
764 Date:   Sat Nov 21 18:57:45 2009 -0800
765
766     Decode HDOP data from skytraq GPS
767     
768     The hdop data was getting dropped on the floor, but is rather useful
769     when deciding if the GPS position is crazy or not. This reports HDOP *
770     5 (giving a useful range of .2-50).
771     
772     Signed-off-by: Keith Packard <keithp@keithp.com>
773
774 commit 8f036ee7cd30ce3ed2e5cc8501914a4c19b73875
775 Author: Bdale Garbee <bdale@gag.com>
776 Date:   Fri Nov 20 13:19:02 2009 -0700
777
778     update changelogs for Debian build
779
780 commit 87e6f3e5c1688503ab8595912d8d6eb7139830b7
781 Author: Keith Packard <keithp@keithp.com>
782 Date:   Fri Nov 20 12:16:37 2009 -0800
783
784     Eliminate SiRF state values from ao-view.
785     
786     With Skytraq not having any visible GPS state information, just
787     remove this from the display.
788     
789     Signed-off-by: Keith Packard <keithp@keithp.com>
790
791 commit 8065b8146a31438e66f83c13b99281ec47439a73
792 Author: Keith Packard <keithp@keithp.com>
793 Date:   Fri Nov 20 11:56:48 2009 -0800
794
795     Add GPS date/time output to ao-postflight.
796     
797     GPS date/time information was already being stored in the log, it just
798     wasn't getting displayed by ao-postflight.
799     
800     Signed-off-by: Keith Packard <keithp@keithp.com>
801
802 commit 6894541e0ee144bfc689cc02d4ed333711d3b500
803 Author: Keith Packard <keithp@keithp.com>
804 Date:   Fri Nov 20 11:55:28 2009 -0800
805
806     Reduce igniter firing time from 500ms to 50ms.
807     
808     Given that the system will brown-out with the longer pulse, it doesn't
809     make sense to even try; failure at 50ms probably indicates a short.
810     
811     Signed-off-by: Keith Packard <keithp@keithp.com>
812
813 commit b75aa1c825b84bd7fa1578320fbc7e904c373a7d
814 Author: Bdale Garbee <bdale@gag.com>
815 Date:   Thu Nov 19 21:43:13 2009 -0700
816
817     fix typo in comment
818
819 commit c2f661b75ec035f6a3f700962290ef297f9ab0af
820 Author: Bdale Garbee <bdale@gag.com>
821 Date:   Fri Nov 20 11:44:06 2009 -0700
822
823     update changelogs for Debian build
824
825 commit b0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa
826 Author: Keith Packard <keithp@keithp.com>
827 Date:   Sun Nov 15 16:20:18 2009 -0800
828
829     Stop using SiRF state info.
830     
831     With the switch to the skytraq GPS unit, we don't have the same level
832     of detail in the GPS stream, so stop reporting that in the telemetry
833     stream, in the UI and writing it to eeprom.
834     
835     Signed-off-by: Keith Packard <keithp@keithp.com>
836
837 commit 524665fc221b0d483453c67b7211e282cebc8980
838 Author: Keith Packard <keithp@keithp.com>
839 Date:   Sun Nov 15 16:04:41 2009 -0800
840
841     Add date to GPS data, captured from GPRMC packet.
842     
843     Pull the date out of the GPS stream and send it over the telemetry
844     link and write it to the eeprom.
845     
846     Signed-off-by: Keith Packard <keithp@keithp.com>
847
848 commit 3ee279ba76c2a79d142c466f19ef758cf4c01d70
849 Author: Keith Packard <keithp@keithp.com>
850 Date:   Sun Nov 15 15:59:01 2009 -0800
851
852     Add flight number to telemetry stream.
853     
854     This makes it easier to tie the telemetry and eeprom files together as
855     they're now both labeled with serial and flight numbers, which should
856     be unique.
857     
858     Signed-off-by: Keith Packard <keithp@keithp.com>
859
860 commit 6391c89bd5b89f5f46255b8365c658a873e5959a
861 Author: Keith Packard <keithp@keithp.com>
862 Date:   Sun Nov 15 15:53:01 2009 -0800
863
864     Switch order of serial/flight in ao-postflight summary
865
866 commit 9b06e294e2777f69bcf5e98789c3f5477097d53b
867 Author: Keith Packard <keithp@keithp.com>
868 Date:   Sun Nov 15 15:51:58 2009 -0800
869
870     Enable telemetry receive in ao_view
871
872 commit 4cffc9c4b079e39c8196ddbaf91129cda6df7f8b
873 Author: Keith Packard <keithp@keithp.com>
874 Date:   Sat Nov 14 22:24:37 2009 -0800
875
876     Share telemetry parsing code in cc library.
877     
878     ao-view had a private copy of the telemetry parsing code which
879     included the ability to parse the newer version of that file. Those
880     changes have been moved to the library version and the private copy removed.
881     
882     Signed-off-by: Keith Packard <keithp@keithp.com>
883
884 commit 0e0db8ca3af4c07bae909938486766c646bf580b
885 Author: Keith Packard <keithp@keithp.com>
886 Date:   Sat Nov 14 22:24:09 2009 -0800
887
888     Provide a dummy 'uninstall' target in the src directory.
889     
890     Signed-off-by: Keith Packard <keithp@keithp.com>
891
892 commit 1c654a9369294c9b8066c33f91161d8005b96680
893 Author: Keith Packard <keithp@keithp.com>
894 Date:   Sat Nov 14 22:17:24 2009 -0800
895
896     Loosen tolerances for main->landed transition
897     
898     Detecting that the rocket has landed is required for the system to
899     flush the eeprom log and re-enable the RDF beacon. This patch changes
900     the landed state entry requirements for the accelerometer to require
901     only that the accelerometer stay within a quarter of a g (down from
902     1/10g) and changes the testing interval from 20 seconds to 5
903     seconds.
904     
905     The requirement that the barometric altitude be within 1000m of the
906     launch altitude and that the barometer change by no more than 0.05kPa
907     are unchanged.
908     
909     Signed-off-by: Keith Packard <keithp@keithp.com>
910
911 commit 03092d1a72a9651711e22c58dca6d6aba5705c5e
912 Author: Keith Packard <keithp@keithp.com>
913 Date:   Sat Nov 14 16:35:12 2009 -0800
914
915     ao-postflight: fix sloppy gps sat data realloc code (was crashing).
916     
917     Realloc'ing the wrong data, and failing to set the realloc'ed size was
918     causing ao-postflight to crash while reading long logs.
919     
920     Signed-off-by: Keith Packard <keithp@keithp.com>
921
922 commit adf656192441eb7f44792955c86e469145477e29
923 Author: Keith Packard <keithp@keithp.com>
924 Date:   Thu Nov 5 22:11:59 2009 -0800
925
926     Return radio to telemetry settings when packet system closed.
927     
928     To receive telemetry after disabling the packet system, the radio must
929     be reconfigured for telemetry mode.
930     
931     Signed-off-by: Keith Packard <keithp@keithp.com>
932
933 commit 83afdbdc154fe013bfe35ce5ecf1d61570b04ed6
934 Author: Keith Packard <keithp@keithp.com>
935 Date:   Thu Nov 5 21:45:00 2009 -0800
936
937     Add reboot command.
938     
939     This resets the processor using the watchdog timer.
940     
941     Signed-off-by: Keith Packard <keithp@keithp.com>
942
943 commit 0358988ac0ee25a564d48af79b1c3fb0c0fe0a88
944 Author: Keith Packard <keithp@keithp.com>
945 Date:   Thu Nov 5 21:44:31 2009 -0800
946
947     Add Watchdog Timer Control register definitions
948     
949     Signed-off-by: Keith Packard <keithp@keithp.com>
950
951 commit 4114210e0b813f4af99d0cb7755ad2ac2c4b120e
952 Author: Keith Packard <keithp@keithp.com>
953 Date:   Thu Nov 5 21:43:21 2009 -0800
954
955     Move ao_match_word from ao_ignite.c to ao_cmd.c
956     
957     This is a generally useful command line utility.
958     
959     Signed-off-by: Keith Packard <keithp@keithp.com>
960
961 commit 5a79a04ddb0b3ee64de34e366f71a0f6db509c01
962 Author: Keith Packard <keithp@keithp.com>
963 Date:   Wed Nov 4 21:59:51 2009 -0800
964
965     Stop recording in ao-dumplog after receiving an invalid block
966     
967     If no samples in a block are valid, assume the flight log is over.
968     
969     Signed-off-by: Keith Packard <keithp@keithp.com>
970
971 commit 843ee489aac34ad6d81f55f1c85fb9eecc42d86b
972 Author: Keith Packard <keithp@keithp.com>
973 Date:   Wed Nov 4 21:59:12 2009 -0800
974
975     Flush pending input when switching to remote packet mode
976     
977     Any pending input would just confuse the application, so pull it off
978     the link and dump it.
979     
980     Signed-off-by: Keith Packard <keithp@keithp.com>
981
982 commit 036400a2db303f3db3be7cc0426f88359c6bd2b1
983 Author: Keith Packard <keithp@keithp.com>
984 Date:   Wed Nov 4 21:42:51 2009 -0800
985
986     Explicitly use USB I/O routines in packet code
987     
988     Using the implicit stdio functions (putchar/getchar/flush) would
989     result in essentially random redirection of each, depending on whether
990     the packet code had characters available when getchar was called. This
991     would cause lockups in putchar.
992     
993     Signed-off-by: Keith Packard <keithp@keithp.com>
994
995 commit 3ece984f4d72b4f720a5efdfaad7cff77a93d676
996 Author: Keith Packard <keithp@keithp.com>
997 Date:   Wed Nov 4 21:32:07 2009 -0800
998
999     In USB pollchar, wait for packet before re-checking USB out len
1000     
1001     This probably wouldn't actually cause a problem, but it seems more
1002     reliable to wait for a packet interrupt before re-reading the packet
1003     OUT len register. This could avoid spinning while waiting for a USB
1004     packet, which seems like a good thing.
1005     
1006     Signed-off-by: Keith Packard <keithp@keithp.com>
1007
1008 commit bc62bb254085cc705203b57260c04ac5e14c6611
1009 Author: Keith Packard <keithp@keithp.com>
1010 Date:   Wed Nov 4 21:29:37 2009 -0800
1011
1012     In packet master, move USB flush from packet thread to echo thread
1013     
1014     This keeps the packet thread from blocking on USB and also makes the
1015     flush happen after every packet (slightly more USB traffic, but
1016     packets are slow anyway).
1017     
1018     Signed-off-by: Keith Packard <keithp@keithp.com>
1019
1020 commit 27ebaf8e13aed06bb1ea6e770f767495a02be6c5
1021 Author: Keith Packard <keithp@keithp.com>
1022 Date:   Tue Nov 3 01:27:37 2009 -0800
1023
1024     Add ability to dump eeprom data over radio link.
1025     
1026     This adds a '-R' option to ao-dumplog to redirect the connection
1027     through a USB attached TeleDongle over the radio link to a remote
1028     TeleMetrum device.
1029     
1030     Signed-off-by: Keith Packard <keithp@keithp.com>
1031
1032 commit 1de322b960005c9a16051afa1881fadb00f4bcd6
1033 Author: Keith Packard <keithp@keithp.com>
1034 Date:   Tue Nov 3 00:40:38 2009 -0800
1035
1036     Pass accel calibration over telemetry stream. Telemetry data format change.
1037     
1038     This allows the ground station to convert the accelerometer sensor
1039     values into acceleration and speed data. This requires a new telemetry
1040     data structure, and so TeleMetrum and TeleDongle units must be updated
1041     synchronously. ao-view will parse either telemetry stream, and the
1042     serial format from TeleDongle now has a version number to allow for
1043     future changes.
1044     
1045     Signed-off-by: Keith Packard <keithp@keithp.com>
1046
1047 commit b529e5e8998702986909111a457f3ce9932e1ccf
1048 Author: Keith Packard <keithp@keithp.com>
1049 Date:   Mon Nov 2 23:48:29 2009 -0800
1050
1051     ao_flight_test was using accel value for pressure too
1052
1053 commit f57bea012d4fbca097df0d98fcd30eb4abd9701a
1054 Author: Keith Packard <keithp@keithp.com>
1055 Date:   Mon Nov 2 21:47:41 2009 -0800
1056
1057     Reformat ADC values to show all 16 bits
1058
1059 commit 79718e798e96567f0ba11c61f187e432fdcf95ee
1060 Author: Keith Packard <keithp@keithp.com>
1061 Date:   Mon Nov 2 21:48:16 2009 -0800
1062
1063     Remove "f" command
1064
1065 commit a4137263b69864c524d39c6ff88a0225fd06e79b
1066 Author: Keith Packard <keithp@keithp.com>
1067 Date:   Mon Nov 2 21:47:15 2009 -0800
1068
1069     Remove "d" command
1070
1071 commit 47f510464907d2b9488109c96ade87a41d878842
1072 Author: Keith Packard <keithp@keithp.com>
1073 Date:   Mon Nov 2 21:46:39 2009 -0800
1074
1075     Remove "l" command as ao-dumplong no longer uses it
1076
1077 commit 144db05f6b286a0450d486f69ce192632a2c0656
1078 Author: Keith Packard <keithp@keithp.com>
1079 Date:   Mon Nov 2 21:38:18 2009 -0800
1080
1081     Add two-point accelerometer calibration.
1082     
1083     Calibration now uses two values, one upside right and the other upside
1084     down instead of a single horizontal value. This allows the use of
1085     other accelerometers and compensates for variations in the divider
1086     circuit to provide more accurate data.
1087
1088 commit 17611788aadc9460287145a340a7c18bf63766aa
1089 Author: Bdale Garbee <bdale@gag.com>
1090 Date:   Mon Nov 2 16:54:06 2009 -0700
1091
1092     update changelogs for Debian build
1093
1094 commit 7db9d86178ecfd58cc1c17ac9fcbdcfd2f13aaec
1095 Merge: b219801 f9de200
1096 Author: Keith Packard <keithp@keithp.com>
1097 Date:   Mon Nov 2 15:47:40 2009 -0800
1098
1099     Merge remote branch 'origin/master'
1100
1101 commit b219801fb0e5eaff7778d21701da977104522da3
1102 Author: Keith Packard <keithp@keithp.com>
1103 Date:   Mon Nov 2 15:45:58 2009 -0800
1104
1105     Add ao_usb_pollchar to ao.h
1106
1107 commit b92333ff5e75bf96804359e9fbf464d3b518bd95
1108 Author: Keith Packard <keithp@keithp.com>
1109 Date:   Mon Nov 2 15:45:42 2009 -0800
1110
1111     Disable interrupts while removing tasks from task list
1112
1113 commit d519564fd08d2defe1211de83ccbdfa3c7cfe702
1114 Author: Keith Packard <keithp@keithp.com>
1115 Date:   Mon Nov 2 15:45:07 2009 -0800
1116
1117     Add more docs to the README file
1118
1119 commit f9de20000794c97a04d5bc2476191864bd2af371
1120 Author: Bdale Garbee <bdale@gag.com>
1121 Date:   Mon Nov 2 16:00:11 2009 -0700
1122
1123     update changelogs for Debian build
1124
1125 commit 127c3125e5a4b86b8f304bc2889e313688c3d83e
1126 Author: Bdale Garbee <bdale@gag.com>
1127 Date:   Mon Nov 2 15:59:12 2009 -0700
1128
1129     update changelogs for Debian build
1130
1131 commit 6b1e77569e2fed3c44606ed268421df5d3ed4020
1132 Author: Bdale Garbee <bdale@gag.com>
1133 Date:   Mon Nov 2 15:57:41 2009 -0700
1134
1135     update changelogs for Debian build
1136
1137 commit 8203bfa58af32a1d07a44c1c151b200df0b65f15
1138 Author: Bdale Garbee <bdale@gag.com>
1139 Date:   Mon Nov 2 15:56:42 2009 -0700
1140
1141     de-version the libreadline-dev build dependency
1142
1143 commit 0b483233118673cbc2cda1be6acd379df82bc95a
1144 Merge: ca5d323 550482d
1145 Author: Keith Packard <keithp@keithp.com>
1146 Date:   Sun Nov 1 20:59:02 2009 -0800
1147
1148     Merge remote branch 'origin/master' into skytraq
1149
1150 commit ca5d323a3d206050d95f52a61e92c69e1f54e7b5
1151 Author: Keith Packard <keithp@keithp.com>
1152 Date:   Sun Nov 1 20:57:03 2009 -0800
1153
1154     Enable packet-based communcation to command processor
1155     
1156     This splits the packet code into master/slave halves and hooks the
1157     slave side up to the getchar/putchar/flush logic in ao_stdio.c
1158     
1159     Signed-off-by: Keith Packard <keithp@keithp.com>
1160
1161 commit 6c1a9ce16b966a21c885bf3be31cbcb85368b3fa
1162 Author: Keith Packard <keithp@keithp.com>
1163 Date:   Sat Oct 31 01:30:22 2009 -0700
1164
1165     No need to wakeup &ao_tick_count now
1166
1167 commit cd0d495d7ef276956e730196476daa70a4359918
1168 Author: Keith Packard <keithp@keithp.com>
1169 Date:   Sat Oct 31 01:20:26 2009 -0700
1170
1171     Poke master to speed up packet rate when things are busy
1172
1173 commit 442b1ef18c8320d4e5329dc92bb5268a36058fc5
1174 Author: Keith Packard <keithp@keithp.com>
1175 Date:   Sat Oct 31 01:19:41 2009 -0700
1176
1177     Use ao_alarm for ao_delay so it can be easily interrupted
1178
1179 commit 4f7ed9ff484778381db647c27d2a34d0cadec41e
1180 Author: Keith Packard <keithp@keithp.com>
1181 Date:   Fri Oct 30 23:53:03 2009 -0700
1182
1183     Do more flushing in packet test code
1184
1185 commit 6a7aa1810a90a9216160aec55ec4bd02b3240e1b
1186 Author: Keith Packard <keithp@keithp.com>
1187 Date:   Fri Oct 30 23:52:44 2009 -0700
1188
1189     Add RFIM register
1190
1191 commit bf65e0b2a1299b49adc2d339ab9d9c7599aded9e
1192 Author: Keith Packard <keithp@keithp.com>
1193 Date:   Fri Oct 30 23:52:22 2009 -0700
1194
1195     Send SYN packet to set sequence numbers
1196
1197 commit d46797e5c08d4955d516458185e2cfb51ee2d567
1198 Author: Keith Packard <keithp@keithp.com>
1199 Date:   Fri Oct 30 23:51:38 2009 -0700
1200
1201     Use ao_radio_done to wait for TX to completely finish with packet
1202
1203 commit c5ec6fcfa1bd17aad0f85d2fbe603f1d125836e6
1204 Author: Keith Packard <keithp@keithp.com>
1205 Date:   Fri Oct 30 23:50:54 2009 -0700
1206
1207     Switch packet code from timer thread to ao_alarm
1208
1209 commit b428faf74ae145126ec1da972028fcfe0b4b2b18
1210 Author: Keith Packard <keithp@keithp.com>
1211 Date:   Fri Oct 30 23:48:36 2009 -0700
1212
1213     Remove reason from ao_dma_abort
1214
1215 commit 73db30b2f9128c37dc7fa075793a8862814ce044
1216 Author: Keith Packard <keithp@keithp.com>
1217 Date:   Fri Oct 30 23:46:21 2009 -0700
1218
1219     Add ao_alarm
1220
1221 commit 251b0971f049cbf2f8db79a32729d47441ce65f3
1222 Author: Keith Packard <keithp@keithp.com>
1223 Date:   Fri Oct 30 23:45:43 2009 -0700
1224
1225     Wait for TX to finish sending data
1226
1227 commit 9b31f07fe3556896b3e997bba156e30ef5777a80
1228 Author: Keith Packard <keithp@keithp.com>
1229 Date:   Fri Oct 30 23:43:52 2009 -0700
1230
1231     Add radio carrier command
1232
1233 commit 7b14c3e609749f4fc00dbd660541375048535218
1234 Author: Keith Packard <keithp@keithp.com>
1235 Date:   Fri Oct 30 16:39:15 2009 -0700
1236
1237     Initial packet bits. Just testing transmission
1238
1239 commit 690fc263516d8beb6b24e86fbcd6588f42ce4e5c
1240 Author: Keith Packard <keithp@keithp.com>
1241 Date:   Wed Oct 21 17:18:49 2009 +0900
1242
1243     Add keyhole-markup generation for ao-postflight.
1244     
1245     This lets you see the flight path in googleearth.
1246     
1247     Signed-off-by: Keith Packard <keithp@keithp.com>
1248
1249 commit b657aa209b9ea3b3efd33a940283b3ba60a169af
1250 Author: Keith Packard <keithp@keithp.com>
1251 Date:   Fri Oct 16 12:59:53 2009 +0900
1252
1253     Add ao_wake_task and ao_exit
1254     
1255     ao_wake_task signals a specific task to wake up.
1256     ao_exit terminates the current task.
1257     
1258     Signed-off-by: Keith Packard <keithp@keithp.com>
1259
1260 commit d709a0688eff84e25e24d755850ef045d6b0c3de
1261 Author: Keith Packard <keithp@keithp.com>
1262 Date:   Fri Oct 16 12:56:45 2009 +0900
1263
1264     Save some DSEG space by marking cmd functions __reentrant
1265     
1266     __reentrant causes the compiler to place args and locals on the stack
1267     instead of in the data segment.
1268     
1269     Signed-off-by: Keith Packard <keithp@keithp.com>
1270
1271 commit 550482d953c491a5ede9f2d243493afb13289898
1272 Author: Bdale Garbee <bdale@gag.com>
1273 Date:   Mon Oct 12 16:58:46 2009 -0600
1274
1275     update changelogs for Debian build
1276
1277 commit 2de548f45d0f50b558acc83f57e1e2fc1223ab92
1278 Author: Bdale Garbee <bdale@gag.com>
1279 Date:   Mon Oct 12 16:58:19 2009 -0600
1280
1281     oops, forgot to specify the repo to push to
1282
1283 commit 68008ac11c2735ca53a1b474324df43f2f1d5cdd
1284 Author: Bdale Garbee <bdale@gag.com>
1285 Date:   Mon Oct 12 16:57:33 2009 -0600
1286
1287     update changelogs for Debian build
1288
1289 commit 513328ac5f7c25f9ee144ab6befbea60d69eed1a
1290 Author: Bdale Garbee <bdale@gag.com>
1291 Date:   Mon Oct 12 16:56:50 2009 -0600
1292
1293     automate push of updated and tagged master branch during debian/rules prebuild
1294
1295 commit 67bf7d388a6dd2dbf65575bf4f0423ad355b4f2f
1296 Author: Bdale Garbee <bdale@gag.com>
1297 Date:   Mon Oct 12 16:54:44 2009 -0600
1298
1299     update changelogs for Debian build
1300
1301 commit 23bc21a93ccb9f35917f283ac5df6ce0870df71a
1302 Author: Bdale Garbee <bdale@gag.com>
1303 Date:   Mon Oct 12 16:54:16 2009 -0600
1304
1305     undue damage from partial build
1306
1307 commit 7da56ad8576ef212ffb6cb573bdaf578453e3fe0
1308 Author: Bdale Garbee <bdale@gag.com>
1309 Date:   Mon Oct 12 16:52:52 2009 -0600
1310
1311     add support for tagging git repository on each Debian package build
1312
1313 commit 8d4aa4ee54f85f4951cdd7293d58aaa405cfcdc5
1314 Author: Bdale Garbee <bdale@gag.com>
1315 Date:   Mon Oct 12 16:49:34 2009 -0600
1316
1317     update changelogs for Debian build
1318
1319 commit 241a860fe856b1dfad6e792736313648300d5c24
1320 Author: Bdale Garbee <bdale@gag.com>
1321 Date:   Mon Oct 12 16:48:43 2009 -0600
1322
1323     flush repetitive junk out of debian/changelog, and update the prebuild target
1324     in debian/rules to put git commit details into the Debian changelog
1325
1326 commit 6c4cdc927b43736b39be29d23ac3dc723f69e4d6
1327 Author: Bdale Garbee <bdale@gag.com>
1328 Date:   Mon Oct 12 15:57:19 2009 -0600
1329
1330     update changelogs for Debian build
1331
1332 commit c57bd7fd2f80e50b0b4c87fccb024ab07c93773d
1333 Merge: adf8764 2b76572
1334 Author: Bdale Garbee <bdale@gag.com>
1335 Date:   Mon Oct 12 15:57:08 2009 -0600
1336
1337     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1338
1339 commit 69b6f6bb465163cf767bb68e0e4a716d8ad2b39c
1340 Merge: bc77da6 2b76572
1341 Author: Keith Packard <keithp@keithp.com>
1342 Date:   Sat Oct 10 17:16:21 2009 -0700
1343
1344     Merge branch 'master' into skytraq
1345
1346 commit 2b765728ce177e26899f6feef00bfdf6aeaf2678
1347 Author: Keith Packard <keithp@keithp.com>
1348 Date:   Sat Oct 10 17:15:38 2009 -0700
1349
1350     Add apogee igniter delay.
1351     
1352     Provide for a delay after apogee before the drogue charge is
1353     fired. This allows TM to be used as a back-up altimeter.
1354     
1355     Signed-off-by: Keith Packard <keithp@keithp.com>
1356
1357 commit bc77da68c9cb7d4cca483eadbbb7e9ccf71c0060
1358 Merge: 46cccf6 8f7ea3d
1359 Author: Keith Packard <keithp@keithp.com>
1360 Date:   Sat Oct 10 15:09:48 2009 -0700
1361
1362     Merge branch 'master' into skytraq
1363
1364 commit 8f7ea3de7037f40b0ff462b60d503c19431ae62b
1365 Author: Keith Packard <keithp@keithp.com>
1366 Date:   Sat Oct 10 15:08:14 2009 -0700
1367
1368     Report igniter continuity in pad/idle mode via beeper
1369     
1370     one short beep = drogue
1371     two short beeps = main
1372     three short beeps = both
1373     one long warble = neither
1374     
1375     In idle mode, it does this just once. In pad mode, it keeps testing
1376     and reporting.
1377     
1378     Signed-off-by: Keith Packard <keithp@keithp.com>
1379
1380 commit adf8764bc4591795ba4e618ccbd6393fc6ce6450
1381 Author: Bdale Garbee <bdale@gag.com>
1382 Date:   Sat Oct 10 15:11:23 2009 -0600
1383
1384     update changelogs for Debian build
1385
1386 commit 541da6f3bbf81be93dfe3c01f7c8cfd757b28a2b
1387 Merge: dfc73cb 5f26ad6
1388 Author: Bdale Garbee <bdale@gag.com>
1389 Date:   Sat Oct 10 15:05:50 2009 -0600
1390
1391     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1392
1393 commit 46cccf62fb40514b5930fcb2ffdaf2735415c764
1394 Merge: fb8f3fe 5f26ad6
1395 Author: Keith Packard <keithp@keithp.com>
1396 Date:   Sat Oct 10 14:00:03 2009 -0700
1397
1398     Merge branch 'master' into skytraq
1399
1400 commit 5f26ad663b3f60dddc9d967206e365f45dc4acd1
1401 Author: Keith Packard <keithp@keithp.com>
1402 Date:   Sat Oct 10 13:58:16 2009 -0700
1403
1404     ao-dumplog: switch to 'e' command, display progress
1405     
1406     Using the 'e' command allows additional checking of the data,
1407     including end-to-end checksums and detection of missing data.
1408     
1409     Progress is displayed by showing the recorded flight state along with
1410     a '.' for each eeprom block read.
1411     
1412     Signed-off-by: Keith Packard <keithp@keithp.com>
1413
1414 commit fb8f3fee6a1bab1e46d782e84405845cee2dadb4
1415 Merge: 22856cf b8fc397
1416 Author: Keith Packard <keithp@keithp.com>
1417 Date:   Sat Oct 10 13:41:00 2009 -0700
1418
1419     Merge branch 'master' into skytraq
1420
1421 commit b8fc3975bd92037a0cf53b0ff2b0e05ce0ba668f
1422 Author: Keith Packard <keithp@keithp.com>
1423 Date:   Sat Oct 10 13:39:01 2009 -0700
1424
1425     Send 0-length IN packet to flush USB after full packet
1426     
1427     USB bulk transfers are a sequence of maximum-sized packets followed by
1428     a short packet, which signals the end of the transfer. When the last
1429     packet of the transfer would be a full-sized packet, an additional
1430     packet of zero length is sent to signal the transfer end.
1431     
1432     Signed-off-by: Keith Packard <keithp@keithp.com>
1433
1434 commit 22856cf8bb0f5e1f37c9b774132d9ef6934526ed
1435 Merge: 2f76034 e29961f
1436 Author: Keith Packard <keithp@keithp.com>
1437 Date:   Sat Oct 10 11:44:20 2009 -0700
1438
1439     Merge branch 'master' into skytraq
1440
1441 commit e29961fdb2a48874c895829880eadbf13e094c0c
1442 Author: Keith Packard <keithp@keithp.com>
1443 Date:   Sat Oct 10 11:43:31 2009 -0700
1444
1445     Add channel menu to ao-view.
1446     
1447     Sets radio channel when TD is connected, saves selected channel in
1448     gconf database.
1449     
1450     Signed-off-by: Keith Packard <keithp@keithp.com>
1451
1452 commit 2f7603490a169df8f18b565db4fa967832ffc9bd
1453 Author: Keith Packard <keithp@keithp.com>
1454 Date:   Fri Oct 9 22:48:29 2009 -0700
1455
1456     Build two versions of TM, one for SiRF, one for SkyTraq
1457     
1458     This creates two separate images, depending on which GPS unit is
1459     connected.
1460     
1461     Signed-off-by: Keith Packard <keithp@keithp.com>
1462
1463 commit 33b0b6f2f2e07de105619a7b463226d2813152ab
1464 Author: Keith Packard <keithp@keithp.com>
1465 Date:   Fri Oct 9 22:02:40 2009 -0700
1466
1467     Add support for the SkyTraq GPS unit
1468     
1469     This is a build-time option selected by hacking the Makefile at present.
1470     
1471     Signed-off-by: Keith Packard <keithp@keithp.com>
1472
1473 commit a3771bfc5ce740f9d89193e9f8b1d7987aa57264
1474 Author: Keith Packard <keithp@keithp.com>
1475 Date:   Tue Oct 6 20:06:00 2009 -0700
1476
1477     ao-view: fix snd_pcm_open return checking
1478     
1479     I don't know how this code was supposed to work before...
1480     
1481     Signed-off-by: Keith Packard <keithp@keithp.com>
1482
1483 commit ac4b8a73848f434999a532eab4665253c267c597
1484 Author: Keith Packard <keithp@keithp.com>
1485 Date:   Tue Oct 6 20:05:36 2009 -0700
1486
1487     ao-postflight: dump out GPS signal data
1488     
1489     Signed-off-by: Keith Packard <keithp@keithp.com>
1490
1491 commit dfc73cba1bee8b121e00e8cba45e7dfaaf79e9d8
1492 Author: Bdale Garbee <bdale@gag.com>
1493 Date:   Mon Sep 21 22:46:59 2009 -0700
1494
1495     update changelogs for Debian build
1496
1497 commit 459ff3d377297f80ee2fba0df0a29ff6603467a1
1498 Author: Bdale Garbee <bdale@gag.com>
1499 Date:   Mon Sep 21 11:00:32 2009 -0700
1500
1501     update changelogs for Debian build
1502
1503 commit 327c64305a59f48ababf19875874a550af6b9cef
1504 Merge: c8a81a4 74f0fb4
1505 Author: Bdale Garbee <bdale@gag.com>
1506 Date:   Mon Sep 21 11:00:22 2009 -0700
1507
1508     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1509
1510 commit 74f0fb4dd189abc1d5027c64fa5a648a6003285a
1511 Author: Keith Packard <keithp@keithp.com>
1512 Date:   Sun Sep 20 13:33:59 2009 -0700
1513
1514     make bit-banging reset script actually reset
1515
1516 commit 7ea371a09385e2a93199f78685e8cb86793ed104
1517 Author: Keith Packard <keithp@keithp.com>
1518 Date:   Sun Sep 20 13:33:26 2009 -0700
1519
1520     Add --gps option to ao-postflight
1521
1522 commit bc7ccb339e538a0e6120db0e5c0d9130c565e0dd
1523 Author: Keith Packard <keithp@keithp.com>
1524 Date:   Sun Sep 20 13:32:59 2009 -0700
1525
1526     ao_rawload: Don't reset after we finish loading
1527
1528 commit c8a81a419f7f2331624f90bd6c107a86f6b04451
1529 Author: Bdale Garbee <bdale@gag.com>
1530 Date:   Sun Sep 20 09:21:00 2009 -0600
1531
1532     update changelogs for Debian build
1533
1534 commit df42ccaaf468cdc5d93cbd1c001f58df58419722
1535 Merge: 0b24e40 078e9cd
1536 Author: Bdale Garbee <bdale@gag.com>
1537 Date:   Sun Sep 20 09:19:28 2009 -0600
1538
1539     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1540
1541 commit 078e9cdbdb388b22c6151f76ff0660fc14b8ef55
1542 Author: Keith Packard <keithp@keithp.com>
1543 Date:   Thu Sep 10 11:53:06 2009 -0700
1544
1545     Plot raw accel data for the motor accel section.
1546     
1547     This shows a short sequence of accelerometer data without any filtering.
1548     
1549     Signed-off-by: Keith Packard <keithp@keithp.com>
1550
1551 commit 8b485d937ff148848ebda7f9ca6be29bb1de1f16
1552 Author: Keith Packard <keithp@keithp.com>
1553 Date:   Sun Sep 6 21:02:48 2009 -0700
1554
1555     Show acceleration only during boost phase.
1556     
1557     We're interested in motor performance; the rest of the flight is
1558     boring, after all.
1559     
1560     Signed-off-by: Keith Packard <keithp@keithp.com>
1561
1562 commit 9e660315e1bd2bf71ab1c0574e895e1f7608a58f
1563 Author: Keith Packard <keithp@keithp.com>
1564 Date:   Sun Sep 6 21:01:44 2009 -0700
1565
1566     Fix cc_period_make to not get stuck on samples with matching time
1567     
1568     When two samples have matching times, step to the second one;
1569     otherwise, we'll get stuck forever.
1570     
1571     Signed-off-by: Keith Packard <keithp@keithp.com>
1572
1573 commit 932f1539b38567e565fd484171c13539b1467308
1574 Author: Keith Packard <keithp@keithp.com>
1575 Date:   Sun Sep 6 20:26:17 2009 -0700
1576
1577     Color plots, integrate only flight portion of data.
1578     
1579     Telemetry files have piles of pad data which shouldn't be integrated
1580     into the velocity data as it tends to generate huge values from the
1581     noise of the sensor.
1582     
1583     Also make the data lines colored to keep them visually distinct from
1584     the rest of the plot image.
1585     
1586     Signed-off-by: Keith Packard <keithp@keithp.com>
1587
1588 commit 9177f5f4e9d832558ddd9ab227c4511f6201e7e5
1589 Author: Keith Packard <keithp@keithp.com>
1590 Date:   Sun Sep 6 18:11:24 2009 -0700
1591
1592     Update usage and man page for ao-postflight
1593
1594 commit 0b24e4034f93010372a3d084668d10f0e4a2c2e1
1595 Author: Bdale Garbee <bdale@gag.com>
1596 Date:   Sun Sep 6 18:01:20 2009 -0600
1597
1598     update changelogs for Debian build
1599
1600 commit a5e94aa0677070a051714443cf7fd7e2b5e90269
1601 Author: Bdale Garbee <bdale@gag.com>
1602 Date:   Sun Sep 6 17:59:47 2009 -0600
1603
1604     need a run-time dependency to pull in the cairo module
1605
1606 commit 97acef95cc9843998963921459fdd71dd7eaa6b4
1607 Author: Bdale Garbee <bdale@gag.com>
1608 Date:   Sun Sep 6 17:48:23 2009 -0600
1609
1610     update changelogs for Debian build
1611
1612 commit 3f95a5abbf8ada70328ced45fbb2781ed1cb3d29
1613 Author: Bdale Garbee <bdale@gag.com>
1614 Date:   Sun Sep 6 17:48:10 2009 -0600
1615
1616     more build deps for plotting lib
1617
1618 commit 9d7e96e323d652de08b2f2a73e0eb3c321080185
1619 Author: Bdale Garbee <bdale@gag.com>
1620 Date:   Sun Sep 6 17:47:56 2009 -0600
1621
1622     update changelogs for Debian build
1623
1624 commit ae4e131b61244e06020b82919e31e05dd7dba88f
1625 Author: Bdale Garbee <bdale@gag.com>
1626 Date:   Sun Sep 6 17:46:39 2009 -0600
1627
1628     update changelogs for Debian build
1629
1630 commit 37e6c9a492a1d51373bf9333fb3172e0c377720f
1631 Merge: d256f82 2e6686b
1632 Author: Bdale Garbee <bdale@gag.com>
1633 Date:   Sun Sep 6 17:46:10 2009 -0600
1634
1635     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1636
1637 commit 2e6686b1e183c66188ea447b8a54e4c29402443b
1638 Author: Keith Packard <keithp@keithp.com>
1639 Date:   Sun Sep 6 16:45:47 2009 -0700
1640
1641     Use plplotd instead of plplotd-gnome2
1642
1643 commit d256f8204e9fce53ae4309562bb4c0cde1fae43e
1644 Merge: 0fc344d 32d3536
1645 Author: Bdale Garbee <bdale@gag.com>
1646 Date:   Sun Sep 6 17:34:08 2009 -0600
1647
1648     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1649
1650 commit 32d3536706324808df6cd02248a236302b831571
1651 Author: Keith Packard <keithp@keithp.com>
1652 Date:   Sun Sep 6 16:24:35 2009 -0700
1653
1654     Add plots to ao-postflight using the plplot library
1655     
1656     It's not perfect, but it generates .svg plot output.
1657     
1658     Signed-off-by: Keith Packard <keithp@keithp.com>
1659
1660 commit 0fc344dfc031a8b1eef7cc40efb1d5ba7782269d
1661 Author: Bdale Garbee <bdale@gag.com>
1662 Date:   Sun Sep 6 14:15:57 2009 -0600
1663
1664     update changelogs for Debian build
1665
1666 commit 4b0de757874c0ecaf38e3dfd3beefc398150e3d5
1667 Merge: 773c4ff d0eac98
1668 Author: Bdale Garbee <bdale@gag.com>
1669 Date:   Sun Sep 6 14:15:53 2009 -0600
1670
1671     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1672
1673 commit d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b
1674 Author: Keith Packard <keithp@keithp.com>
1675 Date:   Sun Sep 6 13:15:10 2009 -0700
1676
1677     Don't look at NULL strings (summary_name)
1678     
1679     Signed-off-by: Keith Packard <keithp@keithp.com>
1680
1681 commit 73f4a57239f770aff603b961169c0e2cfe2c276b
1682 Author: Keith Packard <keithp@keithp.com>
1683 Date:   Sun Sep 6 13:08:54 2009 -0700
1684
1685     Use pressure speed for drogue and beyond states. Fix differentiation time.
1686     
1687     Drogue state should always use pressure speeds.
1688     
1689     Differentiation code was using centi-seconds instead of seconds.
1690     
1691     Signed-off-by: Keith Packard <keithp@keithp.com>
1692
1693 commit 773c4ffbc1d2e02eb02cfa543a077a408986da30
1694 Author: Bdale Garbee <bdale@gag.com>
1695 Date:   Sun Sep 6 14:05:55 2009 -0600
1696
1697     update changelogs for Debian build
1698
1699 commit 45ede4a4b203ef9da5bf05c49cb9c5a2e6382ec5
1700 Merge: 45e2938 e35e485
1701 Author: Bdale Garbee <bdale@gag.com>
1702 Date:   Sun Sep 6 14:05:51 2009 -0600
1703
1704     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1705
1706 commit e35e485ffe6b26034788ab295121bc2693b7eec1
1707 Author: Keith Packard <keithp@keithp.com>
1708 Date:   Sun Sep 6 13:04:31 2009 -0700
1709
1710     Initialize summary_name and detail_name so stuff appears on stdout.
1711     
1712     Uninitialized variables lead to mysterious results.
1713     
1714     Signed-off-by: Keith Packard <keithp@keithp.com>
1715
1716 commit 45e2938121411d1fc9b3aec3fdeaaeb3c90db5ed
1717 Author: Bdale Garbee <bdale@gag.com>
1718 Date:   Sun Sep 6 14:02:14 2009 -0600
1719
1720     update changelogs for Debian build
1721
1722 commit d42ebf0661ecf15455e5051de1e16ae66f8dd857
1723 Merge: 384dbe9 7a19aac
1724 Author: Bdale Garbee <bdale@gag.com>
1725 Date:   Sun Sep 6 14:02:09 2009 -0600
1726
1727     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1728
1729 commit 7a19aac5e881e635962a64fff73027ca2143b96f
1730 Author: Keith Packard <keithp@keithp.com>
1731 Date:   Sun Sep 6 12:51:48 2009 -0700
1732
1733     Add DSP code to filter data, allowing for integration/differentiation
1734     
1735     This adds the computation of speed from both accelerometer and
1736     barometer measurements and then presents a periodic flight profile
1737     using filtered data as a detailed flight record.
1738     
1739     Signed-off-by: Keith Packard <keithp@keithp.com>
1740
1741 commit 384dbe9fc7fa8e4e5dceec5e150f0f1d3383bbdc
1742 Author: Bdale Garbee <bdale@gag.com>
1743 Date:   Sun Sep 6 10:40:06 2009 -0600
1744
1745     update changelogs for Debian build
1746
1747 commit 35c54b3a278fa9bc2bc7f4b5ee04866697c93ba0
1748 Merge: 4f8eff7 6d018ab
1749 Author: Bdale Garbee <bdale@gag.com>
1750 Date:   Sun Sep 6 10:39:23 2009 -0600
1751
1752     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1753
1754 commit 6d018ab933832e2d80bb1564c339d9fb18b57be2
1755 Author: Keith Packard <keithp@keithp.com>
1756 Date:   Sat Sep 5 22:45:49 2009 -0700
1757
1758     Handle vageries of .telem files in ao-postflight
1759     
1760     Telem files have multiple entries of the same state, and sometimes
1761     long gaps between recordings. Deal with this as best as possible.
1762     
1763     Signed-off-by: Keith Packard <keithp@keithp.com>
1764
1765 commit c46e832b28820d7c5be4efaacbbd7c0607927fe5
1766 Author: Keith Packard <keithp@keithp.com>
1767 Date:   Sat Sep 5 22:03:31 2009 -0700
1768
1769     Add simple post-flight analysis tool (ao-postflight)
1770     
1771     This tool reads either an eeprom or telem log file and displays some
1772     rudimentary data (max accel/alt for each flight stage).
1773     
1774     Signed-off-by: Keith Packard <keithp@keithp.com>
1775
1776 commit 26f56b51bd11aa91f1d77b81827b49c28cb6ec5f
1777 Author: Keith Packard <keithp@keithp.com>
1778 Date:   Sat Sep 5 00:29:26 2009 -0700
1779
1780     Add ao-dumplog to capture flight log from command line
1781     
1782     This duplicates the functionality of the flight log stuf in ao-view,
1783     except from the command line where it belongs.
1784     
1785     Signed-off-by: Keith Packard <keithp@keithp.com>
1786
1787 commit 73adae3661160d410dcc802873b530d255c210e5
1788 Author: Keith Packard <keithp@keithp.com>
1789 Date:   Fri Sep 4 15:30:22 2009 -0700
1790
1791     Add --device/-D support to the command line tools and manuals
1792     
1793     Use the new cc_usbdevs_find_by_arg function to locate suitable target
1794     devices connected via USB.
1795     
1796     Signed-off-by: Keith Packard <keithp@keithp.com>
1797
1798 commit 4f8eff7401ee2d8092ab36fa33411f9b23dda880
1799 Author: Bdale Garbee <bdale@gag.com>
1800 Date:   Fri Sep 4 16:03:55 2009 -0600
1801
1802     update changelogs for Debian build
1803
1804 commit 332b056459b1352e233a8bf5f08498df12d32160
1805 Author: Keith Packard <keithp@keithp.com>
1806 Date:   Fri Sep 4 15:01:32 2009 -0700
1807
1808     'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.
1809     
1810     The kernel appears to leave serial data undelivered at times. Reading
1811     two blocks at once appears to make it relinquish the queued data.
1812     
1813     Signed-off-by: Keith Packard <keithp@keithp.com>
1814
1815 commit df88ae4c5f229efcc0ea5cb0a81fc2bb8f96fea2
1816 Author: Keith Packard <keithp@keithp.com>
1817 Date:   Fri Sep 4 14:23:02 2009 -0700
1818
1819     Add 'ao-list' utility to show attached AltOS devices
1820     
1821     Signed-off-by: Keith Packard <keithp@keithp.com>
1822
1823 commit 0935d6a7e907e20381a42882ae728051f9bece02
1824 Author: Keith Packard <keithp@keithp.com>
1825 Date:   Fri Sep 4 14:21:19 2009 -0700
1826
1827     Parse the USB serial number as an integer.
1828     
1829     AltOS devices use simple integer serial numbers, so parse the USB
1830     value as such to make matching values more forgiving.
1831     
1832     Signed-off-by: Keith Packard <keithp@keithp.com>
1833
1834 commit 0c771d999914f9d17c723900f2987acc45fd0fbb
1835 Author: Keith Packard <keithp@keithp.com>
1836 Date:   Fri Sep 4 13:00:02 2009 -0700
1837
1838     Move usb scanning code to ao-tools library
1839     
1840     This will allow the scanning code to be used by the command line tools
1841     as well as the ao-view GUI.
1842     
1843     Now that ao-view depends on the ao-tools library, it has been moved to
1844     the ao-tools directory as well.
1845     
1846     Signed-off-by: Keith Packard <keithp@keithp.com>
1847
1848 commit 15341b6e6dcf52df083d6aa37ef881ea6ad48ee5
1849 Author: Keith Packard <keithp@keithp.com>
1850 Date:   Fri Sep 4 12:25:37 2009 -0700
1851
1852     Set all of the values to reset the radio for telemetry
1853     
1854     Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
1855     resetting the radio back to telemetry data mode from rdf mode. With
1856     the length value removed from the rdf config, these two arrays are no
1857     longer the same length, and so the last config value was not set
1858     leaving the radio sending garbage.
1859     
1860     Signed-off-by: Keith Packard <keithp@keithp.com>
1861
1862 commit fee46389b70a624ab5b1128a8b4c3083c7747bcb
1863 Author: Keith Packard <keithp@keithp.com>
1864 Date:   Fri Sep 4 11:46:55 2009 -0700
1865
1866     Make RDF beacon only run on pad and after landing.
1867     
1868     It's pretty much impossible to RDF the rocket during flight, and it
1869     interferes with the telemetry data stream. Leave it enabled on the pad
1870     so that radios can be tested, and then re-enable it once the rocket
1871     has landed.
1872     
1873     This patch also turns the rdf 'on' time into a parameter so it can be
1874     changed, and then sets that parameter to 500ms, once every 5 seconds.
1875     
1876     Signed-off-by: Keith Packard <keithp@keithp.com>
1877
1878 commit 54545640b0db7747137655f84bc67fd290ecb904
1879 Author: Keith Packard <keithp@keithp.com>
1880 Date:   Fri Sep 4 11:45:52 2009 -0700
1881
1882     Add back the RDF tone generator
1883     
1884     Tracking the rocket on the ground may be easier using tones than using
1885     the digital data stream, so we'll try that and see what we think.
1886     
1887     This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9.
1888     
1889     Signed-off-by: Keith Packard <keithp@keithp.com>
1890
1891 commit 9fafee109e96435c96639b21211cac0500673a63
1892 Author: Bdale Garbee <bdale@gag.com>
1893 Date:   Wed Sep 2 23:18:15 2009 -0600
1894
1895     update changelogs for Debian build
1896
1897 commit cb4a73f3b65ba72f645fd37ab8712829c9537bf8
1898 Merge: 9ddd869 e2e449d
1899 Author: Bdale Garbee <bdale@gag.com>
1900 Date:   Wed Sep 2 23:17:37 2009 -0600
1901
1902     Merge commit 'origin/master'
1903
1904 commit e2e449d5c23356e913f312de1fb2611a9dd5a352
1905 Author: Keith Packard <keithp@keithp.com>
1906 Date:   Wed Sep 2 22:01:52 2009 -0700
1907
1908     Remove bit-banging debug support from TM board builds
1909     
1910     Our current TM boards don't have the wires to do bit-banging to
1911     another cc1111 board, so it doesn't make sense to fill up their flash
1912     with useless code (and the 'help' text with useless commands). Leave
1913     this to the TI board until we have boards that can serve as debug dongles.
1914     
1915     Signed-off-by: Keith Packard <keithp@keithp.com>
1916
1917 commit acea083d80e1ecc4287083519ea666964016b257
1918 Author: Keith Packard <keithp@keithp.com>
1919 Date:   Wed Sep 2 22:00:37 2009 -0700
1920
1921     Make the ao_log_record structures 8 bytes again.
1922     
1923     When the GPS signal strength data was added, the structure was
1924     accidentally extended to 9 bytes, making all log records 9 bytes
1925     long. While not a serious problem, this left log records spanning
1926     across eeprom block boundaries, which seems like a bad plan.
1927     
1928     Signed-off-by: Keith Packard <keithp@keithp.com>
1929
1930 commit 7d39f17684feb49ac8a0017902158f298696e37c
1931 Author: Keith Packard <keithp@keithp.com>
1932 Date:   Wed Sep 2 21:57:54 2009 -0700
1933
1934     Make eeprom reads and writes across block boundary work
1935     
1936     Reading and writing across the block boundary was not stepping the
1937     eeprom position after the partial i/o operation at the end of the
1938     first block. This meant that the operation would re-use the end of the
1939     previous block, either re-reading or re-writing it.
1940     
1941     Signed-off-by: Keith Packard <keithp@keithp.com>
1942
1943 commit 9ddd8696b4004ccc03238d95a8c2a1d07075e0fb
1944 Author: Bdale Garbee <bdale@gag.com>
1945 Date:   Mon Aug 31 16:48:03 2009 -0600
1946
1947     update changelogs for Debian build
1948
1949 commit 6926c4ab5d87a8f2eb4fcde2c673fb3a4639e115
1950 Author: Bdale Garbee <bdale@gag.com>
1951 Date:   Mon Aug 31 16:47:44 2009 -0600
1952
1953     pixmap file should not be executable
1954
1955 commit 1495e2f27acde3743c3764a0c31ee082224d6c64
1956 Author: Bdale Garbee <bdale@gag.com>
1957 Date:   Mon Aug 31 16:42:55 2009 -0600
1958
1959     update changelogs for Debian build
1960
1961 commit c8c5b7963babe8eb16e2651fba9cd2c8d1cba74e
1962 Author: Bdale Garbee <bdale@gag.com>
1963 Date:   Mon Aug 31 16:42:37 2009 -0600
1964
1965     deliver an icon for the Debian menu system
1966
1967 commit 591b99c232e780246fc07841c09c8c4e7835facb
1968 Author: Bdale Garbee <bdale@gag.com>
1969 Date:   Mon Aug 31 16:26:00 2009 -0600
1970
1971     update changelogs for Debian build
1972
1973 commit b34474c1f3083e73b7184d519f54d4c8031836fd
1974 Merge: 8df1697 0d65bff
1975 Author: Bdale Garbee <bdale@gag.com>
1976 Date:   Mon Aug 31 16:25:32 2009 -0600
1977
1978     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1979
1980 commit 6358041f846ba9a20fa650c367d907dc4336e54c
1981 Author: Keith Packard <keithp@keithp.com>
1982 Date:   Sat Aug 22 13:38:56 2009 -0700
1983
1984     Enable GPS degraded mode, set 10 sec degraded timeout.
1985     
1986     No reason not to let the GPS report solutions whenever it likes, let's
1987     see how this works.
1988     
1989     Signed-off-by: Keith Packard <keithp@keithp.com>
1990
1991 commit 0d65bff443c17d4d98c18b620ec075ab66b30efd
1992 Author: Keith Packard <keithp@keithp.com>
1993 Date:   Fri Aug 21 10:47:46 2009 -0700
1994
1995     Turn off GPS tracking data when not present in data stream
1996     
1997     Signed-off-by: Keith Packard <keithp@keithp.com>
1998
1999 commit 8df169791835510d96c11a3b0aa3cc5b79fa7fde
2000 Author: Bdale Garbee <bdale@gag.com>
2001 Date:   Wed Aug 19 02:21:23 2009 -0600
2002
2003     update changelogs for Debian build
2004
2005 commit 42ab6d52540d0326ef89e9d57954b08248558468
2006 Author: Bdale Garbee <bdale@gag.com>
2007 Date:   Wed Aug 19 02:21:06 2009 -0600
2008
2009     fix location for delivery of sources.list fragment
2010
2011 commit 977f5dc0bc7c666dcc1f21db77416efca0d696aa
2012 Author: Bdale Garbee <bdale@gag.com>
2013 Date:   Wed Aug 19 02:11:11 2009 -0600
2014
2015     update changelogs for Debian build
2016
2017 commit 8d4d6655f1b4c2fbc522fd255bfb75406e5ddaef
2018 Author: Bdale Garbee <bdale@gag.com>
2019 Date:   Wed Aug 19 02:11:00 2009 -0600
2020
2021     oops, aoview is now ao-view!
2022
2023 commit b9a97aea65f871fd287bc0bb566d8664766f4afd
2024 Author: Bdale Garbee <bdale@gag.com>
2025 Date:   Wed Aug 19 02:07:16 2009 -0600
2026
2027     update changelogs for Debian build
2028
2029 commit 21e3dd0affac89919e5d0e29c6e9eb1eacb51801
2030 Author: Bdale Garbee <bdale@gag.com>
2031 Date:   Wed Aug 19 02:06:49 2009 -0600
2032
2033     enable support for Debian menus
2034
2035 commit 0087c1776e0253fc2bd3b86f15bf9d1b32bdc45a
2036 Author: Bdale Garbee <bdale@gag.com>
2037 Date:   Wed Aug 19 00:52:57 2009 -0600
2038
2039     update changelogs for Debian build
2040
2041 commit 4486d9156e19e4280b42bcd422d81d04f2d04a92
2042 Merge: dd09f0b 33edd62
2043 Author: Bdale Garbee <bdale@gag.com>
2044 Date:   Wed Aug 19 00:49:24 2009 -0600
2045
2046     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
2047
2048 commit 33edd62992a32b0ec8ca66d879fa300871db5937
2049 Author: Keith Packard <keithp@keithp.com>
2050 Date:   Tue Aug 18 23:38:16 2009 -0700
2051
2052     Update ao-view to add GPS satellite tracking data
2053     
2054     This adds another column to the display to hold per-satellite GPS
2055     tracking data and a count of the visible and locked sats.
2056     
2057     Signed-off-by: Keith Packard <keithp@keithp.com>
2058
2059 commit 29687cbd462a332d9a36ed87500c5b737dcae3f4
2060 Author: Keith Packard <keithp@keithp.com>
2061 Date:   Tue Aug 18 22:35:15 2009 -0700
2062
2063     Handle GPS satellite tracking data
2064     
2065     SiRF message #4 includes signal strength and GPS engine state for each
2066     of the satellites being tracked. This data is now parsed and sent to
2067     eeprom and the radio.
2068     
2069     Signed-off-by: Keith Packard <keithp@keithp.com>
2070
2071 commit dd09f0bc2b950c00f3b489878cd69ad8a003f46c
2072 Author: Bdale Garbee <bdale@gag.com>
2073 Date:   Tue Aug 18 21:57:01 2009 -0600
2074
2075     update changelogs for Debian build
2076
2077 commit cd5ce661e2a8f9694933358ccb5b916fbed089c2
2078 Author: Bdale Garbee <bdale@gag.com>
2079 Date:   Tue Aug 18 21:49:39 2009 -0600
2080
2081     add support for building Debian package
2082
2083 commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
2084 Merge: b3b2d3c 7d4ceb7
2085 Author: Bdale Garbee <bdale@gag.com>
2086 Date:   Tue Aug 18 18:56:09 2009 -0600
2087
2088     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
2089
2090 commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
2091 Author: Keith Packard <keithp@keithp.com>
2092 Date:   Tue Aug 18 17:55:22 2009 -0700
2093
2094     Add ao-ejection.1 man page
2095     
2096     Document the input requirements and output format
2097     
2098     Signed-off-by: Keith Packard <keithp@keithp.com>
2099
2100 commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
2101 Merge: 4685fc5 da12b89
2102 Author: Bdale Garbee <bdale@gag.com>
2103 Date:   Tue Aug 18 18:36:03 2009 -0600
2104
2105     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
2106
2107 commit da12b89fb056a68e65ba363fef91d266727cb685
2108 Author: Keith Packard <keithp@keithp.com>
2109 Date:   Tue Aug 18 17:30:43 2009 -0700
2110
2111     Create ChangeLog from git log
2112
2113 commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
2114 Author: Keith Packard <keithp@keithp.com>
2115 Date:   Tue Aug 18 17:29:29 2009 -0700
2116
2117     Fix ao-bitbang examples to not have . in the first column
2118
2119 commit 4685fc541466afbeefc151bcb64cd054739c048b
2120 Merge: 1c2a0b6 c29275b
2121 Author: Bdale Garbee <bdale@gag.com>
2122 Date:   Tue Aug 18 18:09:38 2009 -0600
2123
2124     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
2125     
2126     Conflicts:
2127         ao-tools/ao-bitbang/Makefile.am
2128         ao-tools/ao-eeprom/Makefile.am
2129         ao-tools/ao-load/Makefile.am
2130         ao-tools/ao-load/ao-load.c
2131         ao-tools/ao-rawload/Makefile.am
2132
2133 commit c29275b72438637d46d7a50742882d2736eb176a
2134 Author: Keith Packard <keithp@keithp.com>
2135 Date:   Tue Aug 18 15:21:57 2009 -0700
2136
2137     Add manual pages for remaining commands.
2138     
2139     Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
2140     ao-view.
2141     
2142     Manual for ao-dbg updated to reflect program name change.
2143     
2144     Signed-off-by: Keith Packard <keithp@keithp.com>
2145
2146 commit 9b03d620722dc54630539afba40720c30de69b2d
2147 Author: Keith Packard <keithp@keithp.com>
2148 Date:   Tue Aug 18 12:19:31 2009 -0700
2149
2150     Use --tty/-T on command line to specify target device
2151     
2152     Also, use the ALTOS_TTY environment variable in all tools. Note that
2153     the magic value of "BITBANG" switches the library to connecting
2154     through a CP2103 instead.
2155     
2156     Signed-off-by: Keith Packard <keithp@keithp.com>
2157
2158 commit 7c790fe859dff062692964338091ffbbcdf63257
2159 Author: Keith Packard <keithp@keithp.com>
2160 Date:   Tue Aug 18 12:40:24 2009 -0700
2161
2162     Rename tools to ao-<foo>
2163     
2164     Use a consistent prefix to make it easier to remember which programs
2165     belong to this package
2166     
2167     Signed-off-by: Keith Packard <keithp@keithp.com>
2168
2169 commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
2170 Author: Keith Packard <keithp@keithp.com>
2171 Date:   Tue Aug 18 13:36:54 2009 -0700
2172
2173     re-add debugger sources
2174
2175 commit 9a9cce5510b87252f863239ac807b9fb4395b288
2176 Author: Keith Packard <keithp@keithp.com>
2177 Date:   Tue Aug 18 12:19:31 2009 -0700
2178
2179     Start working on using getopt for the tty name
2180
2181 commit 9789ca5e8caa9a013e804f307b9da380e147bd75
2182 Author: Keith Packard <keithp@keithp.com>
2183 Date:   Tue Aug 18 12:40:24 2009 -0700
2184
2185     Rename tools to ao-<foo>
2186     
2187     Use a consistent prefix to make it easier to remember which programs
2188     belong to this package
2189     
2190     Signed-off-by: Keith Packard <keithp@keithp.com>
2191
2192 commit a5782398d968e7cb11f7203afada7c216f233b3b
2193 Author: Keith Packard <keithp@keithp.com>
2194 Date:   Tue Aug 18 11:34:28 2009 -0700
2195
2196     Remove unused cctools code paths for old libusb and cp2103 ioctls.
2197     
2198     Communication with the CP2103 board has gone through three revisions,
2199     first using ioctls supported by the CP2103 kernel driver, then using
2200     the old synchronous usb library and now using the newer libusb
2201     asynchronous interface. There's no reason to keep shipping the old
2202     stale code now that the new stuff works reliably.
2203     
2204     Signed-off-by: Keith Packard <keithp@keithp.com>
2205
2206 commit 7cba411de0780c65e3490ab67186a514f0ea42ec
2207 Author: Keith Packard <keithp@keithp.com>
2208 Date:   Mon Aug 17 20:47:31 2009 -0700
2209
2210     test for sdcc, nickle and readline
2211     
2212     Signed-off-by: Keith Packard <keithp@keithp.com>
2213
2214 commit f48dcffae761700355a17b59345d55a60703f0c4
2215 Author: Keith Packard <keithp@keithp.com>
2216 Date:   Sun Aug 9 20:43:10 2009 -0700
2217
2218     Sync USB data after each memory write command
2219     
2220     This makes sure we flush the USB link often enough for the other end to keep
2221     up.
2222     
2223     Signed-off-by: Keith Packard <keithp@keithp.com>
2224
2225 commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
2226 Author: Keith Packard <keithp@keithp.com>
2227 Date:   Sun Aug 9 16:08:07 2009 -0700
2228
2229     Handle partial ALSA PCM writes
2230     
2231     The ALSA spec says that snd_pcm_writei will not return a partial write, but
2232     at least on the OLPC, that's not true. Deal with this.
2233     
2234     Signed-off-by: Keith Packard <keithp@keithp.com>
2235
2236 commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
2237 Author: Keith Packard <keithp@keithp.com>
2238 Date:   Sun Aug 9 15:55:19 2009 -0700
2239
2240     Check more alsa return statuses
2241
2242 commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
2243 Author: Keith Packard <keithp@keithp.com>
2244 Date:   Sat Jul 18 01:47:34 2009 -0700
2245
2246     Don't report distance to rocket without valid GPS
2247     
2248     When there's no valid GPS data, don't try to report the distance and bearing
2249     to the rocket after landing.
2250     
2251     Signed-off-by: Keith Packard <keithp@keithp.com>
2252
2253 commit fbcb7b20fa701a6e534d38e307839466545668e3
2254 Author: Keith Packard <keithp@keithp.com>
2255 Date:   Sat Jul 18 01:05:33 2009 -0700
2256
2257     Add B command to set serial baud rate
2258     
2259     Signed-off-by: Keith Packard <keithp@keithp.com>
2260
2261 commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
2262 Author: Keith Packard <keithp@keithp.com>
2263 Date:   Sat Jul 18 01:05:13 2009 -0700
2264
2265     Get rid of spaces after minus sign in climb value
2266
2267 commit 28be20cf914fb34dc3c776519708d0f02091764e
2268 Author: Keith Packard <keithp@keithp.com>
2269 Date:   Sat Jul 18 01:04:39 2009 -0700
2270
2271     Switch to 57600 baud for GPS data
2272
2273 commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
2274 Author: Keith Packard <keithp@keithp.com>
2275 Date:   Sat Jul 18 01:04:17 2009 -0700
2276
2277     Drain serial port before changing speed
2278     
2279     Signed-off-by: Keith Packard <keithp@keithp.com>
2280
2281 commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
2282 Author: Keith Packard <keithp@keithp.com>
2283 Date:   Sat Jul 18 00:44:42 2009 -0700
2284
2285     Display last known GPS coord while unlocked
2286     
2287     Signed-off-by: Keith Packard <keithp@keithp.com>
2288
2289 commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
2290 Author: Keith Packard <keithp@keithp.com>
2291 Date:   Sat Jul 18 00:44:01 2009 -0700
2292
2293     use g_source_destroy instead of free on serial object
2294
2295 commit 1e5e98bd8f5ea0bc15592de454e3629383462371
2296 Author: Keith Packard <keithp@keithp.com>
2297 Date:   Sat Jul 18 00:43:22 2009 -0700
2298
2299     Trim aoview_serial_set_callback args down to just port and callback
2300
2301 commit 08f37056deec25d77062bc411a04033401b033a5
2302 Author: Keith Packard <keithp@keithp.com>
2303 Date:   Fri Jul 17 22:11:03 2009 -0700
2304
2305     Reset GPS at boot time
2306
2307 commit 1150aa850f5a025b849556e32c4dddb27937d9af
2308 Author: Keith Packard <keithp@keithp.com>
2309 Date:   Fri Jul 17 22:10:43 2009 -0700
2310
2311     Fix up serial debug output
2312
2313 commit 2a7956a64935246475f92d44c08369e0230b676a
2314 Author: Keith Packard <keithp@keithp.com>
2315 Date:   Fri Jul 17 21:34:13 2009 -0700
2316
2317     Allow the GPS port to run at 4800 baud if desired
2318
2319 commit 8d650769c319261c97f5e68eff9138207b95c0f8
2320 Author: Keith Packard <keithp@keithp.com>
2321 Date:   Fri Jul 17 21:33:53 2009 -0700
2322
2323     Initialize the GPS serial protocol state
2324     
2325     Signed-off-by: Keith Packard <keithp@keithp.com>
2326
2327 commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
2328 Author: Keith Packard <keithp@keithp.com>
2329 Date:   Fri Jul 17 21:33:18 2009 -0700
2330
2331     Use uint8_t for comparisons to avoid int conversions
2332     
2333     Signed-off-by: Keith Packard <keithp@keithp.com>
2334
2335 commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
2336 Author: Keith Packard <keithp@keithp.com>
2337 Date:   Fri Jul 17 21:30:53 2009 -0700
2338
2339     Add AO_GPS_RUNNING state.
2340     
2341     This tracks whether the GPS receiver has ever sent a valid report to the
2342     flight computer, allowing the user to tell whether the GPS receiver is
2343     working at all.
2344     
2345     Signed-off-by: Keith Packard <keithp@keithp.com>
2346
2347 commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
2348 Author: Keith Packard <keithp@keithp.com>
2349 Date:   Fri Jul 17 21:25:35 2009 -0700
2350
2351     Add M command to monitor serial bytes
2352
2353 commit ddfa2308c0be4c002f982ae9da6032ee7854117d
2354 Author: Keith Packard <keithp@keithp.com>
2355 Date:   Fri Jul 17 21:24:45 2009 -0700
2356
2357     Support the not-connected GPS state
2358
2359 commit 34f148500df427c148188c0ada20bf914a7c74ba
2360 Author: Keith Packard <keithp@keithp.com>
2361 Date:   Fri Jul 17 19:23:10 2009 -0700
2362
2363     Use 57600 baud for GPS. Clean up gps init.
2364     
2365     Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
2366     to get from 4800 NMEA to 5760 SiRF.
2367     
2368     Also, eliminate threads from the gps test program.
2369     
2370     Signed-off-by: Keith Packard <keithp@keithp.com>
2371
2372 commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
2373 Author: Keith Packard <keithp@keithp.com>
2374 Date:   Fri Jul 17 17:09:20 2009 -0700
2375
2376     Try harder to get the GPS receiver serial link sync'd up.
2377     
2378     We cannot assume that the GPS receiver is in any particular state when it
2379     boots, so we try to send the serial configuration at several rates and hope
2380     that it eventually sees something that it likes.
2381     
2382     Signed-off-by: Keith Packard <keithp@keithp.com>
2383
2384 commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
2385 Author: Keith Packard <keithp@keithp.com>
2386 Date:   Fri Jul 17 17:06:18 2009 -0700
2387
2388     Rolling average for pad location. Say 'GPS ready'.
2389     
2390     Use a rolling average for the pad location, instead of just averaging all
2391     positions. This filters out old (presumably less accurate) values eventually.
2392     
2393     When enough GPS samples have been acquired, say 'GPS ready'.
2394     
2395     Signed-off-by: Keith Packard <keithp@keithp.com>
2396
2397 commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
2398 Author: Keith Packard <keithp@keithp.com>
2399 Date:   Fri Jul 17 16:22:51 2009 -0700
2400
2401     Split GPS data into a separate column
2402     
2403     Signed-off-by: Keith Packard <keithp@keithp.com>
2404
2405 commit 5f0179652e8bb85add9067e5253e981c60f2c51e
2406 Author: Keith Packard <keithp@keithp.com>
2407 Date:   Fri Jul 17 16:03:35 2009 -0700
2408
2409     Fix up SiRF parsing and test code so that it actually works
2410     
2411     Signed-off-by: Keith Packard <keithp@keithp.com>
2412
2413 commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
2414 Author: Keith Packard <keithp@keithp.com>
2415 Date:   Fri Jul 17 13:58:14 2009 -0700
2416
2417     Add host-side gps protocol testing program
2418
2419 commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
2420 Author: Keith Packard <keithp@keithp.com>
2421 Date:   Sat Jul 11 00:56:13 2009 -0700
2422
2423     Hook aoview directly to alsa
2424     
2425     This skips the flite internal audio stuff which opened and closed the audio
2426     device for each phrase. This caused the first part of some phrases to be
2427     missed when using an external audio device.
2428     
2429     Signed-off-by: Keith Packard <keithp@keithp.com>
2430
2431 commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
2432 Author: Keith Packard <keithp@keithp.com>
2433 Date:   Thu Jul 9 20:55:10 2009 -0700
2434
2435     Show speed. Format numbers. Timeout and report final status.
2436     
2437     The speed value is now shown in the top label bar. Ascent shows
2438     accelerometer-derived data, otherwise it's baro derived.
2439     
2440     All of the numbers displayed are now given sensible printf formats so they
2441     don't contain way too many digits.
2442     
2443     Instead of doing periodic reporting based on flight tick count, data is
2444     reported every 10 seconds based on wall time. After landing, or when no data
2445     have been received for a while, final flight information is spoken.
2446     
2447     Signed-off-by: Keith Packard <keithp@keithp.com>
2448
2449 commit 19630ef084866f4230e68ccf11284b30c68128b1
2450 Author: Keith Packard <keithp@keithp.com>
2451 Date:   Sun Jul 5 08:35:28 2009 -0700
2452
2453     Dont smash aoview_monitor_parse input buffer
2454
2455 commit e506ed4b6efb86eab50204658fcd433b987e3831
2456 Author: Keith Packard <keithp@keithp.com>
2457 Date:   Tue Jun 30 15:25:52 2009 -0700
2458
2459     Integrate flite into aoview directly. Fix great circle computation.
2460     
2461     Use a separate thread for flite rather than a separate program.
2462     Save voice state to gconf.
2463     Add filters for replay file selection
2464     
2465     Signed-off-by: Keith Packard <keithp@keithp.com>
2466
2467 commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
2468 Author: Keith Packard <keithp@keithp.com>
2469 Date:   Tue Jun 30 15:24:53 2009 -0700
2470
2471     Make window taller
2472
2473 commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
2474 Author: Keith Packard <keithp@keithp.com>
2475 Date:   Tue Jun 30 15:24:31 2009 -0700
2476
2477     Use 16kHz voice
2478
2479 commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
2480 Author: Keith Packard <keithp@keithp.com>
2481 Date:   Tue Jun 30 11:58:30 2009 -0700
2482
2483     Add telem replay and larger labels
2484     
2485     Replays telemetry files in real time
2486     Shows height/state/rssi in big values at the top.
2487     
2488     Signed-off-by: Keith Packard <keithp@keithp.com>
2489
2490 commit 566dde161385263700eaae51095eecfa9b5972ee
2491 Author: Keith Packard <keithp@keithp.com>
2492 Date:   Mon Jun 29 23:06:47 2009 -0700
2493
2494     Update aoview/.gitignore
2495     
2496     Signed-off-by: Keith Packard <keithp@keithp.com>
2497
2498 commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
2499 Author: Keith Packard <keithp@keithp.com>
2500 Date:   Mon Jun 29 23:05:27 2009 -0700
2501
2502     Use flite to announce flight state
2503     
2504     This uses the flite voice synthesis library from festival to announce
2505     altitude and speed information during the rocket flight.
2506     
2507     Signed-off-by: Keith Packard <keithp@keithp.com>
2508
2509 commit 527d7c803ed9597b210634018cb2eb9d048d9846
2510 Author: Keith Packard <keithp@keithp.com>
2511 Date:   Mon Jun 29 23:03:58 2009 -0700
2512
2513     Add GPS speed and error data to telemetry and aoview
2514     
2515     Having switched to the SiRF binary GPS format, the velocity and error data
2516     can now be displayed.
2517     
2518     Signed-off-by: Keith Packard <keithp@keithp.com>
2519
2520 commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
2521 Author: Keith Packard <keithp@keithp.com>
2522 Date:   Mon Jun 29 13:54:00 2009 -0700
2523
2524     Convert GPS to SiRF binary protocol.
2525     
2526     This switches the GPS unit from NMEA to SiRF protocol at startup and then
2527     parses the binary data. The binary data uses a different encoding of lat/lon
2528     than the NMEA strings, and so the telemetry and eeprom data formats change
2529     with this switch.
2530     
2531     Signed-off-by: Keith Packard <keithp@keithp.com>
2532
2533 commit 49bf37767d2453869f2ca2c0832d1124322c66e0
2534 Author: Keith Packard <keithp@keithp.com>
2535 Date:   Wed Jun 17 23:22:25 2009 -0700
2536
2537     Add ejection computation utility
2538     
2539     Signed-off-by: Keith Packard <keithp@keithp.com>
2540
2541 commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
2542 Author: Keith Packard <keithp@keithp.com>
2543 Date:   Wed Jun 17 13:55:23 2009 -0700
2544
2545     Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
2546     
2547     None of our boards have a 32kHz xtal oscillator, instead we use those pins
2548     (on Telemetrum) for the deployment firing circuits. The old clock
2549     initialization code was switching from the 32kHz RC oscillator to the 32kHz
2550     crystal and overriding our use of those pins.
2551     
2552     Signed-off-by: Keith Packard <keithp@keithp.com>
2553
2554 commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
2555 Author: Keith Packard <keithp@keithp.com>
2556 Date:   Sun Jun 14 17:25:34 2009 -0700
2557
2558     Some kernels reference USB ttys as tty/tty* instead of tty:tty*
2559     
2560     Signed-off-by: Keith Packard <keithp@keithp.com>
2561
2562 commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
2563 Author: Keith Packard <keithp@keithp.com>
2564 Date:   Sun Jun 14 16:45:19 2009 -0700
2565
2566     Rename state apogee -> coast
2567
2568 commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
2569 Author: Keith Packard <keithp@keithp.com>
2570 Date:   Sun Jun 14 16:39:28 2009 -0700
2571
2572     rename states. launchpad -> pad, coast -> fast
2573
2574 commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
2575 Author: Keith Packard <keithp@keithp.com>
2576 Date:   Sun Jun 14 16:36:29 2009 -0700
2577
2578     Disable monitor mode when communicating via usb
2579
2580 commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
2581 Author: Keith Packard <keithp@keithp.com>
2582 Date:   Thu Jun 4 14:38:45 2009 -0700
2583
2584     Format GPS seconds as %02d.%04d to avoid spaces in the value
2585     
2586     The aoview GPS parsing code doesn't deal well with spaces in the middle of
2587     the value, so pad the seconds field with a zero as needed.
2588     
2589     Signed-off-by: Keith Packard <keithp@keithp.com>
2590
2591 commit a0e6bfee635b64092262936c858542318f6fc6dc
2592 Author: Bdale Garbee <bdale@gag.com>
2593 Date:   Thu Jun 4 13:11:48 2009 -0600
2594
2595     newer INSTALL file pulled in by autogen.sh
2596
2597 commit cf1e258d52b878df10b51a047709b10ecd51a68e
2598 Author: Bdale Garbee <bdale@gag.com>
2599 Date:   Thu Jun 4 13:09:29 2009 -0600
2600
2601     add a distclean target to src/Makefile
2602
2603 commit 176052b7c14fcad067835ecb550778faf67cf4da
2604 Author: Bdale Garbee <bdale@gag.com>
2605 Date:   Thu Jun 4 13:07:10 2009 -0600
2606
2607     add lib to the front of the subdir list
2608
2609 commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
2610 Author: Keith Packard <keithp@keithp.com>
2611 Date:   Thu Jun 4 11:20:10 2009 -0700
2612
2613     Move build and debug tools to 'cctools' directory.
2614     
2615     These tools were merged in from the ccdbg package.
2616     
2617     Signed-off-by: Keith Packard <keithp@keithp.com>
2618
2619 commit 17d2432a8b9c15963cd3b821f025ad33972ef477
2620 Merge: 210dbaa 8a9a3f0
2621 Author: Keith Packard <keithp@keithp.com>
2622 Date:   Thu Jun 4 11:13:15 2009 -0700
2623
2624     Merge ccdbg and altos sources into one giant repository
2625     
2626     Keeping these separate isn't making things any easier.
2627     
2628     Signed-off-by: Keith Packard <keithp@keithp.com>
2629
2630 commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
2631 Author: Keith Packard <keithp@keithp.com>
2632 Date:   Thu Jun 4 10:41:34 2009 -0700
2633
2634     Use autotools, move altos to src subdir
2635     
2636     Signed-off-by: Keith Packard <keithp@keithp.com>
2637
2638 commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
2639 Author: Keith Packard <keithp@keithp.com>
2640 Date:   Thu Jun 4 10:25:30 2009 -0700
2641
2642     Make menu seperator insensitive
2643
2644 commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
2645 Author: Keith Packard <keithp@keithp.com>
2646 Date:   Wed Jun 3 17:07:34 2009 -0700
2647
2648     aoview: Add eeprom data fetching
2649     
2650     Fetches the last flight data from a TM device connected via USB and writes
2651     it to the flight log directory.
2652     
2653     Signed-off-by: Keith Packard <keithp@keithp.com>
2654
2655 commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
2656 Author: Keith Packard <keithp@keithp.com>
2657 Date:   Wed Jun 3 10:57:46 2009 -0700
2658
2659     Stop log dumping at flight end. Print 'end' at end of log.
2660     
2661     No reason to continue dumping data past the end of the flight now that the
2662     logging stuff has been demonstrated to work reliably. Also, to make
2663     automated log dumping easier, this prints out 'end' after the log data so
2664     that aoview knows when to stop reading.
2665     
2666     Signed-off-by: Keith Packard <keithp@keithp.com>
2667
2668 commit 35ac66969abe24ca23776618306a59fc17770e06
2669 Author: Keith Packard <keithp@keithp.com>
2670 Date:   Sun May 31 09:22:01 2009 -0700
2671
2672     Start adding bi-directional packet link
2673
2674 commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
2675 Author: Keith Packard <keithp@keithp.com>
2676 Date:   Thu May 28 23:17:33 2009 -0700
2677
2678     Eliminate RDF tone generation.
2679     
2680     Now that we have a viable telemetry-signal based RDF device via TeleDongle,
2681     there's no reason to continue to waste power and bandwidth with a NFM tone.
2682     
2683     Signed-off-by: Keith Packard <keithp@keithp.com>
2684
2685 commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
2686 Author: Keith Packard <keithp@keithp.com>
2687 Date:   Thu May 28 23:17:25 2009 -0700
2688
2689     Change .gitignore to match new aoload procedure
2690
2691 commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
2692 Author: Keith Packard <keithp@keithp.com>
2693 Date:   Wed May 27 22:01:37 2009 -0700
2694
2695     Leave serial number writing to aoload
2696     
2697     Instead of building per-serial hex files, leave that
2698     process to the new aoload program
2699     
2700     Signed-off-by: Keith Packard <keithp@keithp.com>
2701
2702 commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
2703 Author: Keith Packard <keithp@keithp.com>
2704 Date:   Wed May 27 21:53:15 2009 -0700
2705
2706     Add aoload to load serial-numbered altos binaries.
2707     
2708     aoload is a custom version of ccload which edits the data before sending it
2709     to the target machine, writing the target serial number into the data.
2710     
2711     Signed-off-by: Keith Packard <keithp@keithp.com>
2712
2713 commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
2714 Author: Keith Packard <keithp@keithp.com>
2715 Date:   Sat May 23 21:20:12 2009 -0700
2716
2717     Fix aoview telemetry GPS parsing code to use correct columns
2718     
2719     This code was trying to pull the GPS data from the wrong columns, causing
2720     aoview to fail to display GPS information.
2721     
2722     Signed-off-by: Keith Packard <keithp@keithp.com>
2723
2724 commit 26988c3e7acb2fa832810475e43e08fd2867459c
2725 Author: Keith Packard <keithp@keithp.com>
2726 Date:   Sat May 23 21:18:57 2009 -0700
2727
2728     Parse both telemetry or log data ao_flight_test
2729     
2730     Change the way data is fed from files to the flight test rig to handle
2731     either kind of input file.
2732     
2733     Signed-off-by: Keith Packard <keithp@keithp.com>
2734
2735 commit d6f5a0689023546464a71561f53fa2c943077c88
2736 Author: Keith Packard <keithp@keithp.com>
2737 Date:   Sat May 23 21:16:22 2009 -0700
2738
2739     Avoid 16-bit overflow in velocity computation.
2740     
2741     Adding two 16 bit integers together can wrap around to negative numbers,
2742     this resulted in velocity values which never decreased, making the switch
2743     from coast to apogee state not occur.
2744     
2745     Signed-off-by: Keith Packard <keithp@keithp.com>
2746
2747 commit aa6d87aeb616dd62f0debaded297232022b4f8bd
2748 Author: Keith Packard <keithp@keithp.com>
2749 Date:   Wed May 20 09:44:55 2009 -0700
2750
2751     Make file handling more general so it can be reused.
2752     
2753     The log file handling stuff will be useful for saving eeprom data, so pull
2754     it out of the real-time log handling code and make a general interface.
2755     
2756     Signed-off-by: Keith Packard <keithp@keithp.com>
2757
2758 commit b730c8bcbce649cdddba935e1112aaae538bc526
2759 Author: Keith Packard <keithp@keithp.com>
2760 Date:   Sun May 17 23:54:44 2009 -0700
2761
2762     Ignore aoview_glade.h
2763
2764 commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
2765 Author: Keith Packard <keithp@keithp.com>
2766 Date:   Sun May 17 23:36:21 2009 -0700
2767
2768     Transmit computed ground pressure and acceleration values
2769     
2770     These are the last two values relevant to figuring out the state of the
2771     flight computer, and as they are computed by averaging 10 seconds of 100Hz
2772     sample data, they're a lot more accurate than anything the receiver could do
2773     on its own.
2774     
2775     Signed-off-by: Keith Packard <keithp@keithp.com>
2776
2777 commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
2778 Author: Keith Packard <keithp@keithp.com>
2779 Date:   Sun May 17 23:18:09 2009 -0700
2780
2781     Provide install target
2782
2783 commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
2784 Author: Keith Packard <keithp@keithp.com>
2785 Date:   Sun May 17 23:13:20 2009 -0700
2786
2787     Embed glade file in executable
2788     
2789     This eliminates install issues nicely.
2790     
2791     Signed-off-by: Keith Packard <keithp@keithp.com>
2792
2793 commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
2794 Author: Keith Packard <keithp@keithp.com>
2795 Date:   Sun May 17 23:05:23 2009 -0700
2796
2797     Add About dialog to aoview.
2798     
2799     Signed-off-by: Keith Packard <keithp@keithp.com>
2800
2801 commit 0f3233c49f43cd4e372e613303919ce4d50255b2
2802 Author: Keith Packard <keithp@keithp.com>
2803 Date:   Sun May 17 22:44:19 2009 -0700
2804
2805     USB device names can contain '.' too
2806     
2807     Depending on the hierarchy of devices, names can contain '.', so allow those
2808     too.
2809     
2810     Signed-off-by: Keith Packard <keithp@keithp.com>
2811
2812 commit 33221277690e6ee30387c506c3f2b8237ed48efd
2813 Author: Keith Packard <keithp@keithp.com>
2814 Date:   Sun May 17 22:43:34 2009 -0700
2815
2816     scandir returns -1 on error
2817     
2818     In which case, the namelist is invalid, so don't look at it, and don't free
2819     it.
2820     
2821     Signed-off-by: Keith Packard <keithp@keithp.com>
2822
2823 commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
2824 Author: Keith Packard <keithp@keithp.com>
2825 Date:   Sun May 17 22:29:54 2009 -0700
2826
2827     Send computed accel/vel/pres values over the radio
2828     
2829     These computed values reflect what the flight computer is actually refering
2830     to for state changes, and will be useful in debugging the flight software as
2831     well as provide a filtered view of the data.
2832     
2833     Signed-off-by: Keith Packard <keithp@keithp.com>
2834
2835 commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
2836 Author: Keith Packard <keithp@keithp.com>
2837 Date:   Sun May 17 22:29:06 2009 -0700
2838
2839     Handle disappearing serial devices
2840     
2841     Put up a dialog when the serial open fails, and shut down monitoring when
2842     the serial device disappears while running.
2843     
2844     Signed-off-by: Keith Packard <keithp@keithp.com>
2845
2846 commit 69616104813fc5ba89fb3128d04fb9328961c59c
2847 Author: Keith Packard <keithp@keithp.com>
2848 Date:   Sun May 17 22:24:53 2009 -0700
2849
2850     While on the pad, zero out velocity every second
2851     
2852     We integrate acceleration to get velocity, but that means sitting on the pad
2853     for a long time can add substantial error to the velocity value. Each
2854     second, take the velocity value from a full second ago and subtract that out
2855     of the current velocity. Once we detect boost, this will stop, which means
2856     that as long as we detect boost within a second, we won't have subtracted
2857     out any "real" velocity.
2858     
2859     This keeps the pad velocity hovering around zero, which is pretty useful.
2860     
2861     Signed-off-by: Keith Packard <keithp@keithp.com>
2862
2863 commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
2864 Author: Keith Packard <keithp@keithp.com>
2865 Date:   Sun May 17 01:29:06 2009 -0700
2866
2867     Clear table, reset log on disconnect
2868
2869 commit 4316b6af86b37522038e642235c163fcaad52e96
2870 Author: Keith Packard <keithp@keithp.com>
2871 Date:   Sun May 17 01:28:16 2009 -0700
2872
2873     Add pad lat/lon, max accel, max height
2874     
2875     Signed-off-by: Keith Packard <keithp@keithp.com>
2876
2877 commit 4348281bd788a13ea700413537f12da3c00356e4
2878 Author: Keith Packard <keithp@keithp.com>
2879 Date:   Sun May 17 00:46:09 2009 -0700
2880
2881     Clean up GPS display
2882     
2883     Signed-off-by: Keith Packard <keithp@keithp.com>
2884
2885 commit ff68e38770351ddac3285ce275cd85adab01fd3d
2886 Author: Keith Packard <keithp@keithp.com>
2887 Date:   Sun May 17 00:45:38 2009 -0700
2888
2889     Make aoview window taller
2890     
2891     Signed-off-by: Keith Packard <keithp@keithp.com>
2892
2893 commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
2894 Author: Keith Packard <keithp@keithp.com>
2895 Date:   Sun May 17 00:13:45 2009 -0700
2896
2897     Add lots more aoview UI bits
2898     
2899     Logs data to files, displays current state in window.
2900     
2901     Signed-off-by: Keith Packard <keithp@keithp.com>
2902
2903 commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
2904 Author: Keith Packard <keithp@keithp.com>
2905 Date:   Sat May 16 20:45:26 2009 -0700
2906
2907     When logging starts up, right the whole ring to the log.
2908     
2909     This preserves the data pre boost-detect for later analysis.
2910     
2911     Signed-off-by: Keith Packard <keithp@keithp.com>
2912
2913 commit fec4212a59a7b3321536b25707dcabc43c797c33
2914 Author: Keith Packard <keithp@keithp.com>
2915 Date:   Sat May 16 20:04:31 2009 -0700
2916
2917     Abandon use of accelerometer for apogee detect.
2918     
2919     Integrating the accelerometer data to compute velocity worked for one rocket
2920     flight, but additional testing shows that it doesn't work in other
2921     airframes. Until we figure out how this should work, we'll rely on the
2922     altimeter to detect apogee.
2923     
2924     Signed-off-by: Keith Packard <keithp@keithp.com>
2925
2926 commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
2927 Author: Keith Packard <keithp@keithp.com>
2928 Date:   Sat May 16 02:25:04 2009 -0700
2929
2930     Add preliminary aoview code
2931     
2932     AoView connects with TeleDongle to present telemetry information in a
2933     reasonable form. Right now, it just displays information to stdout, but it
2934     does have fancy dialogs for finding the USB devices.
2935     
2936     Signed-off-by: Keith Packard <keithp@keithp.com>
2937
2938 commit 37250b00f6286aee4b3b28604f5d463db3079a89
2939 Author: Keith Packard <keithp@keithp.com>
2940 Date:   Wed May 13 20:41:54 2009 -0700
2941
2942     Discard usb output before connection. Handle USB reset.
2943     
2944     Discarding output before USB is plugged in allows threads that send output
2945     and do other things to work without a USB connection. Unfortuantely, there
2946     doesn't appear to be any way to detect when the USB link is disconnected,
2947     which means that once USB is enabled, future writes will continue to block.
2948     
2949     USB reset causes the USB interrupts to all be reconfigured back to power-on
2950     state.
2951     
2952     Signed-off-by: Keith Packard <keithp@keithp.com>
2953
2954 commit 9b974217958b1017e62d6c4f4568f547ccc30c58
2955 Author: Keith Packard <keithp@keithp.com>
2956 Date:   Wed May 13 20:40:42 2009 -0700
2957
2958     Enable radio monitor by default in teleterra, teledongle and tidongle
2959     
2960     These ground loads want to monitor the radio constantly, and not require use
2961     of the 'm' command before listening.
2962     
2963     Signed-off-by: Keith Packard <keithp@keithp.com>
2964
2965 commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
2966 Author: Keith Packard <keithp@keithp.com>
2967 Date:   Wed May 13 20:39:28 2009 -0700
2968
2969     Remove monitor/rssi functions from telemetrum load
2970     
2971     Telemetrum is now a flight-only load, use teleterra or teledongle for ground
2972     boards.
2973     
2974     Signed-off-by: Keith Packard <keithp@keithp.com>
2975
2976 commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
2977 Author: Keith Packard <keithp@keithp.com>
2978 Date:   Wed May 13 20:38:11 2009 -0700
2979
2980     Split out ao_state_names to separate file
2981     
2982     Allows state names to be used in programs without monitoring enabled.
2983     
2984     Signed-off-by: Keith Packard <keithp@keithp.com>
2985
2986 commit d085d43701e3cdd2119e947a9ae45baa78c80318
2987 Author: Keith Packard <keithp@keithp.com>
2988 Date:   Wed May 13 14:29:30 2009 -0700
2989
2990     Indicate RSSI with a blinking LED
2991     
2992     Blink the red LED at a rate proportional to the RSSI value.
2993     
2994     Signed-off-by: Keith Packard <keithp@keithp.com>
2995
2996 commit 055331d5f7d5adc40c348c3efd331a562dcda82a
2997 Author: Keith Packard <keithp@keithp.com>
2998 Date:   Wed May 13 11:19:13 2009 -0700
2999
3000     Make ao_flight_test show AGL altitude and positive acceleration under boost
3001     
3002     This makes the output more readable
3003     
3004     Signed-off-by: Keith Packard <keithp@keithp.com>
3005
3006 commit d91208fbf5fc7797b93087ef8619454c4bed0130
3007 Author: Keith Packard <keithp@keithp.com>
3008 Date:   Wed May 13 11:18:24 2009 -0700
3009
3010     Make ao_flight_test able to read raw logging data
3011     
3012     Protect ao_flight_test reading functions so that a simple
3013     'script' output can be fed to the program and have it work correctly.
3014     
3015     Signed-off-by: Keith Packard <keithp@keithp.com>
3016
3017 commit d3dbd8949e1102220ad5fd0863f493c819b96e46
3018 Author: Keith Packard <keithp@keithp.com>
3019 Date:   Wed May 13 11:16:53 2009 -0700
3020
3021     Print only RSSI when packet CRC is invalid
3022     
3023     Packets with invalid CRC usually contain bogus data, so don't print that,
3024     just print out the RSSI which may contain useful data.
3025     
3026     Signed-off-by: Keith Packard <keithp@keithp.com>
3027
3028 commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
3029 Author: Keith Packard <keithp@keithp.com>
3030 Date:   Wed May 13 11:00:43 2009 -0700
3031
3032     Accelerometer-based velocity values are invalid after apogee
3033     
3034     Because the orientation of the flight computer relative to the ground is
3035     unknown after apogee, the accelerometer data cannot be integrated to compute
3036     velocity. Main deploy is now based purely on barometric altitude and landing
3037     detection no longer checks for a low velocity value.
3038     
3039     Signed-off-by: Keith Packard <keithp@keithp.com>
3040
3041 commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
3042 Author: Keith Packard <keithp@keithp.com>
3043 Date:   Wed May 13 10:59:04 2009 -0700
3044
3045     Add velocity check for boost detect via accelerometer
3046     
3047     Bumping the rocket can cause a brief period of high acceleration, which may
3048     cause a mistaken boost detection. Require both a high acceleration and
3049     reasonable velocity to trigger boost phase.
3050     
3051     Signed-off-by: Keith Packard <keithp@keithp.com>
3052
3053 commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
3054 Author: Keith Packard <keithp@keithp.com>
3055 Date:   Wed May 13 10:58:30 2009 -0700
3056
3057     Typo in callsign
3058
3059 commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
3060 Author: Keith Packard <keithp@keithp.com>
3061 Date:   Sun May 10 23:11:06 2009 -0700
3062
3063     Use recorded accelerometer baseline data in ao_flight_test
3064     
3065     With the flight computer recording a long-term average value for the
3066     accelerometer in the flight record, use that to prime the flight test code
3067     when running a log file through the simulator.
3068     
3069     Signed-off-by: Keith Packard <keithp@keithp.com>
3070
3071 commit ba3c53636e485450f48093d0a88a6629775f7c3a
3072 Author: Keith Packard <keithp@keithp.com>
3073 Date:   Sun May 10 23:01:16 2009 -0700
3074
3075     Don't re-initialize the landing range data at each apogee detect sample
3076     
3077     The landing range values are used only after apogee detect, so we need only
3078     initialize them on the transition from apogee to drogue.
3079     
3080     Signed-off-by: Keith Packard <keithp@keithp.com>
3081
3082 commit b623b1098bc7a10d471730259438fb82804221d0
3083 Author: Keith Packard <keithp@keithp.com>
3084 Date:   Sun May 10 23:00:06 2009 -0700
3085
3086     Initialize ao_min_vel with |ao_flight_vel|
3087     
3088     As ao_min_vel is stored as an absolute value, it's important to preserve
3089     that invariant, even though we don't expect ao_flight_vel to be negative at
3090     coast.
3091     
3092     Signed-off-by: Keith Packard <keithp@keithp.com>
3093
3094 commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
3095 Author: Keith Packard <keithp@keithp.com>
3096 Date:   Sun May 10 22:58:31 2009 -0700
3097
3098     Decrease telemetry rate on the pad to 1/sec instead of 20/sec
3099     
3100     Transmitting telemetry through the radio consumes a significant amount of
3101     battery; reducing the rate to 1/sec will reduce power usage while waiting
3102     for launch.
3103     
3104     Signed-off-by: Keith Packard <keithp@keithp.com>
3105
3106 commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
3107 Author: Keith Packard <keithp@keithp.com>
3108 Date:   Sun May 10 22:57:19 2009 -0700
3109
3110     Increase the initial accel/baro average to 1000 samples
3111     
3112     To get an accurate baseline of the launchpad state, take a longer average of
3113     the two sensors as the unit boots up.
3114     
3115     Signed-off-by: Keith Packard <keithp@keithp.com>
3116
3117 commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
3118 Author: Keith Packard <keithp@keithp.com>
3119 Date:   Sun May 10 22:54:14 2009 -0700
3120
3121     Record average accelerometer value in flight start log record
3122     
3123     The average accelerometer value cannot be extracted from the log as the
3124     record starts after that is computed. As that drives much of the
3125     accelerometer-based state transition logic, it is an important value to
3126     have, so we log it as part of the flight start record now.
3127     
3128     Signed-off-by: Keith Packard <keithp@keithp.com>
3129
3130 commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
3131 Author: Keith Packard <keithp@keithp.com>
3132 Date:   Sat May 9 10:24:10 2009 -0700
3133
3134     Add version command to show product information
3135
3136 commit e80b87f5e3ccf152d67a2e87bdefda161c455599
3137 Author: Keith Packard <keithp@keithp.com>
3138 Date:   Sat May 9 10:23:49 2009 -0700
3139
3140     Pad callsign with nuls
3141
3142 commit beae3360828da21eb1a3c4f88e930f242d4e36b7
3143 Author: Keith Packard <keithp@keithp.com>
3144 Date:   Fri May 1 08:14:57 2009 -0700
3145
3146     USB spec limits bulk endpoints to 64 byte payload max.
3147     
3148     For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
3149     more.
3150
3151 commit de7814c738488c2c16c6216c93fa78128895e5d5
3152 Author: Keith Packard <keithp@keithp.com>
3153 Date:   Wed Apr 29 17:46:56 2009 -0700
3154
3155     Use 'char' instead of 'uint8_t' for character data
3156     
3157     String and character constants are of char type, so using uint8_t causes
3158     promotion to 16-bit types when comparing the two.
3159
3160 commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
3161 Author: Keith Packard <keithp@keithp.com>
3162 Date:   Wed Apr 29 17:46:36 2009 -0700
3163
3164     Eliminate incorrect cast in printf string argument
3165     
3166     char * is a pointer to a string in the default address space, not a generic pointer
3167     to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
3168     cast is included.
3169
3170 commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
3171 Author: Keith Packard <keithp@keithp.com>
3172 Date:   Wed Apr 29 17:44:41 2009 -0700
3173
3174     Correct radio frequency shown in config display.
3175     
3176     Radio frequency base is 434.550, not 435.550
3177
3178 commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
3179 Author: Keith Packard <keithp@keithp.com>
3180 Date:   Wed Apr 29 17:42:26 2009 -0700
3181
3182     Reset landing interval tests at apogee
3183     
3184     This moves all of the interval management into the landing test code and
3185     out of the main loop. The interval is reset at apogee to make sure the
3186     sensors produce a stable reading for at least 20 seconds
3187
3188 commit 7a1b77c2d7253a681389f32b70e2460aac188807
3189 Author: Bdale Garbee <bdale@gag.com>
3190 Date:   Sun Apr 26 17:53:13 2009 -0600
3191
3192     clean up host programs, too
3193
3194 commit 5df80c346d65a9d56a8699b056dc44924acb31fe
3195 Author: Keith Packard <keithp@keithp.com>
3196 Date:   Sun Apr 26 16:04:07 2009 -0700
3197
3198     Was missing v_batt in adc dump command
3199
3200 commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
3201 Author: Keith Packard <keithp@keithp.com>
3202 Date:   Sun Apr 26 15:38:28 2009 -0700
3203
3204     Add manual ignition and igniter test commands
3205
3206 commit 819f1de8dd6010fae050bcef930943c7923929f9
3207 Author: Keith Packard <keithp@keithp.com>
3208 Date:   Sun Apr 26 15:38:03 2009 -0700
3209
3210     Clean up commands a bit
3211
3212 commit 178abb5c8439509926a5507911d7148b84f051b8
3213 Author: Keith Packard <keithp@keithp.com>
3214 Date:   Sun Apr 26 15:08:58 2009 -0700
3215
3216     Clear more files on make clean
3217
3218 commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
3219 Author: Keith Packard <keithp@keithp.com>
3220 Date:   Sun Apr 26 15:05:29 2009 -0700
3221
3222     Label binaries with product and serial info
3223
3224 commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
3225 Author: Keith Packard <keithp@keithp.com>
3226 Date:   Sun Apr 26 01:37:02 2009 -0700
3227
3228     Make sure full log is written and flushed on landing.
3229     
3230     The final state change to landing is recorded in the logging thread, so have
3231     that turn off logging once it has recorded that state. Then make it go to
3232     sleep.
3233
3234 commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
3235 Author: Keith Packard <keithp@keithp.com>
3236 Date:   Sun Apr 26 01:36:53 2009 -0700
3237
3238     Clean up monitor output a bit
3239
3240 commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
3241 Author: Keith Packard <keithp@keithp.com>
3242 Date:   Sun Apr 26 00:11:32 2009 -0700
3243
3244     Add configuration support
3245     
3246     Current config variables:
3247     Main deploy altitude above launch (in meters)
3248     Acceleration zero g calibration (manual or automatic)
3249     Radio channel (freq = 435.550MHz + channel * 100kHz)
3250     Callsign (max 8 characters)
3251     
3252     Supporting this involved shuffling code around so that the
3253     non-telemetrum builds could include only the stuff they needed.
3254
3255 commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
3256 Author: Keith Packard <keithp@keithp.com>
3257 Date:   Sat Apr 25 14:44:33 2009 -0700
3258
3259     Allow for slower ADC operation. Add power saving code.
3260     
3261     This tries to make the flight computer use less power by disabling USB in
3262     flight mode, lowering the telemetry rate after ascent. It also disables the
3263     RDF beacon during ascent and re-enables it once descent has started.
3264
3265 commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
3266 Author: Keith Packard <keithp@keithp.com>
3267 Date:   Sat Apr 25 14:44:04 2009 -0700
3268
3269     Allow ADC to be disabled
3270
3271 commit 7bc3d9962872850e7b420221cf689db16b4305cc
3272 Author: Keith Packard <keithp@keithp.com>
3273 Date:   Sat Apr 25 14:43:23 2009 -0700
3274
3275     Place CPU in P0 state while idle
3276
3277 commit e45fce7f82d704d677f84c69b0e07588d109d780
3278 Author: Keith Packard <keithp@keithp.com>
3279 Date:   Sat Apr 25 14:42:20 2009 -0700
3280
3281     Add RDF beacon and callsign to telemetry
3282
3283 commit 61510f98404bca6861b2da98f6cd9ba9deb76968
3284 Author: Keith Packard <keithp@keithp.com>
3285 Date:   Sat Apr 25 14:40:51 2009 -0700
3286
3287     Add radio code to emit a 1kHz tone
3288
3289 commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
3290 Author: Keith Packard <keithp@keithp.com>
3291 Date:   Sat Apr 25 13:18:37 2009 -0700
3292
3293     Allow the USB system to be disabled/enabled at run-time
3294
3295 commit 45976af820fc41099928df71ea8304c56eb9fc7c
3296 Author: Keith Packard <keithp@keithp.com>
3297 Date:   Sat Apr 25 13:16:27 2009 -0700
3298
3299     Make LED usage depend on target device
3300
3301 commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
3302 Author: Keith Packard <keithp@keithp.com>
3303 Date:   Sat Apr 25 13:13:24 2009 -0700
3304
3305     Make some functions reentrant to save DSEG space
3306
3307 commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
3308 Author: Keith Packard <keithp@keithp.com>
3309 Date:   Fri Apr 24 19:17:37 2009 -0700
3310
3311     Add monitor task to flight software
3312     
3313     Allows the use of telemetrum in teledongle mode.
3314
3315 commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
3316 Author: Keith Packard <keithp@keithp.com>
3317 Date:   Fri Apr 24 19:17:19 2009 -0700
3318
3319     Report difference from ground to max altitude at landing
3320
3321 commit f94ab879ff6f97708827c74facd11003a2d8b590
3322 Author: Keith Packard <keithp@keithp.com>
3323 Date:   Fri Apr 24 19:16:29 2009 -0700
3324
3325     Display data with units while running simulation
3326
3327 commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
3328 Author: Keith Packard <keithp@keithp.com>
3329 Date:   Fri Apr 24 19:13:31 2009 -0700
3330
3331     Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
3332     
3333     This change ensures that we actually got going fairly fast, and then slowed
3334     down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
3335     right off the pad as we're not going very fast at that point...
3336     
3337     This also adds the 'f' command to show the current flight status on the USB
3338     port.
3339
3340 commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
3341 Author: Keith Packard <keithp@keithp.com>
3342 Date:   Fri Apr 24 19:12:28 2009 -0700
3343
3344     configure igniter ports, set values to measured ones
3345
3346 commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
3347 Author: Keith Packard <keithp@keithp.com>
3348 Date:   Fri Apr 24 19:11:40 2009 -0700
3349
3350     Move ao_led_init to end of file to be consistent with other files
3351
3352 commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
3353 Author: Keith Packard <keithp@keithp.com>
3354 Date:   Fri Apr 24 19:10:20 2009 -0700
3355
3356     Define ao_state_names in ao.h so other people can share
3357
3358 commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
3359 Author: Keith Packard <keithp@keithp.com>
3360 Date:   Fri Apr 24 19:09:31 2009 -0700
3361
3362     Bump NUM_CMDS to 10
3363
3364 commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
3365 Author: Keith Packard <keithp@keithp.com>
3366 Date:   Fri Apr 24 19:09:09 2009 -0700
3367
3368     Move beep_init to end of file to be consistent with other files
3369
3370 commit b99315cee4ab796376458a2442cf36806fa4aed3
3371 Author: Keith Packard <keithp@keithp.com>
3372 Date:   Fri Apr 24 10:19:31 2009 -0700
3373
3374     Update flight algorithm based on data collected from SN-1 Flight 1
3375     
3376     This now correctly sequences through the flight data collected from the
3377     first TeleMetrum test flight.
3378     
3379     This also completes up the flight algorithm test harness (ao_flight_test),
3380     which runs the flight algorithm on the Linux host from a captured data log.
3381
3382 commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
3383 Author: Keith Packard <keithp@keithp.com>
3384 Date:   Thu Apr 23 22:17:44 2009 -0700
3385
3386     Add igniters and update flight control algorithm
3387
3388 commit f155333ae18a25068644792e8940269d9fb28033
3389 Author: Keith Packard <keithp@keithp.com>
3390 Date:   Fri Apr 24 00:15:09 2009 -0700
3391
3392     Avoid ram from 0xfda2 through feff, its funky
3393
3394 commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
3395 Author: Keith Packard <keithp@keithp.com>
3396 Date:   Thu Apr 23 22:18:33 2009 -0700
3397
3398     remove ao_flight_test until its ready
3399
3400 commit 86e73c009f78dc4664883353124fc891fbb01dce
3401 Author: Keith Packard <keithp@keithp.com>
3402 Date:   Thu Apr 23 20:50:07 2009 -0700
3403
3404     Add teledongle module
3405
3406 commit 204daac71ad56926730f5d6860bd70c645302e19
3407 Author: Keith Packard <keithp@keithp.com>
3408 Date:   Thu Apr 23 14:26:01 2009 -0700
3409
3410     Set telemetry rate to 100ms
3411
3412 commit 306b28f632e21b42ab165e7944283cf9764b590e
3413 Author: Keith Packard <keithp@keithp.com>
3414 Date:   Thu Apr 23 14:23:26 2009 -0700
3415
3416     Wrong license on ao_monitor.c
3417
3418 commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
3419 Author: Keith Packard <keithp@keithp.com>
3420 Date:   Thu Apr 23 14:23:00 2009 -0700
3421
3422     Crank up radio to 10dBm
3423
3424 commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
3425 Author: Keith Packard <keithp@keithp.com>
3426 Date:   Wed Apr 22 16:03:28 2009 -0700
3427
3428     Add COPYING file
3429
3430 commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
3431 Author: Keith Packard <keithp@keithp.com>
3432 Date:   Wed Apr 22 15:55:01 2009 -0700
3433
3434     Clean up TeleTerra files
3435
3436 commit 61cee50c86e275f9fde875bd317c3e74255394ec
3437 Author: Keith Packard <keithp@keithp.com>
3438 Date:   Wed Apr 22 15:53:55 2009 -0700
3439
3440     simplify ao_time function
3441
3442 commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
3443 Author: Keith Packard <keithp@keithp.com>
3444 Date:   Wed Apr 22 15:53:46 2009 -0700
3445
3446     One line radio status
3447
3448 commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
3449 Author: Keith Packard <keithp@keithp.com>
3450 Date:   Wed Apr 22 15:49:16 2009 -0700
3451
3452     Add new binaries to .gitignore
3453
3454 commit 00d5610caff61559eb24c24beaa56629d6bb03be
3455 Author: Keith Packard <keithp@keithp.com>
3456 Date:   Wed Apr 22 15:49:00 2009 -0700
3457
3458     Speed up dbg port bit frobbing
3459
3460 commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
3461 Author: Keith Packard <keithp@keithp.com>
3462 Date:   Wed Apr 22 15:48:28 2009 -0700
3463
3464     Use sdcc from path
3465
3466 commit ada6dea04b94be016598566c4c13e6105aaec353
3467 Author: Keith Packard <keithp@keithp.com>
3468 Date:   Wed Apr 22 15:48:14 2009 -0700
3469
3470     Clean up task list formatting
3471
3472 commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
3473 Author: Keith Packard <keithp@keithp.com>
3474 Date:   Wed Apr 22 15:47:57 2009 -0700
3475
3476     Control radio monitoring with the M command
3477
3478 commit 837c620f07b63efc171be3ac14c78bc99adf7592
3479 Author: Keith Packard <keithp@keithp.com>
3480 Date:   Wed Apr 22 14:25:43 2009 -0700
3481
3482     Shrink USB output buffers, work around USB packet errors
3483
3484 commit d87e9c25947d7cc2eba8894a524977f2c55a089a
3485 Author: Keith Packard <keithp@keithp.com>
3486 Date:   Tue Apr 21 02:07:24 2009 -0700
3487
3488     Clean up telemetry now that all packets are the same
3489
3490 commit 1b333def5052d2ed47fdeaef23a897fe326f6340
3491 Author: Keith Packard <keithp@keithp.com>
3492 Date:   Tue Apr 21 02:07:08 2009 -0700
3493
3494     Add longer debug delays to reset/debug_mode entry
3495
3496 commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
3497 Author: Keith Packard <keithp@keithp.com>
3498 Date:   Tue Apr 21 01:17:03 2009 -0700
3499
3500     Fix up fancy dbg stuff. Add teleterra initial bits.
3501     
3502     The dbg stuff needed a bit of help to actually walk the tables; it appears
3503     that complex expressions confuse sdcc.
3504     
3505     This also adds primitive teleterra bits, but no UI, etc.
3506     
3507     Signed-off-by: Keith Packard <keithp@keithp.com>
3508
3509 commit 43c8f7012102cdb591ace899420c10e4a78385ad
3510 Author: Keith Packard <keithp@keithp.com>
3511 Date:   Mon Apr 20 23:33:41 2009 -0700
3512
3513     Add radio support. Build separate executables for TeleMetrum and the TI dongle
3514     
3515     Ok, way too big a patch, but things were in rough shape.
3516     This patch adds support for the radio, both transmit and receive.
3517     Then, because I could no longer run the TeleMetrum code on the TI
3518     dongle, I ended up building a separate image for the TI board, which
3519     involved creating a mechanism for having multiple command sets and splitting
3520     code for different functions into different files.
3521
3522 commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
3523 Author: Keith Packard <keithp@keithp.com>
3524 Date:   Sat Apr 18 23:19:24 2009 -0700
3525
3526     Start using pdata area for less-frequently used data
3527
3528 commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
3529 Author: Keith Packard <keithp@keithp.com>
3530 Date:   Sat Apr 18 23:19:05 2009 -0700
3531
3532     Slow down panic presentation
3533
3534 commit c4e983daa4579896b227fdcb2be43fad75e94307
3535 Author: Keith Packard <keithp@keithp.com>
3536 Date:   Sat Apr 18 23:17:45 2009 -0700
3537
3538     Parse GPS data locally. Add 'g' command to display recent GPS results.
3539     
3540     This parses the GPS GGA message and stores it in a global variable,
3541     protected by a mutex.
3542
3543 commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
3544 Author: Keith Packard <keithp@keithp.com>
3545 Date:   Sat Apr 18 23:16:01 2009 -0700
3546
3547     Add task names and 'T' command to show task status.
3548     
3549     The T command shows the current wchan and PC for each task in the system.
3550
3551 commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
3552 Author: Keith Packard <keithp@keithp.com>
3553 Date:   Sat Apr 18 19:32:18 2009 -0700
3554
3555     Fix GPL version at 2
3556     
3557     Signed-off-by: Keith Packard <keithp@keithp.com>
3558
3559 commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
3560 Author: Keith Packard <keithp@keithp.com>
3561 Date:   Fri Apr 17 23:38:14 2009 -0700
3562
3563     Add gps, debug dongle support and pressure alt tables
3564     
3565     GPS also pulled in serial support. The altitude tables take raw 11-bit
3566     pressure sample numbers and convert them to standard pressure altitude
3567     values.
3568     
3569     Signed-off-by: Keith Packard <keithp@keithp.com>
3570
3571 commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
3572 Author: Keith Packard <keithp@keithp.com>
3573 Date:   Fri Apr 17 10:32:45 2009 -0700
3574
3575     Enable FEC in radio packets
3576
3577 commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
3578 Author: Keith Packard <keithp@keithp.com>
3579 Date:   Fri Apr 17 10:29:42 2009 -0700
3580
3581     Add CRC to radio packets
3582
3583 commit 20834caf01ddf481e8362b0d2627ef383a82e09d
3584 Author: Keith Packard <keithp@keithp.com>
3585 Date:   Fri Apr 17 10:23:10 2009 -0700
3586
3587     Add data whitening
3588
3589 commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
3590 Author: Keith Packard <keithp@keithp.com>
3591 Date:   Fri Apr 17 10:19:25 2009 -0700
3592
3593     Add packet status byte defines
3594
3595 commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
3596 Author: Keith Packard <keithp@keithp.com>
3597 Date:   Fri Apr 17 10:11:31 2009 -0700
3598
3599     Add separate xmit/recv programs to radio demo
3600
3601 commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
3602 Author: Keith Packard <keithp@keithp.com>
3603 Date:   Fri Apr 17 10:11:11 2009 -0700
3604
3605     Get env var for debug method selection
3606
3607 commit 26095fc0511ee0d5213f038986032f7c59964cf0
3608 Author: Keith Packard <keithp@keithp.com>
3609 Date:   Fri Apr 17 10:10:47 2009 -0700
3610
3611     Run-time selection between cp2103 and cc1111
3612
3613 commit 543bedde83cbce5145668e72965e02d892187b59
3614 Author: Keith Packard <keithp@keithp.com>
3615 Date:   Thu Apr 16 20:38:14 2009 -0700
3616
3617     Send data
3618
3619 commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
3620 Author: Keith Packard <keithp@keithp.com>
3621 Date:   Wed Apr 15 14:25:26 2009 -0700
3622
3623     Move a bunch of variables from __data to __xdata
3624
3625 commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
3626 Author: Keith Packard <keithp@keithp.com>
3627 Date:   Tue Apr 14 21:25:15 2009 -0700
3628
3629     Slow down panic code, disable interrupts
3630
3631 commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
3632 Author: Keith Packard <keithp@keithp.com>
3633 Date:   Tue Apr 14 21:24:25 2009 -0700
3634
3635     Keep reporting flight state while it changes
3636
3637 commit 9605045164882b4ca3d1317ac860b02513a51f30
3638 Author: Keith Packard <keithp@keithp.com>
3639 Date:   Tue Apr 14 21:23:55 2009 -0700
3640
3641     use red LED to indicate system startup
3642
3643 commit dc844ee7e49a3b6145b3165252a592ed070d600f
3644 Author: Keith Packard <keithp@keithp.com>
3645 Date:   Tue Apr 14 21:23:13 2009 -0700
3646
3647     Use ao_ee_flush_internal while holding mutex
3648
3649 commit 5e45d1c89b00e74d5b2730345843f43aab516af2
3650 Author: Keith Packard <keithp@keithp.com>
3651 Date:   Tue Apr 14 21:22:56 2009 -0700
3652
3653     Leave beeping and lights to the flight code
3654
3655 commit 902c342289c1d13a4d55b9224acb6d67578b7a60
3656 Author: Keith Packard <keithp@keithp.com>
3657 Date:   Tue Apr 14 21:22:31 2009 -0700
3658
3659     Make mutex functions reentrant
3660
3661 commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
3662 Author: Keith Packard <keithp@keithp.com>
3663 Date:   Tue Apr 14 19:08:01 2009 -0700
3664
3665     Add in existing flight pieces: flight/report/log
3666     
3667     These pieces come from the old telemetrum firmware.
3668     
3669     Signed-off-by: Keith Packard <keithp@keithp.com>
3670
3671 commit ac99982b10fd5772218660137ee21db9b90cd885
3672 Author: Keith Packard <keithp@keithp.com>
3673 Date:   Tue Apr 14 14:21:56 2009 -0700
3674
3675     Add eeprom driver and command loop
3676     
3677     This involved adding dma control and a mutex implementation.
3678     
3679     Signed-off-by: Keith Packard <keithp@keithp.com>
3680
3681 commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
3682 Author: Keith Packard <keithp@keithp.com>
3683 Date:   Tue Apr 14 11:04:09 2009 -0700
3684
3685     Switch from --model-large to --model-small
3686     
3687     This shrinks the application quite a bit, and should make it faster as well.
3688     
3689     Signed-off-by: Keith Packard <keithp@keithp.com>
3690
3691 commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
3692 Author: Keith Packard <keithp@keithp.com>
3693 Date:   Tue Apr 14 10:02:19 2009 -0700
3694
3695     Add comments, clean up white space, etc.
3696     
3697     Various clean ups now that the basic code appears to work.
3698     
3699     Signed-off-by: Keith Packard <keithp@keithp.com>
3700
3701 commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
3702 Author: Keith Packard <keithp@keithp.com>
3703 Date:   Mon Apr 13 21:58:07 2009 -0700
3704
3705     Switch USB to double-buffered
3706
3707 commit b56a44e48552bc32dbba9ff21770c370219a684a
3708 Author: Keith Packard <keithp@keithp.com>
3709 Date:   Mon Apr 13 21:51:59 2009 -0700
3710
3711     Fix USB input/output by reloading packet limits.
3712     
3713     The USB controller is reset during the connection process, which clears the
3714     packet limits set in the controller at initialization time. Reload those
3715     values when the configuration is set.
3716     
3717     Signed-off-by: Keith Packard <keithp@keithp.com>
3718
3719 commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
3720 Author: Keith Packard <keithp@keithp.com>
3721 Date:   Mon Apr 13 20:39:46 2009 -0700
3722
3723     USB working up through reading strings
3724
3725 commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
3726 Author: Keith Packard <keithp@keithp.com>
3727 Date:   Mon Apr 13 13:51:08 2009 -0700
3728
3729     Add USB support.
3730     
3731     This offers a single CDC ACM device over USB.
3732     
3733     Signed-off-by: Keith Packard <keithp@keithp.com>
3734
3735 commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
3736 Author: Keith Packard <keithp@keithp.com>
3737 Date:   Sun Apr 12 23:53:55 2009 -0700
3738
3739     Add beep/led support.
3740     
3741     Support our P2_0 connected buzzer, and formalize LED output support.
3742     
3743     Signed-off-by: Keith Packard <keithp@keithp.com>
3744
3745 commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
3746 Author: Keith Packard <keithp@keithp.com>
3747 Date:   Sun Apr 12 23:17:16 2009 -0700
3748
3749     Add A/D sampler
3750     
3751     Sample A/D at the timer tick, placing data in a ring
3752     of samples.
3753     
3754     Signed-off-by: Keith Packard <keithp@keithp.com>
3755
3756 commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
3757 Author: Keith Packard <keithp@keithp.com>
3758 Date:   Sun Apr 12 22:52:47 2009 -0700
3759
3760     Add 100Hz timer
3761     
3762     Use Timer 1 to generate a 100Hz timer interrupt
3763
3764 commit 650a77e209dbb54c8d8fd9824cee430985564973
3765 Author: Keith Packard <keithp@keithp.com>
3766 Date:   Sun Apr 12 21:58:49 2009 -0700
3767
3768     Update README
3769
3770 commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
3771 Author: Keith Packard <keithp@keithp.com>
3772 Date:   Sun Apr 12 21:52:56 2009 -0700
3773
3774     GPL Version 2 only
3775
3776 commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
3777 Author: Keith Packard <keithp@keithp.com>
3778 Date:   Sun Apr 12 21:47:32 2009 -0700
3779
3780     Add load command to s51
3781
3782 commit 55402ba3e87fd699c51079843309f1f0d1534724
3783 Author: Keith Packard <keithp@keithp.com>
3784 Date:   Sun Apr 12 21:33:55 2009 -0700
3785
3786     Make test more complicated
3787
3788 commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
3789 Author: Keith Packard <keithp@keithp.com>
3790 Date:   Sun Apr 12 21:33:46 2009 -0700
3791
3792     SP points at last pushed byte
3793
3794 commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
3795 Author: Keith Packard <keithp@keithp.com>
3796 Date:   Sun Apr 12 20:27:03 2009 -0700
3797
3798     Add .gitignore
3799
3800 commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
3801 Author: Keith Packard <keithp@keithp.com>
3802 Date:   Sun Apr 12 20:25:39 2009 -0700
3803
3804     Initial AltOS import
3805
3806 commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
3807 Author: Keith Packard <keithp@keithp.com>
3808 Date:   Sun Apr 12 12:38:58 2009 -0700
3809
3810     Add ccdump
3811
3812 commit ee110425fb814780476d1d3d8a257af126f41763
3813 Author: Keith Packard <keithp@keithp.com>
3814 Date:   Mon Apr 6 17:09:23 2009 -0700
3815
3816     Bump buffer pointer as data is written to cc-usb
3817
3818 commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
3819 Author: Keith Packard <keithp@keithp.com>
3820 Date:   Mon Apr 6 11:31:49 2009 -0700
3821
3822     Add support for a serial-connected custom debug dongle
3823     
3824     This uses the cc1111 board as a custom debug dongle with faster
3825     methods for communicating with the debug target.
3826
3827 commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
3828 Author: Keith Packard <keithp@keithp.com>
3829 Date:   Wed Apr 1 17:50:47 2009 -0700
3830
3831     Reset cc1111 on s51 exit
3832
3833 commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
3834 Author: Keith Packard <keithp@keithp.com>
3835 Date:   Wed Apr 1 00:06:45 2009 -0700
3836
3837     Add timer-based beep test
3838
3839 commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
3840 Author: Keith Packard <keithp@keithp.com>
3841 Date:   Thu Mar 26 22:41:47 2009 -0700
3842
3843     Add readline support to s51
3844
3845 commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
3846 Author: Keith Packard <keithp@keithp.com>
3847 Date:   Wed Mar 25 11:37:48 2009 -0700
3848
3849     Deal with MSB-outputing DMA engine
3850
3851 commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
3852 Author: Keith Packard <keithp@keithp.com>
3853 Date:   Wed Mar 25 11:14:03 2009 -0700
3854
3855     Flip ADC bytes around
3856
3857 commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
3858 Author: Keith Packard <keithp@keithp.com>
3859 Date:   Wed Mar 25 11:01:30 2009 -0700
3860
3861     Add spacing for serial adc data
3862
3863 commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
3864 Author: Keith Packard <keithp@keithp.com>
3865 Date:   Wed Mar 25 10:58:57 2009 -0700
3866
3867     Inc only one on dest addr
3868
3869 commit 378227d869a3e8787c532c8c4e1563b44002c4b5
3870 Author: Keith Packard <keithp@keithp.com>
3871 Date:   Wed Mar 25 10:55:17 2009 -0700
3872
3873     Dump remaining inputs
3874
3875 commit f54a41e37d6897db2e24fbc82880076b78a0ae41
3876 Author: Keith Packard <keithp@keithp.com>
3877 Date:   Wed Mar 25 10:50:36 2009 -0700
3878
3879     Remove poll for ti demo button
3880
3881 commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
3882 Author: Keith Packard <keithp@keithp.com>
3883 Date:   Wed Mar 25 10:50:14 2009 -0700
3884
3885     Add adc to serial conversion
3886
3887 commit d9fd548db15232e3a8823815962b252c7a5e7cba
3888 Author: Keith Packard <keithp@keithp.com>
3889 Date:   Wed Mar 25 10:04:50 2009 -0700
3890
3891     Add ADC via DMA example
3892
3893 commit 61faf2b773300988fe27cfde5bc045be9950a1b0
3894 Author: Keith Packard <keithp@keithp.com>
3895 Date:   Wed Mar 25 09:45:14 2009 -0700
3896
3897     Add DMA example
3898
3899 commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
3900 Author: Keith Packard <keithp@keithp.com>
3901 Date:   Wed Mar 25 01:05:36 2009 -0700
3902
3903     Back to 0dBm
3904
3905 commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
3906 Author: Keith Packard <keithp@keithp.com>
3907 Date:   Wed Mar 25 01:03:08 2009 -0700
3908
3909     Make radio test compile again
3910
3911 commit 9ce713fdd19bf1a51370dacba3670504356c5c11
3912 Author: Keith Packard <keithp@keithp.com>
3913 Date:   Wed Mar 25 01:02:07 2009 -0700
3914
3915     Wait for xtal to stabilize
3916
3917 commit ffd43886dc902f3bb7407294018e3d62cac39480
3918 Author: Keith Packard <keithp@keithp.com>
3919 Date:   Wed Mar 25 00:55:11 2009 -0700
3920
3921     Check serial input
3922
3923 commit 029963cc94fbb47560118b5de73c537e2c14ed7c
3924 Author: Keith Packard <keithp@keithp.com>
3925 Date:   Wed Mar 25 00:50:02 2009 -0700
3926
3927     Eliminate array walking
3928
3929 commit 019456a17d36f8f9f9b72cfbc980492175086d32
3930 Author: Keith Packard <keithp@keithp.com>
3931 Date:   Wed Mar 25 00:41:49 2009 -0700
3932
3933     Add a per-char delay
3934
3935 commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
3936 Author: Keith Packard <keithp@keithp.com>
3937 Date:   Wed Mar 25 00:36:35 2009 -0700
3938
3939     Use UTX1IF to wait for serial TX complete
3940
3941 commit 006124529b243c7657a94312d2c868a82878d8bb
3942 Author: Keith Packard <keithp@keithp.com>
3943 Date:   Wed Mar 25 00:29:29 2009 -0700
3944
3945     Send more interesting text
3946
3947 commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
3948 Author: Keith Packard <keithp@keithp.com>
3949 Date:   Wed Mar 25 00:24:56 2009 -0700
3950
3951     More random serial bit frobbing
3952
3953 commit 50bdc2407c674a4770912d3a626f36820a7f1527
3954 Author: Keith Packard <keithp@keithp.com>
3955 Date:   Wed Mar 25 00:13:15 2009 -0700
3956
3957     Flip serial TX code around a bit
3958
3959 commit 7b7617e376afe0df1d505375b76198358330370c
3960 Author: Keith Packard <keithp@keithp.com>
3961 Date:   Wed Mar 25 00:09:47 2009 -0700
3962
3963     Try serial polarity high/high
3964
3965 commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
3966 Author: Keith Packard <keithp@keithp.com>
3967 Date:   Wed Mar 25 00:06:32 2009 -0700
3968
3969     Make serial test simpler
3970
3971 commit 62744c186792739c3bf5798c80ff87c69fbe2b65
3972 Author: Keith Packard <keithp@keithp.com>
3973 Date:   Wed Mar 25 00:03:45 2009 -0700
3974
3975     Flip start/stop bits around
3976
3977 commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
3978 Author: Keith Packard <keithp@keithp.com>
3979 Date:   Tue Mar 24 23:57:12 2009 -0700
3980
3981     Stop high
3982
3983 commit c41ceb9a488b2209d1d3c09967d1473ce608030f
3984 Author: Keith Packard <keithp@keithp.com>
3985 Date:   Tue Mar 24 23:24:01 2009 -0700
3986
3987     Change radio to -30dBm
3988
3989 commit c35de083ca3d4f362063b056a0fd74ffe629d168
3990 Author: Keith Packard <keithp@keithp.com>
3991 Date:   Tue Mar 24 23:11:48 2009 -0700
3992
3993     Add serial test program
3994
3995 commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
3996 Author: Keith Packard <keithp@keithp.com>
3997 Date:   Tue Mar 24 22:37:38 2009 -0700
3998
3999     Wait for xtal to stabilize after changing to 24MHz
4000
4001 commit e120269fc0f8e14ddf1755337b1d092173e16da2
4002 Author: Keith Packard <keithp@keithp.com>
4003 Date:   Tue Mar 24 22:21:31 2009 -0700
4004
4005     Actually return byte read from SPI
4006
4007 commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
4008 Author: Keith Packard <keithp@keithp.com>
4009 Date:   Tue Mar 24 22:12:51 2009 -0700
4010
4011     Clear UxCSR_TX_BYTE after transmitting a byte
4012
4013 commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
4014 Author: Keith Packard <keithp@keithp.com>
4015 Date:   Tue Mar 24 20:04:58 2009 -0700
4016
4017     Led the LED turn on
4018
4019 commit 91b3a6ae74184692f45702587c4d678b2799ad8c
4020 Author: Keith Packard <keithp@keithp.com>
4021 Date:   Tue Mar 24 19:55:04 2009 -0700
4022
4023     actually write and compare SPI test bits
4024
4025 commit 7de3a43887485c3c6cf52960376ccde33fb33985
4026 Author: Keith Packard <keithp@keithp.com>
4027 Date:   Tue Mar 24 19:54:02 2009 -0700
4028
4029     Add USART-based SPI test code
4030
4031 commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
4032 Author: Keith Packard <keithp@keithp.com>
4033 Date:   Tue Mar 24 17:22:36 2009 -0700
4034
4035     Change spi test string
4036
4037 commit 8131389ee5018c05b721146a98367150cf500fdf
4038 Author: Keith Packard <keithp@keithp.com>
4039 Date:   Tue Mar 24 17:15:09 2009 -0700
4040
4041     Oops, not merging in the bit read for SPI test
4042
4043 commit 3429016d1359ec650993d2fb0596184e3f717871
4044 Author: Keith Packard <keithp@keithp.com>
4045 Date:   Tue Mar 24 17:04:45 2009 -0700
4046
4047     Adjust clock/data phase for spi test
4048
4049 commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
4050 Author: Keith Packard <keithp@keithp.com>
4051 Date:   Tue Mar 24 16:35:13 2009 -0700
4052
4053     MISO needs to be an input
4054
4055 commit f0c233f25a208a636833312b1766825815735304
4056 Author: Keith Packard <keithp@keithp.com>
4057 Date:   Tue Mar 24 15:41:55 2009 -0700
4058
4059     Add bit-banging spi eeprom test program
4060
4061 commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
4062 Author: Bdale Garbee <bdale@gag.com>
4063 Date:   Wed Mar 18 02:58:33 2009 -0600
4064
4065     working beep at around 4khz
4066
4067 commit 4726317de811c20e8d6754762437b5c9cbb3a48c
4068 Author: Keith Packard <keithp@keithp.com>
4069 Date:   Wed Mar 18 01:54:34 2009 -0700
4070
4071     Add simple test program to light up the transmitter at 434.550MHz
4072     
4073     This starts a transmit sequence, but doesn't send any data so the
4074     transmitter just locks on.
4075
4076 commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
4077 Author: Keith Packard <keithp@keithp.com>
4078 Date:   Sun Mar 15 18:14:21 2009 -0700
4079
4080     Correctly comment which bit the beep program uses
4081
4082 commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
4083 Author: Keith Packard <keithp@keithp.com>
4084 Date:   Sun Mar 15 18:11:53 2009 -0700
4085
4086     Add telemetrum beeper example
4087
4088 commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
4089 Author: Keith Packard <keithp@keithp.com>
4090 Date:   Sun Mar 15 18:11:20 2009 -0700
4091
4092     sdcc gets the lib path correct based on the model
4093
4094 commit 04a316133af93b79bfbebb91f05eec1015ec2abc
4095 Author: Keith Packard <keithp@keithp.com>
4096 Date:   Sun Mar 15 18:10:43 2009 -0700
4097
4098     Bump debug speed back up
4099
4100 commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
4101 Author: Keith Packard <keithp@keithp.com>
4102 Date:   Sat Mar 7 21:05:40 2009 -0800
4103
4104     Only flip changing bits in async mode
4105
4106 commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
4107 Author: Keith Packard <keithp@keithp.com>
4108 Date:   Sat Mar 7 21:05:06 2009 -0800
4109
4110     The debug port only works if reset is higher than clock. weird
4111
4112 commit ade11f88754b4ab0386ebf86afc5257e59238f62
4113 Author: Keith Packard <keithp@keithp.com>
4114 Date:   Sat Mar 7 21:04:38 2009 -0800
4115
4116     Make manual bit flipping sync after every transaction
4117
4118 commit e63b5271bb54afc36e4b9891e51e053ff6011092
4119 Author: Keith Packard <keithp@keithp.com>
4120 Date:   Sat Mar 7 14:49:22 2009 -0800
4121
4122     Add ccmanual
4123
4124 commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
4125 Author: Keith Packard <keithp@keithp.com>
4126 Date:   Sat Mar 7 14:48:49 2009 -0800
4127
4128     Sync after manual bit reading
4129
4130 commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
4131 Author: Keith Packard <keithp@keithp.com>
4132 Date:   Sat Mar 7 14:48:35 2009 -0800
4133
4134     Flip debug pins around to match telemetrum
4135
4136 commit cc0495b7028f4b1189a00707d828a68534d1dea2
4137 Author: Keith Packard <keithp@keithp.com>
4138 Date:   Fri Mar 6 22:52:35 2009 -0800
4139
4140     Wait for a while when switching the RESET_N line
4141     
4142     The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
4143     RESET_N line to filter out noise. This increases the time necessary to reset
4144     the chip to several microseconds which is longer than the interval between
4145     two USB packets. Flush the USB packet queue and sleep for a while after
4146     changing the value on the RESET_N line to make sure the chip sees the state
4147     change.
4148     
4149     Signed-off-by: Keith Packard <keithp@keithp.com>
4150
4151 commit 41289e6d8f1767547a33fea349866e928e44910f
4152 Author: Bdale Garbee <bdale@gag.com>
4153 Date:   Mon Mar 2 07:46:20 2009 -0700
4154
4155     minor s51.1 formatting fixes
4156     
4157     Signed-off-by: Keith Packard <keithp@keithp.com>
4158
4159 commit fdee231ed097a4348aee78fbd4aa92826b80de03
4160 Author: Keith Packard <keithp@keithp.com>
4161 Date:   Sun Mar 1 23:12:31 2009 -0800
4162
4163     Add s51 manual.
4164     
4165     This documents (briefly) the s51 hex debugging interface program, including
4166     some simple commands to test the operation of the system interactively.
4167     
4168     Signed-off-by: Keith Packard <keithp@keithp.com>
4169
4170 commit f7d91bd23b8214e09deae0aafb516331e934c49b
4171 Author: Keith Packard <keithp@keithp.com>
4172 Date:   Sun Mar 1 18:43:03 2009 -0800
4173
4174     Sometimes the link breaks and the GET_PC command returns garbage
4175
4176 commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
4177 Author: Keith Packard <keithp@keithp.com>
4178 Date:   Sun Jan 25 08:38:48 2009 -0800
4179
4180     Support 'set' command
4181     
4182     The 'set' command modifies target memory and registers
4183     
4184     Signed-off-by: Keith Packard <keithp@keithp.com>
4185
4186 commit 60940b4be23962db79b8e914ec943d0636dd68ad
4187 Author: Keith Packard <keithp@keithp.com>
4188 Date:   Mon Jan 5 21:45:21 2009 -0800
4189
4190     Expose ccdbg_set_clock API
4191     
4192     This allows applications to change the debug port clock
4193     rate on the fly.
4194     
4195     Signed-off-by: Keith Packard <keithp@keithp.com>
4196
4197 commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
4198 Author: Keith Packard <keithp@keithp.com>
4199 Date:   Mon Jan 5 21:44:44 2009 -0800
4200
4201     Use custom sdcc libraries (this needs to be configured...)
4202     
4203     Signed-off-by: Keith Packard <keithp@keithp.com>
4204
4205 commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
4206 Author: Keith Packard <keithp@keithp.com>
4207 Date:   Mon Jan 5 21:43:44 2009 -0800
4208
4209     Have S51 ignore SIGINT while running under sdcdb.
4210     
4211     This prevents keyboard interrupts from accidentally stopping
4212     s51.
4213     
4214     Signed-off-by: Keith Packard <keithp@keithp.com>
4215
4216 commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
4217 Author: Keith Packard <keithp@keithp.com>
4218 Date:   Tue Dec 30 22:40:13 2008 -0800
4219
4220     Add simple and timer sample programs
4221     
4222     Signed-off-by: Keith Packard <keithp@keithp.com>
4223
4224 commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
4225 Author: Keith Packard <keithp@keithp.com>
4226 Date:   Tue Dec 30 22:35:53 2008 -0800
4227
4228     Save/restore registers to host during memory operations. Cache ROM data.
4229     
4230     Because the debug port uses instructions for most operations, the debug code
4231     will clobber registers used by the running program. Save and restore these
4232     to avoid corrupting application data.
4233     
4234     If the ROM file is known, use that to return data instead of fetching it
4235     from the target to improve performance.
4236     
4237     Signed-off-by: Keith Packard <keithp@keithp.com>
4238
4239 commit ea366058aa467a8a7caf17e7014758f3741ea7f7
4240 Author: Keith Packard <keithp@keithp.com>
4241 Date:   Mon Dec 29 12:35:11 2008 -0800
4242
4243     Fix flashing less than a full page of data. Verify page at a time.
4244     
4245     The 8051 flashing code requires special help with counts with non-zero low
4246     byte. Also, instead of verifying the entire flash contents at the end,
4247     verify each page as it goes.
4248     
4249     Signed-off-by: Keith Packard <keithp@keithp.com>
4250
4251 commit e0697186a2f9b6139636ff5d5c162879c85caf9c
4252 Author: Keith Packard <keithp@keithp.com>
4253 Date:   Sun Dec 28 00:11:13 2008 -0800
4254
4255     Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
4256     
4257     Not all SFRs are visible in the unified address space, so the SFR-specific
4258     accessors are required.
4259     
4260     The dump command is the same as the various 'd*'
4261     commands, but also supports dumping program memory.
4262     
4263     The new -m (monitor) flag watches the command stream between s51 and sdcdb.
4264     
4265     Signed-off-by: Keith Packard <keithp@keithp.com>
4266
4267 commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
4268 Author: Keith Packard <keithp@keithp.com>
4269 Date:   Sun Dec 28 00:09:30 2008 -0800
4270
4271     Save/restore regs when reading/writing memory. Add SFR access.
4272     
4273     The DPL and ACC registers are used by the memory access code,
4274     so they need to be saved and restored. Stuff them up high in ram for now;
4275     this should probably be fixed to pull them back to the host instead.
4276     
4277     Special SFR access is required as not all SFRs are visible in the unified
4278     address space.
4279     
4280     Signed-off-by: Keith Packard <keithp@keithp.com>
4281
4282 commit 1405838160b69e2cda456e21502a1d03b3aa7548
4283 Author: Keith Packard <keithp@keithp.com>
4284 Date:   Sat Dec 27 11:25:58 2008 -0800
4285
4286     s51: get start address from ihx file. re-enable breakpoints after reset.
4287     
4288     Use the start of the ihx file when asked to run from 0x0, this lets
4289     sdcdb run programs from ram.
4290     
4291     The reset command clears all hw breakpoints, so reset them afterwards.
4292     
4293     Signed-off-by: Keith Packard <keithp@keithp.com>
4294
4295 commit 1264c3676e95427bba5d01e05c303d036a7f9eca
4296 Author: Keith Packard <keithp@keithp.com>
4297 Date:   Fri Dec 26 23:05:04 2008 -0800
4298
4299     Switch to libusb-1.0 and use async interface.
4300     
4301     The async libusb interface offers substantial performance benefits by not
4302     making each command wait for the reply. This makes talking over this
4303     interface almost reasonable.
4304     
4305     Signed-off-by: Keith Packard <keithp@keithp.com>
4306
4307 commit d2d9cfd74fd66836c913c02276e09136d83b35dc
4308 Author: Keith Packard <keithp@keithp.com>
4309 Date:   Fri Dec 26 17:58:48 2008 -0800
4310
4311     s51: add breakpoints and the ability to block awaiting a breakpoint.
4312     
4313     Signed-off-by: Keith Packard <keithp@keithp.com>
4314
4315 commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
4316 Author: Keith Packard <keithp@keithp.com>
4317 Date:   Mon Dec 22 19:11:56 2008 -0800
4318
4319     Add more commands to s51 assembly-language debugger
4320     
4321     Signed-off-by: Keith Packard <keithp@keithp.com>
4322
4323 commit 55eba4fa08b022197106245d36a70f575a070b0a
4324 Author: Keith Packard <keithp@keithp.com>
4325 Date:   Mon Dec 22 19:10:27 2008 -0800
4326
4327     Make read_memory debug output use ccdbg_debug.
4328     
4329     This makes it default to not being presented, which makes s51 much happier
4330     
4331     Signed-off-by: Keith Packard <keithp@keithp.com>
4332
4333 commit e75918f3667a5c8ad294bec4acef6fe81682edf6
4334 Author: Keith Packard <keithp@keithp.com>
4335 Date:   Sun Dec 21 23:33:35 2008 -0800
4336
4337     Add preliminary version of s51, a UI clone of the 8051 emulator.
4338     
4339     sdcdb provides source-level debugging using the 8051 emulator, s51. By
4340     emulating that emulator a the UI level, we should be able to get source
4341     debugging right on our target platform.
4342     
4343     This is just the preliminary structure for the program with most commands
4344     not yet implemented.
4345
4346 commit f7d49868aeae80d515b12a7e339628f1296754a6
4347 Author: Keith Packard <keithp@keithp.com>
4348 Date:   Sat Dec 20 23:30:06 2008 -0800
4349
4350     Cleanup work; separating out the cp interface to be more abstract.
4351     
4352     Signed-off-by: Keith Packard <keithp@keithp.com>
4353
4354 commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
4355 Author: Keith Packard <keithp@keithp.com>
4356 Date:   Fri Dec 19 21:13:04 2008 -0800
4357
4358     Clean up autotools stuff.
4359     
4360     Signed-off-by: Keith Packard <keithp@keithp.com>
4361
4362 commit 9025eb792861930e6af918d2727c4f5d97a69936
4363 Author: Keith Packard <keithp@keithp.com>
4364 Date:   Fri Dec 19 21:11:45 2008 -0800
4365
4366     Autotools.
4367     
4368     Signed-off-by: Keith Packard <keithp@keithp.com>
4369
4370 commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
4371 Author: Keith Packard <keithp@keithp.com>
4372 Date:   Fri Dec 19 19:08:13 2008 -0800
4373
4374     Ignore .ihx files
4375
4376 commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
4377 Author: Keith Packard <keithp@keithp.com>
4378 Date:   Fri Dec 19 19:07:37 2008 -0800
4379
4380     Move blink example to subdir
4381     
4382     Signed-off-by: Keith Packard <keithp@keithp.com>
4383
4384 commit 82e2d7ebed6682062dc400478c736bd6c91195c9
4385 Author: Keith Packard <keithp@keithp.com>
4386 Date:   Fri Dec 19 19:04:26 2008 -0800
4387
4388     Clean up makefiles, move ihx files to .ihx
4389
4390 commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
4391 Author: Keith Packard <keithp@keithp.com>
4392 Date:   Fri Dec 19 14:39:57 2008 -0800
4393
4394     ignore more stuff
4395
4396 commit 4ecfc33f16aa36b315519e6f279da65374b67aba
4397 Author: Keith Packard <keithp@keithp.com>
4398 Date:   Fri Dec 19 14:37:53 2008 -0800
4399
4400     Add cc1111 isr stub example
4401
4402 commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
4403 Author: Keith Packard <keithp@keithp.com>
4404 Date:   Fri Dec 19 14:37:29 2008 -0800
4405
4406     Add blink-tiny flash and ram versions
4407
4408 commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
4409 Author: Keith Packard <keithp@keithp.com>
4410 Date:   Fri Dec 19 14:19:29 2008 -0800
4411
4412     Flash multiple pages. Eliminate off-by-one error in hex_image length.
4413     
4414     Signed-off-by: Keith Packard <keithp@keithp.com>
4415
4416 commit 55995515b9d4fc1e193039eab697c5d03db417c2
4417 Author: Keith Packard <keithp@keithp.com>
4418 Date:   Fri Dec 19 11:04:16 2008 -0800
4419
4420     Add flash writing code.
4421     
4422     Signed-off-by: Keith Packard <keithp@keithp.com>
4423
4424 commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
4425 Author: Keith Packard <keithp@keithp.com>
4426 Date:   Thu Dec 18 12:37:32 2008 -0800
4427
4428     faster
4429     
4430     Signed-off-by: Keith Packard <keithp@keithp.com>
4431
4432 commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
4433 Author: Keith Packard <keithp@keithp.com>
4434 Date:   Thu Dec 18 12:17:41 2008 -0800
4435
4436     cq
4437     
4438     Signed-off-by: Keith Packard <keithp@keithp.com>
4439
4440 commit dc03adc179669d41e3551d74b3c5a60db41ff217
4441 Author: Keith Packard <keithp@keithp.com>
4442 Date:   Thu Dec 18 12:07:06 2008 -0800
4443
4444     Add ability to load Intel HEX files. Add sample sdcc LED blinker.
4445     
4446     Signed-off-by: Keith Packard <keithp@keithp.com>
4447
4448 commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
4449 Author: Keith Packard <keithp@keithp.com>
4450 Date:   Thu Dec 18 00:18:50 2008 -0800
4451
4452     Add ability to read/write arbitrary memory. Write LED blinker program.
4453     
4454     Signed-off-by: Keith Packard <keithp@keithp.com>
4455
4456 commit 8c879bf51c14a5928135d59211facd72f6a32808
4457 Author: Keith Packard <keithp@keithp.com>
4458 Date:   Wed Dec 17 23:15:47 2008 -0800
4459
4460     Move manual bit-banging debug code to separate file
4461     
4462     Signed-off-by: Keith Packard <keithp@keithp.com>
4463
4464 commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
4465 Author: Keith Packard <keithp@keithp.com>
4466 Date:   Wed Dec 17 23:15:19 2008 -0800
4467
4468     reduce clock to 50us
4469     
4470     Signed-off-by: Keith Packard <keithp@keithp.com>
4471
4472 commit fa168f963f8b00144d12aa2770e9c0917cfae123
4473 Author: Keith Packard <keithp@keithp.com>
4474 Date:   Wed Dec 17 23:12:59 2008 -0800
4475
4476     Fill out ccdbg-command to support all debug commands.
4477     
4478     Signed-off-by: Keith Packard <keithp@keithp.com>
4479
4480 commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
4481 Author: Keith Packard <keithp@keithp.com>
4482 Date:   Wed Dec 17 22:24:59 2008 -0800
4483
4484     Clean up bitbanging layer. Add debug printfs.
4485     
4486     Signed-off-by: Keith Packard <keithp@keithp.com>
4487
4488 commit 584e28bac8af38de433767e017977ed1adddeb36
4489 Author: Keith Packard <keithp@keithp.com>
4490 Date:   Wed Dec 17 12:32:15 2008 -0800
4491
4492     Clean up sample debug files
4493     
4494     Signed-off-by: Keith Packard <keithp@keithp.com>
4495
4496 commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
4497 Author: Keith Packard <keithp@keithp.com>
4498 Date:   Mon Dec 8 17:25:28 2008 -0800
4499
4500     Add support for input-only lines (-)
4501
4502 commit 4f38974a9941cddaba27c17c5a46f923db386c94
4503 Author: Keith Packard <keithp@keithp.com>
4504 Date:   Sat Dec 6 16:32:27 2008 -0800
4505
4506     Add another example
4507
4508 commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
4509 Author: Keith Packard <keithp@keithp.com>
4510 Date:   Sat Dec 6 16:32:12 2008 -0800
4511
4512     Add libusb support and lots more examples
4513
4514 commit 39801e6e9fb9388072ee414a447f74095a6ac960
4515 Author: Keith Packard <keithp@keithp.com>
4516 Date:   Fri Nov 28 22:57:07 2008 -0800
4517
4518     Random hacking
4519
4520 commit 01cb2799875e086ee6096627c058ee235bbc33d5
4521 Author: Keith Packard <keithp@keithp.com>
4522 Date:   Thu Nov 27 17:07:15 2008 -0800
4523
4524     Add prototypes, add stub mainline, add .gitignore
4525
4526 commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
4527 Author: Keith Packard <keithp@keithp.com>
4528 Date:   Thu Nov 27 12:33:40 2008 -0800
4529
4530     cc1111 debug port access through cp2103 serial chip