43ce393075f386c911817650f27ff0a539b20b48
[fw/altos] / ChangeLog
1 commit ea86b19629001059952f7572fa8564e2263dc9f6
2 Author: Bdale Garbee <bdale@gag.com>
3 Date:   Tue Aug 18 20:47:41 2009 -0600
4
5     deliver sources.list.d fragment so updates are closer to automatic
6
7 commit cec78502c06f11880366f6131c0442906c6ed864
8 Author: Bdale Garbee <bdale@gag.com>
9 Date:   Tue Aug 18 20:17:31 2009 -0600
10
11     update changelogs for Debian build
12
13 commit 82d24bc65af85231b0d67394b30adfdb7beb6564
14 Author: Bdale Garbee <bdale@gag.com>
15 Date:   Tue Aug 18 20:17:08 2009 -0600
16
17     we need ChangeLog in the repo for git-buildpackage to work right
18
19 commit c8e04df1423bfd4e9318d9fccae2cfb4a97983ab
20 Author: Bdale Garbee <bdale@gag.com>
21 Date:   Tue Aug 18 20:12:44 2009 -0600
22
23     update Debian changelog for build
24
25 commit 2fda90c0f8ab46a83175ed168fcba9b11efcd453
26 Author: Bdale Garbee <bdale@gag.com>
27 Date:   Tue Aug 18 20:12:22 2009 -0600
28
29     update Debian changelog for build
30
31 commit a40f45bf4791bced48efb728be8990e41a7e4280
32 Author: Bdale Garbee <bdale@gag.com>
33 Date:   Tue Aug 18 20:08:10 2009 -0600
34
35     move the ChangeLog creation to the prebuild target
36
37 commit ae7752210a0e06beacad011c17dbf75bff39eda8
38 Author: Bdale Garbee <bdale@gag.com>
39 Date:   Tue Aug 18 18:57:56 2009 -0600
40
41     update Debian changelog for build
42
43 commit c7f7a1ed3494db008b397a613cfcd3ab36c01920
44 Author: Bdale Garbee <bdale@gag.com>
45 Date:   Tue Aug 18 18:56:20 2009 -0600
46
47     update Debian changelog for build
48
49 commit ebaf8b0d02d82bce7c7ea78e281377768b996d6d
50 Merge: 79501a5 d996aa9
51 Author: Bdale Garbee <bdale@gag.com>
52 Date:   Tue Aug 18 18:56:16 2009 -0600
53
54     Merge branch 'master' into debian
55
56 commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
57 Merge: b3b2d3c 7d4ceb7
58 Author: Bdale Garbee <bdale@gag.com>
59 Date:   Tue Aug 18 18:56:09 2009 -0600
60
61     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
62
63 commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
64 Author: Keith Packard <keithp@keithp.com>
65 Date:   Tue Aug 18 17:55:22 2009 -0700
66
67     Add ao-ejection.1 man page
68     
69     Document the input requirements and output format
70     
71     Signed-off-by: Keith Packard <keithp@keithp.com>
72
73 commit 79501a5462ab29d661cf76f63628bd4616b6ae1b
74 Merge: f48eb20 b3b2d3c
75 Author: Bdale Garbee <bdale@gag.com>
76 Date:   Tue Aug 18 18:37:10 2009 -0600
77
78     Merge branch 'master' into debian
79
80 commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
81 Merge: 4685fc5 da12b89
82 Author: Bdale Garbee <bdale@gag.com>
83 Date:   Tue Aug 18 18:36:03 2009 -0600
84
85     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
86
87 commit f48eb2033f3685fedd42d307963671a8060604c3
88 Author: Bdale Garbee <bdale@gag.com>
89 Date:   Tue Aug 18 18:33:53 2009 -0600
90
91     don't ship a zero-length ChangeLog, when it's easy to make one...
92
93 commit da12b89fb056a68e65ba363fef91d266727cb685
94 Author: Keith Packard <keithp@keithp.com>
95 Date:   Tue Aug 18 17:30:43 2009 -0700
96
97     Create ChangeLog from git log
98
99 commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
100 Author: Keith Packard <keithp@keithp.com>
101 Date:   Tue Aug 18 17:29:29 2009 -0700
102
103     Fix ao-bitbang examples to not have . in the first column
104
105 commit 192b08c28719b5518ed349d9897f9a21add3c615
106 Author: Bdale Garbee <bdale@gag.com>
107 Date:   Tue Aug 18 18:24:50 2009 -0600
108
109     update Debian changelog for build
110
111 commit 5969d1d0e3aa554187a5bcc899a2f1347656fd5e
112 Author: Bdale Garbee <bdale@gag.com>
113 Date:   Tue Aug 18 18:24:22 2009 -0600
114
115     fixing things lintian points out
116
117 commit 9bf7c23f6e8ac7080240b91a28b355e50ecb4c4d
118 Author: Bdale Garbee <bdale@gag.com>
119 Date:   Tue Aug 18 18:14:02 2009 -0600
120
121     update Debian changelog for build
122
123 commit d861218bc6c2f57816953af3271d93fc48f8afc2
124 Author: Bdale Garbee <bdale@gag.com>
125 Date:   Tue Aug 18 18:13:48 2009 -0600
126
127     fix merge conflict
128
129 commit 3f953f56fbfd4e903c09ca1e4309664d38c2c669
130 Author: Bdale Garbee <bdale@gag.com>
131 Date:   Tue Aug 18 18:10:06 2009 -0600
132
133     update Debian changelog for build
134
135 commit 7fcbe76ce82ec5a17cf536afa0d1b9061e225aa9
136 Merge: 035ba6d 4685fc5
137 Author: Bdale Garbee <bdale@gag.com>
138 Date:   Tue Aug 18 18:09:59 2009 -0600
139
140     Merge branch 'master' into debian
141
142 commit 4685fc541466afbeefc151bcb64cd054739c048b
143 Merge: 1c2a0b6 c29275b
144 Author: Bdale Garbee <bdale@gag.com>
145 Date:   Tue Aug 18 18:09:38 2009 -0600
146
147     Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
148     
149     Conflicts:
150         ao-tools/ao-bitbang/Makefile.am
151         ao-tools/ao-eeprom/Makefile.am
152         ao-tools/ao-load/Makefile.am
153         ao-tools/ao-load/ao-load.c
154         ao-tools/ao-rawload/Makefile.am
155
156 commit c29275b72438637d46d7a50742882d2736eb176a
157 Author: Keith Packard <keithp@keithp.com>
158 Date:   Tue Aug 18 15:21:57 2009 -0700
159
160     Add manual pages for remaining commands.
161     
162     Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
163     ao-view.
164     
165     Manual for ao-dbg updated to reflect program name change.
166     
167     Signed-off-by: Keith Packard <keithp@keithp.com>
168
169 commit 9b03d620722dc54630539afba40720c30de69b2d
170 Author: Keith Packard <keithp@keithp.com>
171 Date:   Tue Aug 18 12:19:31 2009 -0700
172
173     Use --tty/-T on command line to specify target device
174     
175     Also, use the ALTOS_TTY environment variable in all tools. Note that
176     the magic value of "BITBANG" switches the library to connecting
177     through a CP2103 instead.
178     
179     Signed-off-by: Keith Packard <keithp@keithp.com>
180
181 commit 7c790fe859dff062692964338091ffbbcdf63257
182 Author: Keith Packard <keithp@keithp.com>
183 Date:   Tue Aug 18 12:40:24 2009 -0700
184
185     Rename tools to ao-<foo>
186     
187     Use a consistent prefix to make it easier to remember which programs
188     belong to this package
189     
190     Signed-off-by: Keith Packard <keithp@keithp.com>
191
192 commit 035ba6df17f016953351bc77a98623c165b69909
193 Author: Bdale Garbee <bdale@gag.com>
194 Date:   Tue Aug 18 14:40:58 2009 -0600
195
196     update Debian changelog for build
197
198 commit 7aa251970cbbb6b9d9678ed0721e28da3df9036b
199 Merge: 107055e 1c2a0b6
200 Author: Bdale Garbee <bdale@gag.com>
201 Date:   Tue Aug 18 14:40:54 2009 -0600
202
203     Merge branch 'master' into debian
204
205 commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
206 Author: Keith Packard <keithp@keithp.com>
207 Date:   Tue Aug 18 13:36:54 2009 -0700
208
209     re-add debugger sources
210
211 commit 107055e969e89771d1e2f8ac8b1a4c5b4b9e9a48
212 Author: Bdale Garbee <bdale@gag.com>
213 Date:   Tue Aug 18 14:03:48 2009 -0600
214
215     update Debian changelog for build
216
217 commit 14915158049918fa2fa5294f325b77dc9b08bab8
218 Author: Bdale Garbee <bdale@gag.com>
219 Date:   Tue Aug 18 14:03:41 2009 -0600
220
221     update Debian changelog for build
222
223 commit 0fcc426f96577ebbaf0c2d009cd2708e974de315
224 Merge: 91b8592 9789ca5
225 Author: Bdale Garbee <bdale@gag.com>
226 Date:   Tue Aug 18 14:03:16 2009 -0600
227
228     Merge branch 'master' into debian
229
230 commit 9a9cce5510b87252f863239ac807b9fb4395b288
231 Author: Keith Packard <keithp@keithp.com>
232 Date:   Tue Aug 18 12:19:31 2009 -0700
233
234     Start working on using getopt for the tty name
235
236 commit 9789ca5e8caa9a013e804f307b9da380e147bd75
237 Author: Keith Packard <keithp@keithp.com>
238 Date:   Tue Aug 18 12:40:24 2009 -0700
239
240     Rename tools to ao-<foo>
241     
242     Use a consistent prefix to make it easier to remember which programs
243     belong to this package
244     
245     Signed-off-by: Keith Packard <keithp@keithp.com>
246
247 commit 91b85929df6a3464396702fd177a6f74c6f28c7a
248 Author: Bdale Garbee <bdale@gag.com>
249 Date:   Tue Aug 18 12:59:36 2009 -0600
250
251     update Debian changelog for build
252
253 commit 645cc909a279347aa1665ce883c71090b29935a9
254 Author: Bdale Garbee <bdale@gag.com>
255 Date:   Tue Aug 18 12:59:28 2009 -0600
256
257     update Debian changelog for build
258
259 commit f54e075705b3d4d6919494e8cff99141128f0303
260 Author: Bdale Garbee <bdale@gag.com>
261 Date:   Tue Aug 18 12:59:15 2009 -0600
262
263     deliver firmware files too
264
265 commit 30fb0e78a464794a11fb8cf4ae385c3123922371
266 Author: Bdale Garbee <bdale@gag.com>
267 Date:   Tue Aug 18 12:52:39 2009 -0600
268
269     update Debian changelog for build
270
271 commit 022e77db3416175e9b440828f94fb75b739ec00a
272 Author: Bdale Garbee <bdale@gag.com>
273 Date:   Tue Aug 18 12:49:05 2009 -0600
274
275     oops, need to force prefix to /usr for Debian policy compliance
276
277 commit a382039ebb91e3bea682b601feef15517290ad3b
278 Author: Bdale Garbee <bdale@gag.com>
279 Date:   Tue Aug 18 12:39:41 2009 -0600
280
281     update Debian changelog for build
282
283 commit 90347b16e11743e80f85308700e50b1228c2b8e0
284 Merge: 06a0e43 a578239
285 Author: Bdale Garbee <bdale@gag.com>
286 Date:   Tue Aug 18 12:39:17 2009 -0600
287
288     Merge branch 'master' into debian
289
290 commit a5782398d968e7cb11f7203afada7c216f233b3b
291 Author: Keith Packard <keithp@keithp.com>
292 Date:   Tue Aug 18 11:34:28 2009 -0700
293
294     Remove unused cctools code paths for old libusb and cp2103 ioctls.
295     
296     Communication with the CP2103 board has gone through three revisions,
297     first using ioctls supported by the CP2103 kernel driver, then using
298     the old synchronous usb library and now using the newer libusb
299     asynchronous interface. There's no reason to keep shipping the old
300     stale code now that the new stuff works reliably.
301     
302     Signed-off-by: Keith Packard <keithp@keithp.com>
303
304 commit 06a0e432480efb4e10220b0bdf402282aad32de9
305 Author: Bdale Garbee <bdale@gag.com>
306 Date:   Tue Aug 18 12:16:23 2009 -0600
307
308     update Debian changelog for build
309
310 commit f9126a21b6a027e56d3c9d086889375fd7f37f3c
311 Author: Bdale Garbee <bdale@gag.com>
312 Date:   Tue Aug 18 12:06:03 2009 -0600
313
314     update Debian changelog for build
315
316 commit 4d7c4c69a5e0ab16018c2a9325168e363a10084b
317 Author: Bdale Garbee <bdale@gag.com>
318 Date:   Tue Aug 18 12:05:46 2009 -0600
319
320     fix the changelog version extraction to work for a native version
321
322 commit fc761cc0117cb5a091b041b73b34d222b56a60f0
323 Author: Bdale Garbee <bdale@gag.com>
324 Date:   Tue Aug 18 11:58:29 2009 -0600
325
326     update Debian changelog for build
327
328 commit 9a97abb7b1afc90e8f67ba065583a49107a55f61
329 Author: Bdale Garbee <bdale@gag.com>
330 Date:   Tue Aug 18 11:58:18 2009 -0600
331
332     update Debian changelog for build
333
334 commit 24c337de950ac5d4b1d074dc20eb7c6a68338462
335 Author: Bdale Garbee <bdale@gag.com>
336 Date:   Tue Aug 18 11:58:11 2009 -0600
337
338     oops, fix syntax
339
340 commit 11c610c0e09d4f175b7e164e071ada361a1e9e2e
341 Author: Bdale Garbee <bdale@gag.com>
342 Date:   Tue Aug 18 11:57:52 2009 -0600
343
344     update Debian changelog for build
345
346 commit f65fa2b7d810ebae4b6df313de8bfe3687223a16
347 Author: Bdale Garbee <bdale@gag.com>
348 Date:   Tue Aug 18 11:57:00 2009 -0600
349
350     call debian/rules prebuild before creating source tarball
351
352 commit dc5679ee90429fe43c6180d1d298183a79334dfc
353 Author: Bdale Garbee <bdale@gag.com>
354 Date:   Tue Aug 18 11:54:11 2009 -0600
355
356     update Debian changelog for build
357
358 commit cf1fa8b062c05ee995d6befee9088908b2b22473
359 Author: Bdale Garbee <bdale@gag.com>
360 Date:   Tue Aug 18 11:53:31 2009 -0600
361
362     add a prebuild target for use from git-buildpackage clean hook, that creates
363     a new debian/changelog entry based on git-describe output
364
365 commit d7e60e48b6d85274690478223ef3b571a818e228
366 Author: Bdale Garbee <bdale@gag.com>
367 Date:   Tue Aug 18 11:52:46 2009 -0600
368
369     update Debian changelog for build
370
371 commit e946fa231a719abfdd3f319b8c3345dfc75ee185
372 Author: Bdale Garbee <bdale@gag.com>
373 Date:   Tue Aug 18 00:08:30 2009 -0600
374
375     allow pass-in of VERSION, only call git describe if VERSION not set yet
376
377 commit f762a9dfb3b9c81e443a85cd434154598c737ed8
378 Author: Bdale Garbee <bdale@gag.com>
379 Date:   Tue Aug 18 00:06:24 2009 -0600
380
381     see if this works
382
383 commit c6514ac5c47b44456a15d0f627f274eca769122e
384 Author: Bdale Garbee <bdale@gag.com>
385 Date:   Tue Aug 18 00:03:27 2009 -0600
386
387     undo the post-commit hook stuff
388
389 commit 2d53e72e938086688c81d16750b2c880fee1f4cd
390 Author: Bdale Garbee <bdale@gag.com>
391 Date:   Mon Aug 17 23:55:47 2009 -0600
392
393     tweak makefile to use version file instead of calling git describe directly
394
395 commit 2732624c67f5397fed5f31b062feb0f27b7f8fbd
396 Author: Bdale Garbee <bdale@gag.com>
397 Date:   Mon Aug 17 23:53:35 2009 -0600
398
399     add version to the list of ignored files
400
401 commit 08b28a0d4a71ba25ca949fe57bb150a89b401cef
402 Author: Bdale Garbee <bdale@gag.com>
403 Date:   Mon Aug 17 23:39:35 2009 -0600
404
405     add build dependencies
406
407 commit bc5d65b7e9776c87948edc4bd88fc4125ca20209
408 Author: Bdale Garbee <bdale@gag.com>
409 Date:   Mon Aug 17 23:32:49 2009 -0600
410
411     build as a Debian specific package since we have no "upstream"
412
413 commit e4fb67c989e10f626042e3b125ffd900bf477d60
414 Author: Bdale Garbee <bdale@gag.com>
415 Date:   Mon Aug 17 23:31:52 2009 -0600
416
417     add a config file for git-buildpackage
418
419 commit 5f59df632f3a82348aefc2b16f2521f6ebd30a50
420 Author: Bdale Garbee <bdale@gag.com>
421 Date:   Mon Aug 17 23:31:20 2009 -0600
422
423     don't fail to clean if Makefile not present
424
425 commit 946f2be3f4fdd0e7cf5c9867ff6fa0d348d95ee1
426 Author: Bdale Garbee <bdale@gag.com>
427 Date:   Mon Aug 17 23:30:20 2009 -0600
428
429     package for Debian
430
431 commit 7cba411de0780c65e3490ab67186a514f0ea42ec
432 Author: Keith Packard <keithp@keithp.com>
433 Date:   Mon Aug 17 20:47:31 2009 -0700
434
435     test for sdcc, nickle and readline
436     
437     Signed-off-by: Keith Packard <keithp@keithp.com>
438
439 commit f48dcffae761700355a17b59345d55a60703f0c4
440 Author: Keith Packard <keithp@keithp.com>
441 Date:   Sun Aug 9 20:43:10 2009 -0700
442
443     Sync USB data after each memory write command
444     
445     This makes sure we flush the USB link often enough for the other end to keep
446     up.
447     
448     Signed-off-by: Keith Packard <keithp@keithp.com>
449
450 commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
451 Author: Keith Packard <keithp@keithp.com>
452 Date:   Sun Aug 9 16:08:07 2009 -0700
453
454     Handle partial ALSA PCM writes
455     
456     The ALSA spec says that snd_pcm_writei will not return a partial write, but
457     at least on the OLPC, that's not true. Deal with this.
458     
459     Signed-off-by: Keith Packard <keithp@keithp.com>
460
461 commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
462 Author: Keith Packard <keithp@keithp.com>
463 Date:   Sun Aug 9 15:55:19 2009 -0700
464
465     Check more alsa return statuses
466
467 commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
468 Author: Keith Packard <keithp@keithp.com>
469 Date:   Sat Jul 18 01:47:34 2009 -0700
470
471     Don't report distance to rocket without valid GPS
472     
473     When there's no valid GPS data, don't try to report the distance and bearing
474     to the rocket after landing.
475     
476     Signed-off-by: Keith Packard <keithp@keithp.com>
477
478 commit fbcb7b20fa701a6e534d38e307839466545668e3
479 Author: Keith Packard <keithp@keithp.com>
480 Date:   Sat Jul 18 01:05:33 2009 -0700
481
482     Add B command to set serial baud rate
483     
484     Signed-off-by: Keith Packard <keithp@keithp.com>
485
486 commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
487 Author: Keith Packard <keithp@keithp.com>
488 Date:   Sat Jul 18 01:05:13 2009 -0700
489
490     Get rid of spaces after minus sign in climb value
491
492 commit 28be20cf914fb34dc3c776519708d0f02091764e
493 Author: Keith Packard <keithp@keithp.com>
494 Date:   Sat Jul 18 01:04:39 2009 -0700
495
496     Switch to 57600 baud for GPS data
497
498 commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
499 Author: Keith Packard <keithp@keithp.com>
500 Date:   Sat Jul 18 01:04:17 2009 -0700
501
502     Drain serial port before changing speed
503     
504     Signed-off-by: Keith Packard <keithp@keithp.com>
505
506 commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
507 Author: Keith Packard <keithp@keithp.com>
508 Date:   Sat Jul 18 00:44:42 2009 -0700
509
510     Display last known GPS coord while unlocked
511     
512     Signed-off-by: Keith Packard <keithp@keithp.com>
513
514 commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
515 Author: Keith Packard <keithp@keithp.com>
516 Date:   Sat Jul 18 00:44:01 2009 -0700
517
518     use g_source_destroy instead of free on serial object
519
520 commit 1e5e98bd8f5ea0bc15592de454e3629383462371
521 Author: Keith Packard <keithp@keithp.com>
522 Date:   Sat Jul 18 00:43:22 2009 -0700
523
524     Trim aoview_serial_set_callback args down to just port and callback
525
526 commit 08f37056deec25d77062bc411a04033401b033a5
527 Author: Keith Packard <keithp@keithp.com>
528 Date:   Fri Jul 17 22:11:03 2009 -0700
529
530     Reset GPS at boot time
531
532 commit 1150aa850f5a025b849556e32c4dddb27937d9af
533 Author: Keith Packard <keithp@keithp.com>
534 Date:   Fri Jul 17 22:10:43 2009 -0700
535
536     Fix up serial debug output
537
538 commit 2a7956a64935246475f92d44c08369e0230b676a
539 Author: Keith Packard <keithp@keithp.com>
540 Date:   Fri Jul 17 21:34:13 2009 -0700
541
542     Allow the GPS port to run at 4800 baud if desired
543
544 commit 8d650769c319261c97f5e68eff9138207b95c0f8
545 Author: Keith Packard <keithp@keithp.com>
546 Date:   Fri Jul 17 21:33:53 2009 -0700
547
548     Initialize the GPS serial protocol state
549     
550     Signed-off-by: Keith Packard <keithp@keithp.com>
551
552 commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
553 Author: Keith Packard <keithp@keithp.com>
554 Date:   Fri Jul 17 21:33:18 2009 -0700
555
556     Use uint8_t for comparisons to avoid int conversions
557     
558     Signed-off-by: Keith Packard <keithp@keithp.com>
559
560 commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
561 Author: Keith Packard <keithp@keithp.com>
562 Date:   Fri Jul 17 21:30:53 2009 -0700
563
564     Add AO_GPS_RUNNING state.
565     
566     This tracks whether the GPS receiver has ever sent a valid report to the
567     flight computer, allowing the user to tell whether the GPS receiver is
568     working at all.
569     
570     Signed-off-by: Keith Packard <keithp@keithp.com>
571
572 commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
573 Author: Keith Packard <keithp@keithp.com>
574 Date:   Fri Jul 17 21:25:35 2009 -0700
575
576     Add M command to monitor serial bytes
577
578 commit ddfa2308c0be4c002f982ae9da6032ee7854117d
579 Author: Keith Packard <keithp@keithp.com>
580 Date:   Fri Jul 17 21:24:45 2009 -0700
581
582     Support the not-connected GPS state
583
584 commit 34f148500df427c148188c0ada20bf914a7c74ba
585 Author: Keith Packard <keithp@keithp.com>
586 Date:   Fri Jul 17 19:23:10 2009 -0700
587
588     Use 57600 baud for GPS. Clean up gps init.
589     
590     Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
591     to get from 4800 NMEA to 5760 SiRF.
592     
593     Also, eliminate threads from the gps test program.
594     
595     Signed-off-by: Keith Packard <keithp@keithp.com>
596
597 commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
598 Author: Keith Packard <keithp@keithp.com>
599 Date:   Fri Jul 17 17:09:20 2009 -0700
600
601     Try harder to get the GPS receiver serial link sync'd up.
602     
603     We cannot assume that the GPS receiver is in any particular state when it
604     boots, so we try to send the serial configuration at several rates and hope
605     that it eventually sees something that it likes.
606     
607     Signed-off-by: Keith Packard <keithp@keithp.com>
608
609 commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
610 Author: Keith Packard <keithp@keithp.com>
611 Date:   Fri Jul 17 17:06:18 2009 -0700
612
613     Rolling average for pad location. Say 'GPS ready'.
614     
615     Use a rolling average for the pad location, instead of just averaging all
616     positions. This filters out old (presumably less accurate) values eventually.
617     
618     When enough GPS samples have been acquired, say 'GPS ready'.
619     
620     Signed-off-by: Keith Packard <keithp@keithp.com>
621
622 commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
623 Author: Keith Packard <keithp@keithp.com>
624 Date:   Fri Jul 17 16:22:51 2009 -0700
625
626     Split GPS data into a separate column
627     
628     Signed-off-by: Keith Packard <keithp@keithp.com>
629
630 commit 5f0179652e8bb85add9067e5253e981c60f2c51e
631 Author: Keith Packard <keithp@keithp.com>
632 Date:   Fri Jul 17 16:03:35 2009 -0700
633
634     Fix up SiRF parsing and test code so that it actually works
635     
636     Signed-off-by: Keith Packard <keithp@keithp.com>
637
638 commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
639 Author: Keith Packard <keithp@keithp.com>
640 Date:   Fri Jul 17 13:58:14 2009 -0700
641
642     Add host-side gps protocol testing program
643
644 commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
645 Author: Keith Packard <keithp@keithp.com>
646 Date:   Sat Jul 11 00:56:13 2009 -0700
647
648     Hook aoview directly to alsa
649     
650     This skips the flite internal audio stuff which opened and closed the audio
651     device for each phrase. This caused the first part of some phrases to be
652     missed when using an external audio device.
653     
654     Signed-off-by: Keith Packard <keithp@keithp.com>
655
656 commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
657 Author: Keith Packard <keithp@keithp.com>
658 Date:   Thu Jul 9 20:55:10 2009 -0700
659
660     Show speed. Format numbers. Timeout and report final status.
661     
662     The speed value is now shown in the top label bar. Ascent shows
663     accelerometer-derived data, otherwise it's baro derived.
664     
665     All of the numbers displayed are now given sensible printf formats so they
666     don't contain way too many digits.
667     
668     Instead of doing periodic reporting based on flight tick count, data is
669     reported every 10 seconds based on wall time. After landing, or when no data
670     have been received for a while, final flight information is spoken.
671     
672     Signed-off-by: Keith Packard <keithp@keithp.com>
673
674 commit 19630ef084866f4230e68ccf11284b30c68128b1
675 Author: Keith Packard <keithp@keithp.com>
676 Date:   Sun Jul 5 08:35:28 2009 -0700
677
678     Dont smash aoview_monitor_parse input buffer
679
680 commit e506ed4b6efb86eab50204658fcd433b987e3831
681 Author: Keith Packard <keithp@keithp.com>
682 Date:   Tue Jun 30 15:25:52 2009 -0700
683
684     Integrate flite into aoview directly. Fix great circle computation.
685     
686     Use a separate thread for flite rather than a separate program.
687     Save voice state to gconf.
688     Add filters for replay file selection
689     
690     Signed-off-by: Keith Packard <keithp@keithp.com>
691
692 commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
693 Author: Keith Packard <keithp@keithp.com>
694 Date:   Tue Jun 30 15:24:53 2009 -0700
695
696     Make window taller
697
698 commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
699 Author: Keith Packard <keithp@keithp.com>
700 Date:   Tue Jun 30 15:24:31 2009 -0700
701
702     Use 16kHz voice
703
704 commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
705 Author: Keith Packard <keithp@keithp.com>
706 Date:   Tue Jun 30 11:58:30 2009 -0700
707
708     Add telem replay and larger labels
709     
710     Replays telemetry files in real time
711     Shows height/state/rssi in big values at the top.
712     
713     Signed-off-by: Keith Packard <keithp@keithp.com>
714
715 commit 566dde161385263700eaae51095eecfa9b5972ee
716 Author: Keith Packard <keithp@keithp.com>
717 Date:   Mon Jun 29 23:06:47 2009 -0700
718
719     Update aoview/.gitignore
720     
721     Signed-off-by: Keith Packard <keithp@keithp.com>
722
723 commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
724 Author: Keith Packard <keithp@keithp.com>
725 Date:   Mon Jun 29 23:05:27 2009 -0700
726
727     Use flite to announce flight state
728     
729     This uses the flite voice synthesis library from festival to announce
730     altitude and speed information during the rocket flight.
731     
732     Signed-off-by: Keith Packard <keithp@keithp.com>
733
734 commit 527d7c803ed9597b210634018cb2eb9d048d9846
735 Author: Keith Packard <keithp@keithp.com>
736 Date:   Mon Jun 29 23:03:58 2009 -0700
737
738     Add GPS speed and error data to telemetry and aoview
739     
740     Having switched to the SiRF binary GPS format, the velocity and error data
741     can now be displayed.
742     
743     Signed-off-by: Keith Packard <keithp@keithp.com>
744
745 commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
746 Author: Keith Packard <keithp@keithp.com>
747 Date:   Mon Jun 29 13:54:00 2009 -0700
748
749     Convert GPS to SiRF binary protocol.
750     
751     This switches the GPS unit from NMEA to SiRF protocol at startup and then
752     parses the binary data. The binary data uses a different encoding of lat/lon
753     than the NMEA strings, and so the telemetry and eeprom data formats change
754     with this switch.
755     
756     Signed-off-by: Keith Packard <keithp@keithp.com>
757
758 commit 49bf37767d2453869f2ca2c0832d1124322c66e0
759 Author: Keith Packard <keithp@keithp.com>
760 Date:   Wed Jun 17 23:22:25 2009 -0700
761
762     Add ejection computation utility
763     
764     Signed-off-by: Keith Packard <keithp@keithp.com>
765
766 commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
767 Author: Keith Packard <keithp@keithp.com>
768 Date:   Wed Jun 17 13:55:23 2009 -0700
769
770     Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
771     
772     None of our boards have a 32kHz xtal oscillator, instead we use those pins
773     (on Telemetrum) for the deployment firing circuits. The old clock
774     initialization code was switching from the 32kHz RC oscillator to the 32kHz
775     crystal and overriding our use of those pins.
776     
777     Signed-off-by: Keith Packard <keithp@keithp.com>
778
779 commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
780 Author: Keith Packard <keithp@keithp.com>
781 Date:   Sun Jun 14 17:25:34 2009 -0700
782
783     Some kernels reference USB ttys as tty/tty* instead of tty:tty*
784     
785     Signed-off-by: Keith Packard <keithp@keithp.com>
786
787 commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
788 Author: Keith Packard <keithp@keithp.com>
789 Date:   Sun Jun 14 16:45:19 2009 -0700
790
791     Rename state apogee -> coast
792
793 commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
794 Author: Keith Packard <keithp@keithp.com>
795 Date:   Sun Jun 14 16:39:28 2009 -0700
796
797     rename states. launchpad -> pad, coast -> fast
798
799 commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
800 Author: Keith Packard <keithp@keithp.com>
801 Date:   Sun Jun 14 16:36:29 2009 -0700
802
803     Disable monitor mode when communicating via usb
804
805 commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
806 Author: Keith Packard <keithp@keithp.com>
807 Date:   Thu Jun 4 14:38:45 2009 -0700
808
809     Format GPS seconds as %02d.%04d to avoid spaces in the value
810     
811     The aoview GPS parsing code doesn't deal well with spaces in the middle of
812     the value, so pad the seconds field with a zero as needed.
813     
814     Signed-off-by: Keith Packard <keithp@keithp.com>
815
816 commit a0e6bfee635b64092262936c858542318f6fc6dc
817 Author: Bdale Garbee <bdale@gag.com>
818 Date:   Thu Jun 4 13:11:48 2009 -0600
819
820     newer INSTALL file pulled in by autogen.sh
821
822 commit cf1e258d52b878df10b51a047709b10ecd51a68e
823 Author: Bdale Garbee <bdale@gag.com>
824 Date:   Thu Jun 4 13:09:29 2009 -0600
825
826     add a distclean target to src/Makefile
827
828 commit 176052b7c14fcad067835ecb550778faf67cf4da
829 Author: Bdale Garbee <bdale@gag.com>
830 Date:   Thu Jun 4 13:07:10 2009 -0600
831
832     add lib to the front of the subdir list
833
834 commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
835 Author: Keith Packard <keithp@keithp.com>
836 Date:   Thu Jun 4 11:20:10 2009 -0700
837
838     Move build and debug tools to 'cctools' directory.
839     
840     These tools were merged in from the ccdbg package.
841     
842     Signed-off-by: Keith Packard <keithp@keithp.com>
843
844 commit 17d2432a8b9c15963cd3b821f025ad33972ef477
845 Merge: 210dbaa 8a9a3f0
846 Author: Keith Packard <keithp@keithp.com>
847 Date:   Thu Jun 4 11:13:15 2009 -0700
848
849     Merge ccdbg and altos sources into one giant repository
850     
851     Keeping these separate isn't making things any easier.
852     
853     Signed-off-by: Keith Packard <keithp@keithp.com>
854
855 commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
856 Author: Keith Packard <keithp@keithp.com>
857 Date:   Thu Jun 4 10:41:34 2009 -0700
858
859     Use autotools, move altos to src subdir
860     
861     Signed-off-by: Keith Packard <keithp@keithp.com>
862
863 commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
864 Author: Keith Packard <keithp@keithp.com>
865 Date:   Thu Jun 4 10:25:30 2009 -0700
866
867     Make menu seperator insensitive
868
869 commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
870 Author: Keith Packard <keithp@keithp.com>
871 Date:   Wed Jun 3 17:07:34 2009 -0700
872
873     aoview: Add eeprom data fetching
874     
875     Fetches the last flight data from a TM device connected via USB and writes
876     it to the flight log directory.
877     
878     Signed-off-by: Keith Packard <keithp@keithp.com>
879
880 commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
881 Author: Keith Packard <keithp@keithp.com>
882 Date:   Wed Jun 3 10:57:46 2009 -0700
883
884     Stop log dumping at flight end. Print 'end' at end of log.
885     
886     No reason to continue dumping data past the end of the flight now that the
887     logging stuff has been demonstrated to work reliably. Also, to make
888     automated log dumping easier, this prints out 'end' after the log data so
889     that aoview knows when to stop reading.
890     
891     Signed-off-by: Keith Packard <keithp@keithp.com>
892
893 commit 35ac66969abe24ca23776618306a59fc17770e06
894 Author: Keith Packard <keithp@keithp.com>
895 Date:   Sun May 31 09:22:01 2009 -0700
896
897     Start adding bi-directional packet link
898
899 commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
900 Author: Keith Packard <keithp@keithp.com>
901 Date:   Thu May 28 23:17:33 2009 -0700
902
903     Eliminate RDF tone generation.
904     
905     Now that we have a viable telemetry-signal based RDF device via TeleDongle,
906     there's no reason to continue to waste power and bandwidth with a NFM tone.
907     
908     Signed-off-by: Keith Packard <keithp@keithp.com>
909
910 commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
911 Author: Keith Packard <keithp@keithp.com>
912 Date:   Thu May 28 23:17:25 2009 -0700
913
914     Change .gitignore to match new aoload procedure
915
916 commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
917 Author: Keith Packard <keithp@keithp.com>
918 Date:   Wed May 27 22:01:37 2009 -0700
919
920     Leave serial number writing to aoload
921     
922     Instead of building per-serial hex files, leave that
923     process to the new aoload program
924     
925     Signed-off-by: Keith Packard <keithp@keithp.com>
926
927 commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
928 Author: Keith Packard <keithp@keithp.com>
929 Date:   Wed May 27 21:53:15 2009 -0700
930
931     Add aoload to load serial-numbered altos binaries.
932     
933     aoload is a custom version of ccload which edits the data before sending it
934     to the target machine, writing the target serial number into the data.
935     
936     Signed-off-by: Keith Packard <keithp@keithp.com>
937
938 commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
939 Author: Keith Packard <keithp@keithp.com>
940 Date:   Sat May 23 21:20:12 2009 -0700
941
942     Fix aoview telemetry GPS parsing code to use correct columns
943     
944     This code was trying to pull the GPS data from the wrong columns, causing
945     aoview to fail to display GPS information.
946     
947     Signed-off-by: Keith Packard <keithp@keithp.com>
948
949 commit 26988c3e7acb2fa832810475e43e08fd2867459c
950 Author: Keith Packard <keithp@keithp.com>
951 Date:   Sat May 23 21:18:57 2009 -0700
952
953     Parse both telemetry or log data ao_flight_test
954     
955     Change the way data is fed from files to the flight test rig to handle
956     either kind of input file.
957     
958     Signed-off-by: Keith Packard <keithp@keithp.com>
959
960 commit d6f5a0689023546464a71561f53fa2c943077c88
961 Author: Keith Packard <keithp@keithp.com>
962 Date:   Sat May 23 21:16:22 2009 -0700
963
964     Avoid 16-bit overflow in velocity computation.
965     
966     Adding two 16 bit integers together can wrap around to negative numbers,
967     this resulted in velocity values which never decreased, making the switch
968     from coast to apogee state not occur.
969     
970     Signed-off-by: Keith Packard <keithp@keithp.com>
971
972 commit aa6d87aeb616dd62f0debaded297232022b4f8bd
973 Author: Keith Packard <keithp@keithp.com>
974 Date:   Wed May 20 09:44:55 2009 -0700
975
976     Make file handling more general so it can be reused.
977     
978     The log file handling stuff will be useful for saving eeprom data, so pull
979     it out of the real-time log handling code and make a general interface.
980     
981     Signed-off-by: Keith Packard <keithp@keithp.com>
982
983 commit b730c8bcbce649cdddba935e1112aaae538bc526
984 Author: Keith Packard <keithp@keithp.com>
985 Date:   Sun May 17 23:54:44 2009 -0700
986
987     Ignore aoview_glade.h
988
989 commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
990 Author: Keith Packard <keithp@keithp.com>
991 Date:   Sun May 17 23:36:21 2009 -0700
992
993     Transmit computed ground pressure and acceleration values
994     
995     These are the last two values relevant to figuring out the state of the
996     flight computer, and as they are computed by averaging 10 seconds of 100Hz
997     sample data, they're a lot more accurate than anything the receiver could do
998     on its own.
999     
1000     Signed-off-by: Keith Packard <keithp@keithp.com>
1001
1002 commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
1003 Author: Keith Packard <keithp@keithp.com>
1004 Date:   Sun May 17 23:18:09 2009 -0700
1005
1006     Provide install target
1007
1008 commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
1009 Author: Keith Packard <keithp@keithp.com>
1010 Date:   Sun May 17 23:13:20 2009 -0700
1011
1012     Embed glade file in executable
1013     
1014     This eliminates install issues nicely.
1015     
1016     Signed-off-by: Keith Packard <keithp@keithp.com>
1017
1018 commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
1019 Author: Keith Packard <keithp@keithp.com>
1020 Date:   Sun May 17 23:05:23 2009 -0700
1021
1022     Add About dialog to aoview.
1023     
1024     Signed-off-by: Keith Packard <keithp@keithp.com>
1025
1026 commit 0f3233c49f43cd4e372e613303919ce4d50255b2
1027 Author: Keith Packard <keithp@keithp.com>
1028 Date:   Sun May 17 22:44:19 2009 -0700
1029
1030     USB device names can contain '.' too
1031     
1032     Depending on the hierarchy of devices, names can contain '.', so allow those
1033     too.
1034     
1035     Signed-off-by: Keith Packard <keithp@keithp.com>
1036
1037 commit 33221277690e6ee30387c506c3f2b8237ed48efd
1038 Author: Keith Packard <keithp@keithp.com>
1039 Date:   Sun May 17 22:43:34 2009 -0700
1040
1041     scandir returns -1 on error
1042     
1043     In which case, the namelist is invalid, so don't look at it, and don't free
1044     it.
1045     
1046     Signed-off-by: Keith Packard <keithp@keithp.com>
1047
1048 commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
1049 Author: Keith Packard <keithp@keithp.com>
1050 Date:   Sun May 17 22:29:54 2009 -0700
1051
1052     Send computed accel/vel/pres values over the radio
1053     
1054     These computed values reflect what the flight computer is actually refering
1055     to for state changes, and will be useful in debugging the flight software as
1056     well as provide a filtered view of the data.
1057     
1058     Signed-off-by: Keith Packard <keithp@keithp.com>
1059
1060 commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
1061 Author: Keith Packard <keithp@keithp.com>
1062 Date:   Sun May 17 22:29:06 2009 -0700
1063
1064     Handle disappearing serial devices
1065     
1066     Put up a dialog when the serial open fails, and shut down monitoring when
1067     the serial device disappears while running.
1068     
1069     Signed-off-by: Keith Packard <keithp@keithp.com>
1070
1071 commit 69616104813fc5ba89fb3128d04fb9328961c59c
1072 Author: Keith Packard <keithp@keithp.com>
1073 Date:   Sun May 17 22:24:53 2009 -0700
1074
1075     While on the pad, zero out velocity every second
1076     
1077     We integrate acceleration to get velocity, but that means sitting on the pad
1078     for a long time can add substantial error to the velocity value. Each
1079     second, take the velocity value from a full second ago and subtract that out
1080     of the current velocity. Once we detect boost, this will stop, which means
1081     that as long as we detect boost within a second, we won't have subtracted
1082     out any "real" velocity.
1083     
1084     This keeps the pad velocity hovering around zero, which is pretty useful.
1085     
1086     Signed-off-by: Keith Packard <keithp@keithp.com>
1087
1088 commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
1089 Author: Keith Packard <keithp@keithp.com>
1090 Date:   Sun May 17 01:29:06 2009 -0700
1091
1092     Clear table, reset log on disconnect
1093
1094 commit 4316b6af86b37522038e642235c163fcaad52e96
1095 Author: Keith Packard <keithp@keithp.com>
1096 Date:   Sun May 17 01:28:16 2009 -0700
1097
1098     Add pad lat/lon, max accel, max height
1099     
1100     Signed-off-by: Keith Packard <keithp@keithp.com>
1101
1102 commit 4348281bd788a13ea700413537f12da3c00356e4
1103 Author: Keith Packard <keithp@keithp.com>
1104 Date:   Sun May 17 00:46:09 2009 -0700
1105
1106     Clean up GPS display
1107     
1108     Signed-off-by: Keith Packard <keithp@keithp.com>
1109
1110 commit ff68e38770351ddac3285ce275cd85adab01fd3d
1111 Author: Keith Packard <keithp@keithp.com>
1112 Date:   Sun May 17 00:45:38 2009 -0700
1113
1114     Make aoview window taller
1115     
1116     Signed-off-by: Keith Packard <keithp@keithp.com>
1117
1118 commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
1119 Author: Keith Packard <keithp@keithp.com>
1120 Date:   Sun May 17 00:13:45 2009 -0700
1121
1122     Add lots more aoview UI bits
1123     
1124     Logs data to files, displays current state in window.
1125     
1126     Signed-off-by: Keith Packard <keithp@keithp.com>
1127
1128 commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
1129 Author: Keith Packard <keithp@keithp.com>
1130 Date:   Sat May 16 20:45:26 2009 -0700
1131
1132     When logging starts up, right the whole ring to the log.
1133     
1134     This preserves the data pre boost-detect for later analysis.
1135     
1136     Signed-off-by: Keith Packard <keithp@keithp.com>
1137
1138 commit fec4212a59a7b3321536b25707dcabc43c797c33
1139 Author: Keith Packard <keithp@keithp.com>
1140 Date:   Sat May 16 20:04:31 2009 -0700
1141
1142     Abandon use of accelerometer for apogee detect.
1143     
1144     Integrating the accelerometer data to compute velocity worked for one rocket
1145     flight, but additional testing shows that it doesn't work in other
1146     airframes. Until we figure out how this should work, we'll rely on the
1147     altimeter to detect apogee.
1148     
1149     Signed-off-by: Keith Packard <keithp@keithp.com>
1150
1151 commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
1152 Author: Keith Packard <keithp@keithp.com>
1153 Date:   Sat May 16 02:25:04 2009 -0700
1154
1155     Add preliminary aoview code
1156     
1157     AoView connects with TeleDongle to present telemetry information in a
1158     reasonable form. Right now, it just displays information to stdout, but it
1159     does have fancy dialogs for finding the USB devices.
1160     
1161     Signed-off-by: Keith Packard <keithp@keithp.com>
1162
1163 commit 37250b00f6286aee4b3b28604f5d463db3079a89
1164 Author: Keith Packard <keithp@keithp.com>
1165 Date:   Wed May 13 20:41:54 2009 -0700
1166
1167     Discard usb output before connection. Handle USB reset.
1168     
1169     Discarding output before USB is plugged in allows threads that send output
1170     and do other things to work without a USB connection. Unfortuantely, there
1171     doesn't appear to be any way to detect when the USB link is disconnected,
1172     which means that once USB is enabled, future writes will continue to block.
1173     
1174     USB reset causes the USB interrupts to all be reconfigured back to power-on
1175     state.
1176     
1177     Signed-off-by: Keith Packard <keithp@keithp.com>
1178
1179 commit 9b974217958b1017e62d6c4f4568f547ccc30c58
1180 Author: Keith Packard <keithp@keithp.com>
1181 Date:   Wed May 13 20:40:42 2009 -0700
1182
1183     Enable radio monitor by default in teleterra, teledongle and tidongle
1184     
1185     These ground loads want to monitor the radio constantly, and not require use
1186     of the 'm' command before listening.
1187     
1188     Signed-off-by: Keith Packard <keithp@keithp.com>
1189
1190 commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
1191 Author: Keith Packard <keithp@keithp.com>
1192 Date:   Wed May 13 20:39:28 2009 -0700
1193
1194     Remove monitor/rssi functions from telemetrum load
1195     
1196     Telemetrum is now a flight-only load, use teleterra or teledongle for ground
1197     boards.
1198     
1199     Signed-off-by: Keith Packard <keithp@keithp.com>
1200
1201 commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
1202 Author: Keith Packard <keithp@keithp.com>
1203 Date:   Wed May 13 20:38:11 2009 -0700
1204
1205     Split out ao_state_names to separate file
1206     
1207     Allows state names to be used in programs without monitoring enabled.
1208     
1209     Signed-off-by: Keith Packard <keithp@keithp.com>
1210
1211 commit d085d43701e3cdd2119e947a9ae45baa78c80318
1212 Author: Keith Packard <keithp@keithp.com>
1213 Date:   Wed May 13 14:29:30 2009 -0700
1214
1215     Indicate RSSI with a blinking LED
1216     
1217     Blink the red LED at a rate proportional to the RSSI value.
1218     
1219     Signed-off-by: Keith Packard <keithp@keithp.com>
1220
1221 commit 055331d5f7d5adc40c348c3efd331a562dcda82a
1222 Author: Keith Packard <keithp@keithp.com>
1223 Date:   Wed May 13 11:19:13 2009 -0700
1224
1225     Make ao_flight_test show AGL altitude and positive acceleration under boost
1226     
1227     This makes the output more readable
1228     
1229     Signed-off-by: Keith Packard <keithp@keithp.com>
1230
1231 commit d91208fbf5fc7797b93087ef8619454c4bed0130
1232 Author: Keith Packard <keithp@keithp.com>
1233 Date:   Wed May 13 11:18:24 2009 -0700
1234
1235     Make ao_flight_test able to read raw logging data
1236     
1237     Protect ao_flight_test reading functions so that a simple
1238     'script' output can be fed to the program and have it work correctly.
1239     
1240     Signed-off-by: Keith Packard <keithp@keithp.com>
1241
1242 commit d3dbd8949e1102220ad5fd0863f493c819b96e46
1243 Author: Keith Packard <keithp@keithp.com>
1244 Date:   Wed May 13 11:16:53 2009 -0700
1245
1246     Print only RSSI when packet CRC is invalid
1247     
1248     Packets with invalid CRC usually contain bogus data, so don't print that,
1249     just print out the RSSI which may contain useful data.
1250     
1251     Signed-off-by: Keith Packard <keithp@keithp.com>
1252
1253 commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
1254 Author: Keith Packard <keithp@keithp.com>
1255 Date:   Wed May 13 11:00:43 2009 -0700
1256
1257     Accelerometer-based velocity values are invalid after apogee
1258     
1259     Because the orientation of the flight computer relative to the ground is
1260     unknown after apogee, the accelerometer data cannot be integrated to compute
1261     velocity. Main deploy is now based purely on barometric altitude and landing
1262     detection no longer checks for a low velocity value.
1263     
1264     Signed-off-by: Keith Packard <keithp@keithp.com>
1265
1266 commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
1267 Author: Keith Packard <keithp@keithp.com>
1268 Date:   Wed May 13 10:59:04 2009 -0700
1269
1270     Add velocity check for boost detect via accelerometer
1271     
1272     Bumping the rocket can cause a brief period of high acceleration, which may
1273     cause a mistaken boost detection. Require both a high acceleration and
1274     reasonable velocity to trigger boost phase.
1275     
1276     Signed-off-by: Keith Packard <keithp@keithp.com>
1277
1278 commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
1279 Author: Keith Packard <keithp@keithp.com>
1280 Date:   Wed May 13 10:58:30 2009 -0700
1281
1282     Typo in callsign
1283
1284 commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
1285 Author: Keith Packard <keithp@keithp.com>
1286 Date:   Sun May 10 23:11:06 2009 -0700
1287
1288     Use recorded accelerometer baseline data in ao_flight_test
1289     
1290     With the flight computer recording a long-term average value for the
1291     accelerometer in the flight record, use that to prime the flight test code
1292     when running a log file through the simulator.
1293     
1294     Signed-off-by: Keith Packard <keithp@keithp.com>
1295
1296 commit ba3c53636e485450f48093d0a88a6629775f7c3a
1297 Author: Keith Packard <keithp@keithp.com>
1298 Date:   Sun May 10 23:01:16 2009 -0700
1299
1300     Don't re-initialize the landing range data at each apogee detect sample
1301     
1302     The landing range values are used only after apogee detect, so we need only
1303     initialize them on the transition from apogee to drogue.
1304     
1305     Signed-off-by: Keith Packard <keithp@keithp.com>
1306
1307 commit b623b1098bc7a10d471730259438fb82804221d0
1308 Author: Keith Packard <keithp@keithp.com>
1309 Date:   Sun May 10 23:00:06 2009 -0700
1310
1311     Initialize ao_min_vel with |ao_flight_vel|
1312     
1313     As ao_min_vel is stored as an absolute value, it's important to preserve
1314     that invariant, even though we don't expect ao_flight_vel to be negative at
1315     coast.
1316     
1317     Signed-off-by: Keith Packard <keithp@keithp.com>
1318
1319 commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
1320 Author: Keith Packard <keithp@keithp.com>
1321 Date:   Sun May 10 22:58:31 2009 -0700
1322
1323     Decrease telemetry rate on the pad to 1/sec instead of 20/sec
1324     
1325     Transmitting telemetry through the radio consumes a significant amount of
1326     battery; reducing the rate to 1/sec will reduce power usage while waiting
1327     for launch.
1328     
1329     Signed-off-by: Keith Packard <keithp@keithp.com>
1330
1331 commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
1332 Author: Keith Packard <keithp@keithp.com>
1333 Date:   Sun May 10 22:57:19 2009 -0700
1334
1335     Increase the initial accel/baro average to 1000 samples
1336     
1337     To get an accurate baseline of the launchpad state, take a longer average of
1338     the two sensors as the unit boots up.
1339     
1340     Signed-off-by: Keith Packard <keithp@keithp.com>
1341
1342 commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
1343 Author: Keith Packard <keithp@keithp.com>
1344 Date:   Sun May 10 22:54:14 2009 -0700
1345
1346     Record average accelerometer value in flight start log record
1347     
1348     The average accelerometer value cannot be extracted from the log as the
1349     record starts after that is computed. As that drives much of the
1350     accelerometer-based state transition logic, it is an important value to
1351     have, so we log it as part of the flight start record now.
1352     
1353     Signed-off-by: Keith Packard <keithp@keithp.com>
1354
1355 commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
1356 Author: Keith Packard <keithp@keithp.com>
1357 Date:   Sat May 9 10:24:10 2009 -0700
1358
1359     Add version command to show product information
1360
1361 commit e80b87f5e3ccf152d67a2e87bdefda161c455599
1362 Author: Keith Packard <keithp@keithp.com>
1363 Date:   Sat May 9 10:23:49 2009 -0700
1364
1365     Pad callsign with nuls
1366
1367 commit beae3360828da21eb1a3c4f88e930f242d4e36b7
1368 Author: Keith Packard <keithp@keithp.com>
1369 Date:   Fri May 1 08:14:57 2009 -0700
1370
1371     USB spec limits bulk endpoints to 64 byte payload max.
1372     
1373     For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
1374     more.
1375
1376 commit de7814c738488c2c16c6216c93fa78128895e5d5
1377 Author: Keith Packard <keithp@keithp.com>
1378 Date:   Wed Apr 29 17:46:56 2009 -0700
1379
1380     Use 'char' instead of 'uint8_t' for character data
1381     
1382     String and character constants are of char type, so using uint8_t causes
1383     promotion to 16-bit types when comparing the two.
1384
1385 commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
1386 Author: Keith Packard <keithp@keithp.com>
1387 Date:   Wed Apr 29 17:46:36 2009 -0700
1388
1389     Eliminate incorrect cast in printf string argument
1390     
1391     char * is a pointer to a string in the default address space, not a generic pointer
1392     to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
1393     cast is included.
1394
1395 commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
1396 Author: Keith Packard <keithp@keithp.com>
1397 Date:   Wed Apr 29 17:44:41 2009 -0700
1398
1399     Correct radio frequency shown in config display.
1400     
1401     Radio frequency base is 434.550, not 435.550
1402
1403 commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
1404 Author: Keith Packard <keithp@keithp.com>
1405 Date:   Wed Apr 29 17:42:26 2009 -0700
1406
1407     Reset landing interval tests at apogee
1408     
1409     This moves all of the interval management into the landing test code and
1410     out of the main loop. The interval is reset at apogee to make sure the
1411     sensors produce a stable reading for at least 20 seconds
1412
1413 commit 7a1b77c2d7253a681389f32b70e2460aac188807
1414 Author: Bdale Garbee <bdale@gag.com>
1415 Date:   Sun Apr 26 17:53:13 2009 -0600
1416
1417     clean up host programs, too
1418
1419 commit 5df80c346d65a9d56a8699b056dc44924acb31fe
1420 Author: Keith Packard <keithp@keithp.com>
1421 Date:   Sun Apr 26 16:04:07 2009 -0700
1422
1423     Was missing v_batt in adc dump command
1424
1425 commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
1426 Author: Keith Packard <keithp@keithp.com>
1427 Date:   Sun Apr 26 15:38:28 2009 -0700
1428
1429     Add manual ignition and igniter test commands
1430
1431 commit 819f1de8dd6010fae050bcef930943c7923929f9
1432 Author: Keith Packard <keithp@keithp.com>
1433 Date:   Sun Apr 26 15:38:03 2009 -0700
1434
1435     Clean up commands a bit
1436
1437 commit 178abb5c8439509926a5507911d7148b84f051b8
1438 Author: Keith Packard <keithp@keithp.com>
1439 Date:   Sun Apr 26 15:08:58 2009 -0700
1440
1441     Clear more files on make clean
1442
1443 commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
1444 Author: Keith Packard <keithp@keithp.com>
1445 Date:   Sun Apr 26 15:05:29 2009 -0700
1446
1447     Label binaries with product and serial info
1448
1449 commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
1450 Author: Keith Packard <keithp@keithp.com>
1451 Date:   Sun Apr 26 01:37:02 2009 -0700
1452
1453     Make sure full log is written and flushed on landing.
1454     
1455     The final state change to landing is recorded in the logging thread, so have
1456     that turn off logging once it has recorded that state. Then make it go to
1457     sleep.
1458
1459 commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
1460 Author: Keith Packard <keithp@keithp.com>
1461 Date:   Sun Apr 26 01:36:53 2009 -0700
1462
1463     Clean up monitor output a bit
1464
1465 commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
1466 Author: Keith Packard <keithp@keithp.com>
1467 Date:   Sun Apr 26 00:11:32 2009 -0700
1468
1469     Add configuration support
1470     
1471     Current config variables:
1472     Main deploy altitude above launch (in meters)
1473     Acceleration zero g calibration (manual or automatic)
1474     Radio channel (freq = 435.550MHz + channel * 100kHz)
1475     Callsign (max 8 characters)
1476     
1477     Supporting this involved shuffling code around so that the
1478     non-telemetrum builds could include only the stuff they needed.
1479
1480 commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
1481 Author: Keith Packard <keithp@keithp.com>
1482 Date:   Sat Apr 25 14:44:33 2009 -0700
1483
1484     Allow for slower ADC operation. Add power saving code.
1485     
1486     This tries to make the flight computer use less power by disabling USB in
1487     flight mode, lowering the telemetry rate after ascent. It also disables the
1488     RDF beacon during ascent and re-enables it once descent has started.
1489
1490 commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
1491 Author: Keith Packard <keithp@keithp.com>
1492 Date:   Sat Apr 25 14:44:04 2009 -0700
1493
1494     Allow ADC to be disabled
1495
1496 commit 7bc3d9962872850e7b420221cf689db16b4305cc
1497 Author: Keith Packard <keithp@keithp.com>
1498 Date:   Sat Apr 25 14:43:23 2009 -0700
1499
1500     Place CPU in P0 state while idle
1501
1502 commit e45fce7f82d704d677f84c69b0e07588d109d780
1503 Author: Keith Packard <keithp@keithp.com>
1504 Date:   Sat Apr 25 14:42:20 2009 -0700
1505
1506     Add RDF beacon and callsign to telemetry
1507
1508 commit 61510f98404bca6861b2da98f6cd9ba9deb76968
1509 Author: Keith Packard <keithp@keithp.com>
1510 Date:   Sat Apr 25 14:40:51 2009 -0700
1511
1512     Add radio code to emit a 1kHz tone
1513
1514 commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
1515 Author: Keith Packard <keithp@keithp.com>
1516 Date:   Sat Apr 25 13:18:37 2009 -0700
1517
1518     Allow the USB system to be disabled/enabled at run-time
1519
1520 commit 45976af820fc41099928df71ea8304c56eb9fc7c
1521 Author: Keith Packard <keithp@keithp.com>
1522 Date:   Sat Apr 25 13:16:27 2009 -0700
1523
1524     Make LED usage depend on target device
1525
1526 commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
1527 Author: Keith Packard <keithp@keithp.com>
1528 Date:   Sat Apr 25 13:13:24 2009 -0700
1529
1530     Make some functions reentrant to save DSEG space
1531
1532 commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
1533 Author: Keith Packard <keithp@keithp.com>
1534 Date:   Fri Apr 24 19:17:37 2009 -0700
1535
1536     Add monitor task to flight software
1537     
1538     Allows the use of telemetrum in teledongle mode.
1539
1540 commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
1541 Author: Keith Packard <keithp@keithp.com>
1542 Date:   Fri Apr 24 19:17:19 2009 -0700
1543
1544     Report difference from ground to max altitude at landing
1545
1546 commit f94ab879ff6f97708827c74facd11003a2d8b590
1547 Author: Keith Packard <keithp@keithp.com>
1548 Date:   Fri Apr 24 19:16:29 2009 -0700
1549
1550     Display data with units while running simulation
1551
1552 commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
1553 Author: Keith Packard <keithp@keithp.com>
1554 Date:   Fri Apr 24 19:13:31 2009 -0700
1555
1556     Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
1557     
1558     This change ensures that we actually got going fairly fast, and then slowed
1559     down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
1560     right off the pad as we're not going very fast at that point...
1561     
1562     This also adds the 'f' command to show the current flight status on the USB
1563     port.
1564
1565 commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
1566 Author: Keith Packard <keithp@keithp.com>
1567 Date:   Fri Apr 24 19:12:28 2009 -0700
1568
1569     configure igniter ports, set values to measured ones
1570
1571 commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
1572 Author: Keith Packard <keithp@keithp.com>
1573 Date:   Fri Apr 24 19:11:40 2009 -0700
1574
1575     Move ao_led_init to end of file to be consistent with other files
1576
1577 commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
1578 Author: Keith Packard <keithp@keithp.com>
1579 Date:   Fri Apr 24 19:10:20 2009 -0700
1580
1581     Define ao_state_names in ao.h so other people can share
1582
1583 commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
1584 Author: Keith Packard <keithp@keithp.com>
1585 Date:   Fri Apr 24 19:09:31 2009 -0700
1586
1587     Bump NUM_CMDS to 10
1588
1589 commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
1590 Author: Keith Packard <keithp@keithp.com>
1591 Date:   Fri Apr 24 19:09:09 2009 -0700
1592
1593     Move beep_init to end of file to be consistent with other files
1594
1595 commit b99315cee4ab796376458a2442cf36806fa4aed3
1596 Author: Keith Packard <keithp@keithp.com>
1597 Date:   Fri Apr 24 10:19:31 2009 -0700
1598
1599     Update flight algorithm based on data collected from SN-1 Flight 1
1600     
1601     This now correctly sequences through the flight data collected from the
1602     first TeleMetrum test flight.
1603     
1604     This also completes up the flight algorithm test harness (ao_flight_test),
1605     which runs the flight algorithm on the Linux host from a captured data log.
1606
1607 commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
1608 Author: Keith Packard <keithp@keithp.com>
1609 Date:   Thu Apr 23 22:17:44 2009 -0700
1610
1611     Add igniters and update flight control algorithm
1612
1613 commit f155333ae18a25068644792e8940269d9fb28033
1614 Author: Keith Packard <keithp@keithp.com>
1615 Date:   Fri Apr 24 00:15:09 2009 -0700
1616
1617     Avoid ram from 0xfda2 through feff, its funky
1618
1619 commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
1620 Author: Keith Packard <keithp@keithp.com>
1621 Date:   Thu Apr 23 22:18:33 2009 -0700
1622
1623     remove ao_flight_test until its ready
1624
1625 commit 86e73c009f78dc4664883353124fc891fbb01dce
1626 Author: Keith Packard <keithp@keithp.com>
1627 Date:   Thu Apr 23 20:50:07 2009 -0700
1628
1629     Add teledongle module
1630
1631 commit 204daac71ad56926730f5d6860bd70c645302e19
1632 Author: Keith Packard <keithp@keithp.com>
1633 Date:   Thu Apr 23 14:26:01 2009 -0700
1634
1635     Set telemetry rate to 100ms
1636
1637 commit 306b28f632e21b42ab165e7944283cf9764b590e
1638 Author: Keith Packard <keithp@keithp.com>
1639 Date:   Thu Apr 23 14:23:26 2009 -0700
1640
1641     Wrong license on ao_monitor.c
1642
1643 commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
1644 Author: Keith Packard <keithp@keithp.com>
1645 Date:   Thu Apr 23 14:23:00 2009 -0700
1646
1647     Crank up radio to 10dBm
1648
1649 commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
1650 Author: Keith Packard <keithp@keithp.com>
1651 Date:   Wed Apr 22 16:03:28 2009 -0700
1652
1653     Add COPYING file
1654
1655 commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
1656 Author: Keith Packard <keithp@keithp.com>
1657 Date:   Wed Apr 22 15:55:01 2009 -0700
1658
1659     Clean up TeleTerra files
1660
1661 commit 61cee50c86e275f9fde875bd317c3e74255394ec
1662 Author: Keith Packard <keithp@keithp.com>
1663 Date:   Wed Apr 22 15:53:55 2009 -0700
1664
1665     simplify ao_time function
1666
1667 commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
1668 Author: Keith Packard <keithp@keithp.com>
1669 Date:   Wed Apr 22 15:53:46 2009 -0700
1670
1671     One line radio status
1672
1673 commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
1674 Author: Keith Packard <keithp@keithp.com>
1675 Date:   Wed Apr 22 15:49:16 2009 -0700
1676
1677     Add new binaries to .gitignore
1678
1679 commit 00d5610caff61559eb24c24beaa56629d6bb03be
1680 Author: Keith Packard <keithp@keithp.com>
1681 Date:   Wed Apr 22 15:49:00 2009 -0700
1682
1683     Speed up dbg port bit frobbing
1684
1685 commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
1686 Author: Keith Packard <keithp@keithp.com>
1687 Date:   Wed Apr 22 15:48:28 2009 -0700
1688
1689     Use sdcc from path
1690
1691 commit ada6dea04b94be016598566c4c13e6105aaec353
1692 Author: Keith Packard <keithp@keithp.com>
1693 Date:   Wed Apr 22 15:48:14 2009 -0700
1694
1695     Clean up task list formatting
1696
1697 commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
1698 Author: Keith Packard <keithp@keithp.com>
1699 Date:   Wed Apr 22 15:47:57 2009 -0700
1700
1701     Control radio monitoring with the M command
1702
1703 commit 837c620f07b63efc171be3ac14c78bc99adf7592
1704 Author: Keith Packard <keithp@keithp.com>
1705 Date:   Wed Apr 22 14:25:43 2009 -0700
1706
1707     Shrink USB output buffers, work around USB packet errors
1708
1709 commit d87e9c25947d7cc2eba8894a524977f2c55a089a
1710 Author: Keith Packard <keithp@keithp.com>
1711 Date:   Tue Apr 21 02:07:24 2009 -0700
1712
1713     Clean up telemetry now that all packets are the same
1714
1715 commit 1b333def5052d2ed47fdeaef23a897fe326f6340
1716 Author: Keith Packard <keithp@keithp.com>
1717 Date:   Tue Apr 21 02:07:08 2009 -0700
1718
1719     Add longer debug delays to reset/debug_mode entry
1720
1721 commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
1722 Author: Keith Packard <keithp@keithp.com>
1723 Date:   Tue Apr 21 01:17:03 2009 -0700
1724
1725     Fix up fancy dbg stuff. Add teleterra initial bits.
1726     
1727     The dbg stuff needed a bit of help to actually walk the tables; it appears
1728     that complex expressions confuse sdcc.
1729     
1730     This also adds primitive teleterra bits, but no UI, etc.
1731     
1732     Signed-off-by: Keith Packard <keithp@keithp.com>
1733
1734 commit 43c8f7012102cdb591ace899420c10e4a78385ad
1735 Author: Keith Packard <keithp@keithp.com>
1736 Date:   Mon Apr 20 23:33:41 2009 -0700
1737
1738     Add radio support. Build separate executables for TeleMetrum and the TI dongle
1739     
1740     Ok, way too big a patch, but things were in rough shape.
1741     This patch adds support for the radio, both transmit and receive.
1742     Then, because I could no longer run the TeleMetrum code on the TI
1743     dongle, I ended up building a separate image for the TI board, which
1744     involved creating a mechanism for having multiple command sets and splitting
1745     code for different functions into different files.
1746
1747 commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
1748 Author: Keith Packard <keithp@keithp.com>
1749 Date:   Sat Apr 18 23:19:24 2009 -0700
1750
1751     Start using pdata area for less-frequently used data
1752
1753 commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
1754 Author: Keith Packard <keithp@keithp.com>
1755 Date:   Sat Apr 18 23:19:05 2009 -0700
1756
1757     Slow down panic presentation
1758
1759 commit c4e983daa4579896b227fdcb2be43fad75e94307
1760 Author: Keith Packard <keithp@keithp.com>
1761 Date:   Sat Apr 18 23:17:45 2009 -0700
1762
1763     Parse GPS data locally. Add 'g' command to display recent GPS results.
1764     
1765     This parses the GPS GGA message and stores it in a global variable,
1766     protected by a mutex.
1767
1768 commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
1769 Author: Keith Packard <keithp@keithp.com>
1770 Date:   Sat Apr 18 23:16:01 2009 -0700
1771
1772     Add task names and 'T' command to show task status.
1773     
1774     The T command shows the current wchan and PC for each task in the system.
1775
1776 commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
1777 Author: Keith Packard <keithp@keithp.com>
1778 Date:   Sat Apr 18 19:32:18 2009 -0700
1779
1780     Fix GPL version at 2
1781     
1782     Signed-off-by: Keith Packard <keithp@keithp.com>
1783
1784 commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
1785 Author: Keith Packard <keithp@keithp.com>
1786 Date:   Fri Apr 17 23:38:14 2009 -0700
1787
1788     Add gps, debug dongle support and pressure alt tables
1789     
1790     GPS also pulled in serial support. The altitude tables take raw 11-bit
1791     pressure sample numbers and convert them to standard pressure altitude
1792     values.
1793     
1794     Signed-off-by: Keith Packard <keithp@keithp.com>
1795
1796 commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
1797 Author: Keith Packard <keithp@keithp.com>
1798 Date:   Fri Apr 17 10:32:45 2009 -0700
1799
1800     Enable FEC in radio packets
1801
1802 commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
1803 Author: Keith Packard <keithp@keithp.com>
1804 Date:   Fri Apr 17 10:29:42 2009 -0700
1805
1806     Add CRC to radio packets
1807
1808 commit 20834caf01ddf481e8362b0d2627ef383a82e09d
1809 Author: Keith Packard <keithp@keithp.com>
1810 Date:   Fri Apr 17 10:23:10 2009 -0700
1811
1812     Add data whitening
1813
1814 commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
1815 Author: Keith Packard <keithp@keithp.com>
1816 Date:   Fri Apr 17 10:19:25 2009 -0700
1817
1818     Add packet status byte defines
1819
1820 commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
1821 Author: Keith Packard <keithp@keithp.com>
1822 Date:   Fri Apr 17 10:11:31 2009 -0700
1823
1824     Add separate xmit/recv programs to radio demo
1825
1826 commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
1827 Author: Keith Packard <keithp@keithp.com>
1828 Date:   Fri Apr 17 10:11:11 2009 -0700
1829
1830     Get env var for debug method selection
1831
1832 commit 26095fc0511ee0d5213f038986032f7c59964cf0
1833 Author: Keith Packard <keithp@keithp.com>
1834 Date:   Fri Apr 17 10:10:47 2009 -0700
1835
1836     Run-time selection between cp2103 and cc1111
1837
1838 commit 543bedde83cbce5145668e72965e02d892187b59
1839 Author: Keith Packard <keithp@keithp.com>
1840 Date:   Thu Apr 16 20:38:14 2009 -0700
1841
1842     Send data
1843
1844 commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
1845 Author: Keith Packard <keithp@keithp.com>
1846 Date:   Wed Apr 15 14:25:26 2009 -0700
1847
1848     Move a bunch of variables from __data to __xdata
1849
1850 commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
1851 Author: Keith Packard <keithp@keithp.com>
1852 Date:   Tue Apr 14 21:25:15 2009 -0700
1853
1854     Slow down panic code, disable interrupts
1855
1856 commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
1857 Author: Keith Packard <keithp@keithp.com>
1858 Date:   Tue Apr 14 21:24:25 2009 -0700
1859
1860     Keep reporting flight state while it changes
1861
1862 commit 9605045164882b4ca3d1317ac860b02513a51f30
1863 Author: Keith Packard <keithp@keithp.com>
1864 Date:   Tue Apr 14 21:23:55 2009 -0700
1865
1866     use red LED to indicate system startup
1867
1868 commit dc844ee7e49a3b6145b3165252a592ed070d600f
1869 Author: Keith Packard <keithp@keithp.com>
1870 Date:   Tue Apr 14 21:23:13 2009 -0700
1871
1872     Use ao_ee_flush_internal while holding mutex
1873
1874 commit 5e45d1c89b00e74d5b2730345843f43aab516af2
1875 Author: Keith Packard <keithp@keithp.com>
1876 Date:   Tue Apr 14 21:22:56 2009 -0700
1877
1878     Leave beeping and lights to the flight code
1879
1880 commit 902c342289c1d13a4d55b9224acb6d67578b7a60
1881 Author: Keith Packard <keithp@keithp.com>
1882 Date:   Tue Apr 14 21:22:31 2009 -0700
1883
1884     Make mutex functions reentrant
1885
1886 commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
1887 Author: Keith Packard <keithp@keithp.com>
1888 Date:   Tue Apr 14 19:08:01 2009 -0700
1889
1890     Add in existing flight pieces: flight/report/log
1891     
1892     These pieces come from the old telemetrum firmware.
1893     
1894     Signed-off-by: Keith Packard <keithp@keithp.com>
1895
1896 commit ac99982b10fd5772218660137ee21db9b90cd885
1897 Author: Keith Packard <keithp@keithp.com>
1898 Date:   Tue Apr 14 14:21:56 2009 -0700
1899
1900     Add eeprom driver and command loop
1901     
1902     This involved adding dma control and a mutex implementation.
1903     
1904     Signed-off-by: Keith Packard <keithp@keithp.com>
1905
1906 commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
1907 Author: Keith Packard <keithp@keithp.com>
1908 Date:   Tue Apr 14 11:04:09 2009 -0700
1909
1910     Switch from --model-large to --model-small
1911     
1912     This shrinks the application quite a bit, and should make it faster as well.
1913     
1914     Signed-off-by: Keith Packard <keithp@keithp.com>
1915
1916 commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
1917 Author: Keith Packard <keithp@keithp.com>
1918 Date:   Tue Apr 14 10:02:19 2009 -0700
1919
1920     Add comments, clean up white space, etc.
1921     
1922     Various clean ups now that the basic code appears to work.
1923     
1924     Signed-off-by: Keith Packard <keithp@keithp.com>
1925
1926 commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
1927 Author: Keith Packard <keithp@keithp.com>
1928 Date:   Mon Apr 13 21:58:07 2009 -0700
1929
1930     Switch USB to double-buffered
1931
1932 commit b56a44e48552bc32dbba9ff21770c370219a684a
1933 Author: Keith Packard <keithp@keithp.com>
1934 Date:   Mon Apr 13 21:51:59 2009 -0700
1935
1936     Fix USB input/output by reloading packet limits.
1937     
1938     The USB controller is reset during the connection process, which clears the
1939     packet limits set in the controller at initialization time. Reload those
1940     values when the configuration is set.
1941     
1942     Signed-off-by: Keith Packard <keithp@keithp.com>
1943
1944 commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
1945 Author: Keith Packard <keithp@keithp.com>
1946 Date:   Mon Apr 13 20:39:46 2009 -0700
1947
1948     USB working up through reading strings
1949
1950 commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
1951 Author: Keith Packard <keithp@keithp.com>
1952 Date:   Mon Apr 13 13:51:08 2009 -0700
1953
1954     Add USB support.
1955     
1956     This offers a single CDC ACM device over USB.
1957     
1958     Signed-off-by: Keith Packard <keithp@keithp.com>
1959
1960 commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
1961 Author: Keith Packard <keithp@keithp.com>
1962 Date:   Sun Apr 12 23:53:55 2009 -0700
1963
1964     Add beep/led support.
1965     
1966     Support our P2_0 connected buzzer, and formalize LED output support.
1967     
1968     Signed-off-by: Keith Packard <keithp@keithp.com>
1969
1970 commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
1971 Author: Keith Packard <keithp@keithp.com>
1972 Date:   Sun Apr 12 23:17:16 2009 -0700
1973
1974     Add A/D sampler
1975     
1976     Sample A/D at the timer tick, placing data in a ring
1977     of samples.
1978     
1979     Signed-off-by: Keith Packard <keithp@keithp.com>
1980
1981 commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
1982 Author: Keith Packard <keithp@keithp.com>
1983 Date:   Sun Apr 12 22:52:47 2009 -0700
1984
1985     Add 100Hz timer
1986     
1987     Use Timer 1 to generate a 100Hz timer interrupt
1988
1989 commit 650a77e209dbb54c8d8fd9824cee430985564973
1990 Author: Keith Packard <keithp@keithp.com>
1991 Date:   Sun Apr 12 21:58:49 2009 -0700
1992
1993     Update README
1994
1995 commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
1996 Author: Keith Packard <keithp@keithp.com>
1997 Date:   Sun Apr 12 21:52:56 2009 -0700
1998
1999     GPL Version 2 only
2000
2001 commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
2002 Author: Keith Packard <keithp@keithp.com>
2003 Date:   Sun Apr 12 21:47:32 2009 -0700
2004
2005     Add load command to s51
2006
2007 commit 55402ba3e87fd699c51079843309f1f0d1534724
2008 Author: Keith Packard <keithp@keithp.com>
2009 Date:   Sun Apr 12 21:33:55 2009 -0700
2010
2011     Make test more complicated
2012
2013 commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
2014 Author: Keith Packard <keithp@keithp.com>
2015 Date:   Sun Apr 12 21:33:46 2009 -0700
2016
2017     SP points at last pushed byte
2018
2019 commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
2020 Author: Keith Packard <keithp@keithp.com>
2021 Date:   Sun Apr 12 20:27:03 2009 -0700
2022
2023     Add .gitignore
2024
2025 commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
2026 Author: Keith Packard <keithp@keithp.com>
2027 Date:   Sun Apr 12 20:25:39 2009 -0700
2028
2029     Initial AltOS import
2030
2031 commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
2032 Author: Keith Packard <keithp@keithp.com>
2033 Date:   Sun Apr 12 12:38:58 2009 -0700
2034
2035     Add ccdump
2036
2037 commit ee110425fb814780476d1d3d8a257af126f41763
2038 Author: Keith Packard <keithp@keithp.com>
2039 Date:   Mon Apr 6 17:09:23 2009 -0700
2040
2041     Bump buffer pointer as data is written to cc-usb
2042
2043 commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
2044 Author: Keith Packard <keithp@keithp.com>
2045 Date:   Mon Apr 6 11:31:49 2009 -0700
2046
2047     Add support for a serial-connected custom debug dongle
2048     
2049     This uses the cc1111 board as a custom debug dongle with faster
2050     methods for communicating with the debug target.
2051
2052 commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
2053 Author: Keith Packard <keithp@keithp.com>
2054 Date:   Wed Apr 1 17:50:47 2009 -0700
2055
2056     Reset cc1111 on s51 exit
2057
2058 commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
2059 Author: Keith Packard <keithp@keithp.com>
2060 Date:   Wed Apr 1 00:06:45 2009 -0700
2061
2062     Add timer-based beep test
2063
2064 commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
2065 Author: Keith Packard <keithp@keithp.com>
2066 Date:   Thu Mar 26 22:41:47 2009 -0700
2067
2068     Add readline support to s51
2069
2070 commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
2071 Author: Keith Packard <keithp@keithp.com>
2072 Date:   Wed Mar 25 11:37:48 2009 -0700
2073
2074     Deal with MSB-outputing DMA engine
2075
2076 commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
2077 Author: Keith Packard <keithp@keithp.com>
2078 Date:   Wed Mar 25 11:14:03 2009 -0700
2079
2080     Flip ADC bytes around
2081
2082 commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
2083 Author: Keith Packard <keithp@keithp.com>
2084 Date:   Wed Mar 25 11:01:30 2009 -0700
2085
2086     Add spacing for serial adc data
2087
2088 commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
2089 Author: Keith Packard <keithp@keithp.com>
2090 Date:   Wed Mar 25 10:58:57 2009 -0700
2091
2092     Inc only one on dest addr
2093
2094 commit 378227d869a3e8787c532c8c4e1563b44002c4b5
2095 Author: Keith Packard <keithp@keithp.com>
2096 Date:   Wed Mar 25 10:55:17 2009 -0700
2097
2098     Dump remaining inputs
2099
2100 commit f54a41e37d6897db2e24fbc82880076b78a0ae41
2101 Author: Keith Packard <keithp@keithp.com>
2102 Date:   Wed Mar 25 10:50:36 2009 -0700
2103
2104     Remove poll for ti demo button
2105
2106 commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
2107 Author: Keith Packard <keithp@keithp.com>
2108 Date:   Wed Mar 25 10:50:14 2009 -0700
2109
2110     Add adc to serial conversion
2111
2112 commit d9fd548db15232e3a8823815962b252c7a5e7cba
2113 Author: Keith Packard <keithp@keithp.com>
2114 Date:   Wed Mar 25 10:04:50 2009 -0700
2115
2116     Add ADC via DMA example
2117
2118 commit 61faf2b773300988fe27cfde5bc045be9950a1b0
2119 Author: Keith Packard <keithp@keithp.com>
2120 Date:   Wed Mar 25 09:45:14 2009 -0700
2121
2122     Add DMA example
2123
2124 commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
2125 Author: Keith Packard <keithp@keithp.com>
2126 Date:   Wed Mar 25 01:05:36 2009 -0700
2127
2128     Back to 0dBm
2129
2130 commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
2131 Author: Keith Packard <keithp@keithp.com>
2132 Date:   Wed Mar 25 01:03:08 2009 -0700
2133
2134     Make radio test compile again
2135
2136 commit 9ce713fdd19bf1a51370dacba3670504356c5c11
2137 Author: Keith Packard <keithp@keithp.com>
2138 Date:   Wed Mar 25 01:02:07 2009 -0700
2139
2140     Wait for xtal to stabilize
2141
2142 commit ffd43886dc902f3bb7407294018e3d62cac39480
2143 Author: Keith Packard <keithp@keithp.com>
2144 Date:   Wed Mar 25 00:55:11 2009 -0700
2145
2146     Check serial input
2147
2148 commit 029963cc94fbb47560118b5de73c537e2c14ed7c
2149 Author: Keith Packard <keithp@keithp.com>
2150 Date:   Wed Mar 25 00:50:02 2009 -0700
2151
2152     Eliminate array walking
2153
2154 commit 019456a17d36f8f9f9b72cfbc980492175086d32
2155 Author: Keith Packard <keithp@keithp.com>
2156 Date:   Wed Mar 25 00:41:49 2009 -0700
2157
2158     Add a per-char delay
2159
2160 commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
2161 Author: Keith Packard <keithp@keithp.com>
2162 Date:   Wed Mar 25 00:36:35 2009 -0700
2163
2164     Use UTX1IF to wait for serial TX complete
2165
2166 commit 006124529b243c7657a94312d2c868a82878d8bb
2167 Author: Keith Packard <keithp@keithp.com>
2168 Date:   Wed Mar 25 00:29:29 2009 -0700
2169
2170     Send more interesting text
2171
2172 commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
2173 Author: Keith Packard <keithp@keithp.com>
2174 Date:   Wed Mar 25 00:24:56 2009 -0700
2175
2176     More random serial bit frobbing
2177
2178 commit 50bdc2407c674a4770912d3a626f36820a7f1527
2179 Author: Keith Packard <keithp@keithp.com>
2180 Date:   Wed Mar 25 00:13:15 2009 -0700
2181
2182     Flip serial TX code around a bit
2183
2184 commit 7b7617e376afe0df1d505375b76198358330370c
2185 Author: Keith Packard <keithp@keithp.com>
2186 Date:   Wed Mar 25 00:09:47 2009 -0700
2187
2188     Try serial polarity high/high
2189
2190 commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
2191 Author: Keith Packard <keithp@keithp.com>
2192 Date:   Wed Mar 25 00:06:32 2009 -0700
2193
2194     Make serial test simpler
2195
2196 commit 62744c186792739c3bf5798c80ff87c69fbe2b65
2197 Author: Keith Packard <keithp@keithp.com>
2198 Date:   Wed Mar 25 00:03:45 2009 -0700
2199
2200     Flip start/stop bits around
2201
2202 commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
2203 Author: Keith Packard <keithp@keithp.com>
2204 Date:   Tue Mar 24 23:57:12 2009 -0700
2205
2206     Stop high
2207
2208 commit c41ceb9a488b2209d1d3c09967d1473ce608030f
2209 Author: Keith Packard <keithp@keithp.com>
2210 Date:   Tue Mar 24 23:24:01 2009 -0700
2211
2212     Change radio to -30dBm
2213
2214 commit c35de083ca3d4f362063b056a0fd74ffe629d168
2215 Author: Keith Packard <keithp@keithp.com>
2216 Date:   Tue Mar 24 23:11:48 2009 -0700
2217
2218     Add serial test program
2219
2220 commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
2221 Author: Keith Packard <keithp@keithp.com>
2222 Date:   Tue Mar 24 22:37:38 2009 -0700
2223
2224     Wait for xtal to stabilize after changing to 24MHz
2225
2226 commit e120269fc0f8e14ddf1755337b1d092173e16da2
2227 Author: Keith Packard <keithp@keithp.com>
2228 Date:   Tue Mar 24 22:21:31 2009 -0700
2229
2230     Actually return byte read from SPI
2231
2232 commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
2233 Author: Keith Packard <keithp@keithp.com>
2234 Date:   Tue Mar 24 22:12:51 2009 -0700
2235
2236     Clear UxCSR_TX_BYTE after transmitting a byte
2237
2238 commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
2239 Author: Keith Packard <keithp@keithp.com>
2240 Date:   Tue Mar 24 20:04:58 2009 -0700
2241
2242     Led the LED turn on
2243
2244 commit 91b3a6ae74184692f45702587c4d678b2799ad8c
2245 Author: Keith Packard <keithp@keithp.com>
2246 Date:   Tue Mar 24 19:55:04 2009 -0700
2247
2248     actually write and compare SPI test bits
2249
2250 commit 7de3a43887485c3c6cf52960376ccde33fb33985
2251 Author: Keith Packard <keithp@keithp.com>
2252 Date:   Tue Mar 24 19:54:02 2009 -0700
2253
2254     Add USART-based SPI test code
2255
2256 commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
2257 Author: Keith Packard <keithp@keithp.com>
2258 Date:   Tue Mar 24 17:22:36 2009 -0700
2259
2260     Change spi test string
2261
2262 commit 8131389ee5018c05b721146a98367150cf500fdf
2263 Author: Keith Packard <keithp@keithp.com>
2264 Date:   Tue Mar 24 17:15:09 2009 -0700
2265
2266     Oops, not merging in the bit read for SPI test
2267
2268 commit 3429016d1359ec650993d2fb0596184e3f717871
2269 Author: Keith Packard <keithp@keithp.com>
2270 Date:   Tue Mar 24 17:04:45 2009 -0700
2271
2272     Adjust clock/data phase for spi test
2273
2274 commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
2275 Author: Keith Packard <keithp@keithp.com>
2276 Date:   Tue Mar 24 16:35:13 2009 -0700
2277
2278     MISO needs to be an input
2279
2280 commit f0c233f25a208a636833312b1766825815735304
2281 Author: Keith Packard <keithp@keithp.com>
2282 Date:   Tue Mar 24 15:41:55 2009 -0700
2283
2284     Add bit-banging spi eeprom test program
2285
2286 commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
2287 Author: Bdale Garbee <bdale@gag.com>
2288 Date:   Wed Mar 18 02:58:33 2009 -0600
2289
2290     working beep at around 4khz
2291
2292 commit 4726317de811c20e8d6754762437b5c9cbb3a48c
2293 Author: Keith Packard <keithp@keithp.com>
2294 Date:   Wed Mar 18 01:54:34 2009 -0700
2295
2296     Add simple test program to light up the transmitter at 434.550MHz
2297     
2298     This starts a transmit sequence, but doesn't send any data so the
2299     transmitter just locks on.
2300
2301 commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
2302 Author: Keith Packard <keithp@keithp.com>
2303 Date:   Sun Mar 15 18:14:21 2009 -0700
2304
2305     Correctly comment which bit the beep program uses
2306
2307 commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
2308 Author: Keith Packard <keithp@keithp.com>
2309 Date:   Sun Mar 15 18:11:53 2009 -0700
2310
2311     Add telemetrum beeper example
2312
2313 commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
2314 Author: Keith Packard <keithp@keithp.com>
2315 Date:   Sun Mar 15 18:11:20 2009 -0700
2316
2317     sdcc gets the lib path correct based on the model
2318
2319 commit 04a316133af93b79bfbebb91f05eec1015ec2abc
2320 Author: Keith Packard <keithp@keithp.com>
2321 Date:   Sun Mar 15 18:10:43 2009 -0700
2322
2323     Bump debug speed back up
2324
2325 commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
2326 Author: Keith Packard <keithp@keithp.com>
2327 Date:   Sat Mar 7 21:05:40 2009 -0800
2328
2329     Only flip changing bits in async mode
2330
2331 commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
2332 Author: Keith Packard <keithp@keithp.com>
2333 Date:   Sat Mar 7 21:05:06 2009 -0800
2334
2335     The debug port only works if reset is higher than clock. weird
2336
2337 commit ade11f88754b4ab0386ebf86afc5257e59238f62
2338 Author: Keith Packard <keithp@keithp.com>
2339 Date:   Sat Mar 7 21:04:38 2009 -0800
2340
2341     Make manual bit flipping sync after every transaction
2342
2343 commit e63b5271bb54afc36e4b9891e51e053ff6011092
2344 Author: Keith Packard <keithp@keithp.com>
2345 Date:   Sat Mar 7 14:49:22 2009 -0800
2346
2347     Add ccmanual
2348
2349 commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
2350 Author: Keith Packard <keithp@keithp.com>
2351 Date:   Sat Mar 7 14:48:49 2009 -0800
2352
2353     Sync after manual bit reading
2354
2355 commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
2356 Author: Keith Packard <keithp@keithp.com>
2357 Date:   Sat Mar 7 14:48:35 2009 -0800
2358
2359     Flip debug pins around to match telemetrum
2360
2361 commit cc0495b7028f4b1189a00707d828a68534d1dea2
2362 Author: Keith Packard <keithp@keithp.com>
2363 Date:   Fri Mar 6 22:52:35 2009 -0800
2364
2365     Wait for a while when switching the RESET_N line
2366     
2367     The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
2368     RESET_N line to filter out noise. This increases the time necessary to reset
2369     the chip to several microseconds which is longer than the interval between
2370     two USB packets. Flush the USB packet queue and sleep for a while after
2371     changing the value on the RESET_N line to make sure the chip sees the state
2372     change.
2373     
2374     Signed-off-by: Keith Packard <keithp@keithp.com>
2375
2376 commit 41289e6d8f1767547a33fea349866e928e44910f
2377 Author: Bdale Garbee <bdale@gag.com>
2378 Date:   Mon Mar 2 07:46:20 2009 -0700
2379
2380     minor s51.1 formatting fixes
2381     
2382     Signed-off-by: Keith Packard <keithp@keithp.com>
2383
2384 commit fdee231ed097a4348aee78fbd4aa92826b80de03
2385 Author: Keith Packard <keithp@keithp.com>
2386 Date:   Sun Mar 1 23:12:31 2009 -0800
2387
2388     Add s51 manual.
2389     
2390     This documents (briefly) the s51 hex debugging interface program, including
2391     some simple commands to test the operation of the system interactively.
2392     
2393     Signed-off-by: Keith Packard <keithp@keithp.com>
2394
2395 commit f7d91bd23b8214e09deae0aafb516331e934c49b
2396 Author: Keith Packard <keithp@keithp.com>
2397 Date:   Sun Mar 1 18:43:03 2009 -0800
2398
2399     Sometimes the link breaks and the GET_PC command returns garbage
2400
2401 commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
2402 Author: Keith Packard <keithp@keithp.com>
2403 Date:   Sun Jan 25 08:38:48 2009 -0800
2404
2405     Support 'set' command
2406     
2407     The 'set' command modifies target memory and registers
2408     
2409     Signed-off-by: Keith Packard <keithp@keithp.com>
2410
2411 commit 60940b4be23962db79b8e914ec943d0636dd68ad
2412 Author: Keith Packard <keithp@keithp.com>
2413 Date:   Mon Jan 5 21:45:21 2009 -0800
2414
2415     Expose ccdbg_set_clock API
2416     
2417     This allows applications to change the debug port clock
2418     rate on the fly.
2419     
2420     Signed-off-by: Keith Packard <keithp@keithp.com>
2421
2422 commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
2423 Author: Keith Packard <keithp@keithp.com>
2424 Date:   Mon Jan 5 21:44:44 2009 -0800
2425
2426     Use custom sdcc libraries (this needs to be configured...)
2427     
2428     Signed-off-by: Keith Packard <keithp@keithp.com>
2429
2430 commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
2431 Author: Keith Packard <keithp@keithp.com>
2432 Date:   Mon Jan 5 21:43:44 2009 -0800
2433
2434     Have S51 ignore SIGINT while running under sdcdb.
2435     
2436     This prevents keyboard interrupts from accidentally stopping
2437     s51.
2438     
2439     Signed-off-by: Keith Packard <keithp@keithp.com>
2440
2441 commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
2442 Author: Keith Packard <keithp@keithp.com>
2443 Date:   Tue Dec 30 22:40:13 2008 -0800
2444
2445     Add simple and timer sample programs
2446     
2447     Signed-off-by: Keith Packard <keithp@keithp.com>
2448
2449 commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
2450 Author: Keith Packard <keithp@keithp.com>
2451 Date:   Tue Dec 30 22:35:53 2008 -0800
2452
2453     Save/restore registers to host during memory operations. Cache ROM data.
2454     
2455     Because the debug port uses instructions for most operations, the debug code
2456     will clobber registers used by the running program. Save and restore these
2457     to avoid corrupting application data.
2458     
2459     If the ROM file is known, use that to return data instead of fetching it
2460     from the target to improve performance.
2461     
2462     Signed-off-by: Keith Packard <keithp@keithp.com>
2463
2464 commit ea366058aa467a8a7caf17e7014758f3741ea7f7
2465 Author: Keith Packard <keithp@keithp.com>
2466 Date:   Mon Dec 29 12:35:11 2008 -0800
2467
2468     Fix flashing less than a full page of data. Verify page at a time.
2469     
2470     The 8051 flashing code requires special help with counts with non-zero low
2471     byte. Also, instead of verifying the entire flash contents at the end,
2472     verify each page as it goes.
2473     
2474     Signed-off-by: Keith Packard <keithp@keithp.com>
2475
2476 commit e0697186a2f9b6139636ff5d5c162879c85caf9c
2477 Author: Keith Packard <keithp@keithp.com>
2478 Date:   Sun Dec 28 00:11:13 2008 -0800
2479
2480     Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
2481     
2482     Not all SFRs are visible in the unified address space, so the SFR-specific
2483     accessors are required.
2484     
2485     The dump command is the same as the various 'd*'
2486     commands, but also supports dumping program memory.
2487     
2488     The new -m (monitor) flag watches the command stream between s51 and sdcdb.
2489     
2490     Signed-off-by: Keith Packard <keithp@keithp.com>
2491
2492 commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
2493 Author: Keith Packard <keithp@keithp.com>
2494 Date:   Sun Dec 28 00:09:30 2008 -0800
2495
2496     Save/restore regs when reading/writing memory. Add SFR access.
2497     
2498     The DPL and ACC registers are used by the memory access code,
2499     so they need to be saved and restored. Stuff them up high in ram for now;
2500     this should probably be fixed to pull them back to the host instead.
2501     
2502     Special SFR access is required as not all SFRs are visible in the unified
2503     address space.
2504     
2505     Signed-off-by: Keith Packard <keithp@keithp.com>
2506
2507 commit 1405838160b69e2cda456e21502a1d03b3aa7548
2508 Author: Keith Packard <keithp@keithp.com>
2509 Date:   Sat Dec 27 11:25:58 2008 -0800
2510
2511     s51: get start address from ihx file. re-enable breakpoints after reset.
2512     
2513     Use the start of the ihx file when asked to run from 0x0, this lets
2514     sdcdb run programs from ram.
2515     
2516     The reset command clears all hw breakpoints, so reset them afterwards.
2517     
2518     Signed-off-by: Keith Packard <keithp@keithp.com>
2519
2520 commit 1264c3676e95427bba5d01e05c303d036a7f9eca
2521 Author: Keith Packard <keithp@keithp.com>
2522 Date:   Fri Dec 26 23:05:04 2008 -0800
2523
2524     Switch to libusb-1.0 and use async interface.
2525     
2526     The async libusb interface offers substantial performance benefits by not
2527     making each command wait for the reply. This makes talking over this
2528     interface almost reasonable.
2529     
2530     Signed-off-by: Keith Packard <keithp@keithp.com>
2531
2532 commit d2d9cfd74fd66836c913c02276e09136d83b35dc
2533 Author: Keith Packard <keithp@keithp.com>
2534 Date:   Fri Dec 26 17:58:48 2008 -0800
2535
2536     s51: add breakpoints and the ability to block awaiting a breakpoint.
2537     
2538     Signed-off-by: Keith Packard <keithp@keithp.com>
2539
2540 commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
2541 Author: Keith Packard <keithp@keithp.com>
2542 Date:   Mon Dec 22 19:11:56 2008 -0800
2543
2544     Add more commands to s51 assembly-language debugger
2545     
2546     Signed-off-by: Keith Packard <keithp@keithp.com>
2547
2548 commit 55eba4fa08b022197106245d36a70f575a070b0a
2549 Author: Keith Packard <keithp@keithp.com>
2550 Date:   Mon Dec 22 19:10:27 2008 -0800
2551
2552     Make read_memory debug output use ccdbg_debug.
2553     
2554     This makes it default to not being presented, which makes s51 much happier
2555     
2556     Signed-off-by: Keith Packard <keithp@keithp.com>
2557
2558 commit e75918f3667a5c8ad294bec4acef6fe81682edf6
2559 Author: Keith Packard <keithp@keithp.com>
2560 Date:   Sun Dec 21 23:33:35 2008 -0800
2561
2562     Add preliminary version of s51, a UI clone of the 8051 emulator.
2563     
2564     sdcdb provides source-level debugging using the 8051 emulator, s51. By
2565     emulating that emulator a the UI level, we should be able to get source
2566     debugging right on our target platform.
2567     
2568     This is just the preliminary structure for the program with most commands
2569     not yet implemented.
2570
2571 commit f7d49868aeae80d515b12a7e339628f1296754a6
2572 Author: Keith Packard <keithp@keithp.com>
2573 Date:   Sat Dec 20 23:30:06 2008 -0800
2574
2575     Cleanup work; separating out the cp interface to be more abstract.
2576     
2577     Signed-off-by: Keith Packard <keithp@keithp.com>
2578
2579 commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
2580 Author: Keith Packard <keithp@keithp.com>
2581 Date:   Fri Dec 19 21:13:04 2008 -0800
2582
2583     Clean up autotools stuff.
2584     
2585     Signed-off-by: Keith Packard <keithp@keithp.com>
2586
2587 commit 9025eb792861930e6af918d2727c4f5d97a69936
2588 Author: Keith Packard <keithp@keithp.com>
2589 Date:   Fri Dec 19 21:11:45 2008 -0800
2590
2591     Autotools.
2592     
2593     Signed-off-by: Keith Packard <keithp@keithp.com>
2594
2595 commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
2596 Author: Keith Packard <keithp@keithp.com>
2597 Date:   Fri Dec 19 19:08:13 2008 -0800
2598
2599     Ignore .ihx files
2600
2601 commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
2602 Author: Keith Packard <keithp@keithp.com>
2603 Date:   Fri Dec 19 19:07:37 2008 -0800
2604
2605     Move blink example to subdir
2606     
2607     Signed-off-by: Keith Packard <keithp@keithp.com>
2608
2609 commit 82e2d7ebed6682062dc400478c736bd6c91195c9
2610 Author: Keith Packard <keithp@keithp.com>
2611 Date:   Fri Dec 19 19:04:26 2008 -0800
2612
2613     Clean up makefiles, move ihx files to .ihx
2614
2615 commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
2616 Author: Keith Packard <keithp@keithp.com>
2617 Date:   Fri Dec 19 14:39:57 2008 -0800
2618
2619     ignore more stuff
2620
2621 commit 4ecfc33f16aa36b315519e6f279da65374b67aba
2622 Author: Keith Packard <keithp@keithp.com>
2623 Date:   Fri Dec 19 14:37:53 2008 -0800
2624
2625     Add cc1111 isr stub example
2626
2627 commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
2628 Author: Keith Packard <keithp@keithp.com>
2629 Date:   Fri Dec 19 14:37:29 2008 -0800
2630
2631     Add blink-tiny flash and ram versions
2632
2633 commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
2634 Author: Keith Packard <keithp@keithp.com>
2635 Date:   Fri Dec 19 14:19:29 2008 -0800
2636
2637     Flash multiple pages. Eliminate off-by-one error in hex_image length.
2638     
2639     Signed-off-by: Keith Packard <keithp@keithp.com>
2640
2641 commit 55995515b9d4fc1e193039eab697c5d03db417c2
2642 Author: Keith Packard <keithp@keithp.com>
2643 Date:   Fri Dec 19 11:04:16 2008 -0800
2644
2645     Add flash writing code.
2646     
2647     Signed-off-by: Keith Packard <keithp@keithp.com>
2648
2649 commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
2650 Author: Keith Packard <keithp@keithp.com>
2651 Date:   Thu Dec 18 12:37:32 2008 -0800
2652
2653     faster
2654     
2655     Signed-off-by: Keith Packard <keithp@keithp.com>
2656
2657 commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
2658 Author: Keith Packard <keithp@keithp.com>
2659 Date:   Thu Dec 18 12:17:41 2008 -0800
2660
2661     cq
2662     
2663     Signed-off-by: Keith Packard <keithp@keithp.com>
2664
2665 commit dc03adc179669d41e3551d74b3c5a60db41ff217
2666 Author: Keith Packard <keithp@keithp.com>
2667 Date:   Thu Dec 18 12:07:06 2008 -0800
2668
2669     Add ability to load Intel HEX files. Add sample sdcc LED blinker.
2670     
2671     Signed-off-by: Keith Packard <keithp@keithp.com>
2672
2673 commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
2674 Author: Keith Packard <keithp@keithp.com>
2675 Date:   Thu Dec 18 00:18:50 2008 -0800
2676
2677     Add ability to read/write arbitrary memory. Write LED blinker program.
2678     
2679     Signed-off-by: Keith Packard <keithp@keithp.com>
2680
2681 commit 8c879bf51c14a5928135d59211facd72f6a32808
2682 Author: Keith Packard <keithp@keithp.com>
2683 Date:   Wed Dec 17 23:15:47 2008 -0800
2684
2685     Move manual bit-banging debug code to separate file
2686     
2687     Signed-off-by: Keith Packard <keithp@keithp.com>
2688
2689 commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
2690 Author: Keith Packard <keithp@keithp.com>
2691 Date:   Wed Dec 17 23:15:19 2008 -0800
2692
2693     reduce clock to 50us
2694     
2695     Signed-off-by: Keith Packard <keithp@keithp.com>
2696
2697 commit fa168f963f8b00144d12aa2770e9c0917cfae123
2698 Author: Keith Packard <keithp@keithp.com>
2699 Date:   Wed Dec 17 23:12:59 2008 -0800
2700
2701     Fill out ccdbg-command to support all debug commands.
2702     
2703     Signed-off-by: Keith Packard <keithp@keithp.com>
2704
2705 commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
2706 Author: Keith Packard <keithp@keithp.com>
2707 Date:   Wed Dec 17 22:24:59 2008 -0800
2708
2709     Clean up bitbanging layer. Add debug printfs.
2710     
2711     Signed-off-by: Keith Packard <keithp@keithp.com>
2712
2713 commit 584e28bac8af38de433767e017977ed1adddeb36
2714 Author: Keith Packard <keithp@keithp.com>
2715 Date:   Wed Dec 17 12:32:15 2008 -0800
2716
2717     Clean up sample debug files
2718     
2719     Signed-off-by: Keith Packard <keithp@keithp.com>
2720
2721 commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
2722 Author: Keith Packard <keithp@keithp.com>
2723 Date:   Mon Dec 8 17:25:28 2008 -0800
2724
2725     Add support for input-only lines (-)
2726
2727 commit 4f38974a9941cddaba27c17c5a46f923db386c94
2728 Author: Keith Packard <keithp@keithp.com>
2729 Date:   Sat Dec 6 16:32:27 2008 -0800
2730
2731     Add another example
2732
2733 commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
2734 Author: Keith Packard <keithp@keithp.com>
2735 Date:   Sat Dec 6 16:32:12 2008 -0800
2736
2737     Add libusb support and lots more examples
2738
2739 commit 39801e6e9fb9388072ee414a447f74095a6ac960
2740 Author: Keith Packard <keithp@keithp.com>
2741 Date:   Fri Nov 28 22:57:07 2008 -0800
2742
2743     Random hacking
2744
2745 commit 01cb2799875e086ee6096627c058ee235bbc33d5
2746 Author: Keith Packard <keithp@keithp.com>
2747 Date:   Thu Nov 27 17:07:15 2008 -0800
2748
2749     Add prototypes, add stub mainline, add .gitignore
2750
2751 commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
2752 Author: Keith Packard <keithp@keithp.com>
2753 Date:   Thu Nov 27 12:33:40 2008 -0800
2754
2755     cc1111 debug port access through cp2103 serial chip