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