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