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