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