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