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