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