1 commit b0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa
2 Author: Keith Packard <keithp@keithp.com>
3 Date: Sun Nov 15 16:20:18 2009 -0800
5 Stop using SiRF state info.
7 With the switch to the skytraq GPS unit, we don't have the same level
8 of detail in the GPS stream, so stop reporting that in the telemetry
9 stream, in the UI and writing it to eeprom.
11 Signed-off-by: Keith Packard <keithp@keithp.com>
13 commit 524665fc221b0d483453c67b7211e282cebc8980
14 Author: Keith Packard <keithp@keithp.com>
15 Date: Sun Nov 15 16:04:41 2009 -0800
17 Add date to GPS data, captured from GPRMC packet.
19 Pull the date out of the GPS stream and send it over the telemetry
20 link and write it to the eeprom.
22 Signed-off-by: Keith Packard <keithp@keithp.com>
24 commit 3ee279ba76c2a79d142c466f19ef758cf4c01d70
25 Author: Keith Packard <keithp@keithp.com>
26 Date: Sun Nov 15 15:59:01 2009 -0800
28 Add flight number to telemetry stream.
30 This makes it easier to tie the telemetry and eeprom files together as
31 they're now both labeled with serial and flight numbers, which should
34 Signed-off-by: Keith Packard <keithp@keithp.com>
36 commit 6391c89bd5b89f5f46255b8365c658a873e5959a
37 Author: Keith Packard <keithp@keithp.com>
38 Date: Sun Nov 15 15:53:01 2009 -0800
40 Switch order of serial/flight in ao-postflight summary
42 commit 9b06e294e2777f69bcf5e98789c3f5477097d53b
43 Author: Keith Packard <keithp@keithp.com>
44 Date: Sun Nov 15 15:51:58 2009 -0800
46 Enable telemetry receive in ao_view
48 commit 4cffc9c4b079e39c8196ddbaf91129cda6df7f8b
49 Author: Keith Packard <keithp@keithp.com>
50 Date: Sat Nov 14 22:24:37 2009 -0800
52 Share telemetry parsing code in cc library.
54 ao-view had a private copy of the telemetry parsing code which
55 included the ability to parse the newer version of that file. Those
56 changes have been moved to the library version and the private copy removed.
58 Signed-off-by: Keith Packard <keithp@keithp.com>
60 commit 0e0db8ca3af4c07bae909938486766c646bf580b
61 Author: Keith Packard <keithp@keithp.com>
62 Date: Sat Nov 14 22:24:09 2009 -0800
64 Provide a dummy 'uninstall' target in the src directory.
66 Signed-off-by: Keith Packard <keithp@keithp.com>
68 commit 1c654a9369294c9b8066c33f91161d8005b96680
69 Author: Keith Packard <keithp@keithp.com>
70 Date: Sat Nov 14 22:17:24 2009 -0800
72 Loosen tolerances for main->landed transition
74 Detecting that the rocket has landed is required for the system to
75 flush the eeprom log and re-enable the RDF beacon. This patch changes
76 the landed state entry requirements for the accelerometer to require
77 only that the accelerometer stay within a quarter of a g (down from
78 1/10g) and changes the testing interval from 20 seconds to 5
81 The requirement that the barometric altitude be within 1000m of the
82 launch altitude and that the barometer change by no more than 0.05kPa
85 Signed-off-by: Keith Packard <keithp@keithp.com>
87 commit 03092d1a72a9651711e22c58dca6d6aba5705c5e
88 Author: Keith Packard <keithp@keithp.com>
89 Date: Sat Nov 14 16:35:12 2009 -0800
91 ao-postflight: fix sloppy gps sat data realloc code (was crashing).
93 Realloc'ing the wrong data, and failing to set the realloc'ed size was
94 causing ao-postflight to crash while reading long logs.
96 Signed-off-by: Keith Packard <keithp@keithp.com>
98 commit adf656192441eb7f44792955c86e469145477e29
99 Author: Keith Packard <keithp@keithp.com>
100 Date: Thu Nov 5 22:11:59 2009 -0800
102 Return radio to telemetry settings when packet system closed.
104 To receive telemetry after disabling the packet system, the radio must
105 be reconfigured for telemetry mode.
107 Signed-off-by: Keith Packard <keithp@keithp.com>
109 commit 83afdbdc154fe013bfe35ce5ecf1d61570b04ed6
110 Author: Keith Packard <keithp@keithp.com>
111 Date: Thu Nov 5 21:45:00 2009 -0800
115 This resets the processor using the watchdog timer.
117 Signed-off-by: Keith Packard <keithp@keithp.com>
119 commit 0358988ac0ee25a564d48af79b1c3fb0c0fe0a88
120 Author: Keith Packard <keithp@keithp.com>
121 Date: Thu Nov 5 21:44:31 2009 -0800
123 Add Watchdog Timer Control register definitions
125 Signed-off-by: Keith Packard <keithp@keithp.com>
127 commit 4114210e0b813f4af99d0cb7755ad2ac2c4b120e
128 Author: Keith Packard <keithp@keithp.com>
129 Date: Thu Nov 5 21:43:21 2009 -0800
131 Move ao_match_word from ao_ignite.c to ao_cmd.c
133 This is a generally useful command line utility.
135 Signed-off-by: Keith Packard <keithp@keithp.com>
137 commit 5a79a04ddb0b3ee64de34e366f71a0f6db509c01
138 Author: Keith Packard <keithp@keithp.com>
139 Date: Wed Nov 4 21:59:51 2009 -0800
141 Stop recording in ao-dumplog after receiving an invalid block
143 If no samples in a block are valid, assume the flight log is over.
145 Signed-off-by: Keith Packard <keithp@keithp.com>
147 commit 843ee489aac34ad6d81f55f1c85fb9eecc42d86b
148 Author: Keith Packard <keithp@keithp.com>
149 Date: Wed Nov 4 21:59:12 2009 -0800
151 Flush pending input when switching to remote packet mode
153 Any pending input would just confuse the application, so pull it off
154 the link and dump it.
156 Signed-off-by: Keith Packard <keithp@keithp.com>
158 commit 036400a2db303f3db3be7cc0426f88359c6bd2b1
159 Author: Keith Packard <keithp@keithp.com>
160 Date: Wed Nov 4 21:42:51 2009 -0800
162 Explicitly use USB I/O routines in packet code
164 Using the implicit stdio functions (putchar/getchar/flush) would
165 result in essentially random redirection of each, depending on whether
166 the packet code had characters available when getchar was called. This
167 would cause lockups in putchar.
169 Signed-off-by: Keith Packard <keithp@keithp.com>
171 commit 3ece984f4d72b4f720a5efdfaad7cff77a93d676
172 Author: Keith Packard <keithp@keithp.com>
173 Date: Wed Nov 4 21:32:07 2009 -0800
175 In USB pollchar, wait for packet before re-checking USB out len
177 This probably wouldn't actually cause a problem, but it seems more
178 reliable to wait for a packet interrupt before re-reading the packet
179 OUT len register. This could avoid spinning while waiting for a USB
180 packet, which seems like a good thing.
182 Signed-off-by: Keith Packard <keithp@keithp.com>
184 commit bc62bb254085cc705203b57260c04ac5e14c6611
185 Author: Keith Packard <keithp@keithp.com>
186 Date: Wed Nov 4 21:29:37 2009 -0800
188 In packet master, move USB flush from packet thread to echo thread
190 This keeps the packet thread from blocking on USB and also makes the
191 flush happen after every packet (slightly more USB traffic, but
192 packets are slow anyway).
194 Signed-off-by: Keith Packard <keithp@keithp.com>
196 commit 27ebaf8e13aed06bb1ea6e770f767495a02be6c5
197 Author: Keith Packard <keithp@keithp.com>
198 Date: Tue Nov 3 01:27:37 2009 -0800
200 Add ability to dump eeprom data over radio link.
202 This adds a '-R' option to ao-dumplog to redirect the connection
203 through a USB attached TeleDongle over the radio link to a remote
206 Signed-off-by: Keith Packard <keithp@keithp.com>
208 commit 1de322b960005c9a16051afa1881fadb00f4bcd6
209 Author: Keith Packard <keithp@keithp.com>
210 Date: Tue Nov 3 00:40:38 2009 -0800
212 Pass accel calibration over telemetry stream. Telemetry data format change.
214 This allows the ground station to convert the accelerometer sensor
215 values into acceleration and speed data. This requires a new telemetry
216 data structure, and so TeleMetrum and TeleDongle units must be updated
217 synchronously. ao-view will parse either telemetry stream, and the
218 serial format from TeleDongle now has a version number to allow for
221 Signed-off-by: Keith Packard <keithp@keithp.com>
223 commit b529e5e8998702986909111a457f3ce9932e1ccf
224 Author: Keith Packard <keithp@keithp.com>
225 Date: Mon Nov 2 23:48:29 2009 -0800
227 ao_flight_test was using accel value for pressure too
229 commit f57bea012d4fbca097df0d98fcd30eb4abd9701a
230 Author: Keith Packard <keithp@keithp.com>
231 Date: Mon Nov 2 21:47:41 2009 -0800
233 Reformat ADC values to show all 16 bits
235 commit 79718e798e96567f0ba11c61f187e432fdcf95ee
236 Author: Keith Packard <keithp@keithp.com>
237 Date: Mon Nov 2 21:48:16 2009 -0800
241 commit a4137263b69864c524d39c6ff88a0225fd06e79b
242 Author: Keith Packard <keithp@keithp.com>
243 Date: Mon Nov 2 21:47:15 2009 -0800
247 commit 47f510464907d2b9488109c96ade87a41d878842
248 Author: Keith Packard <keithp@keithp.com>
249 Date: Mon Nov 2 21:46:39 2009 -0800
251 Remove "l" command as ao-dumplong no longer uses it
253 commit 144db05f6b286a0450d486f69ce192632a2c0656
254 Author: Keith Packard <keithp@keithp.com>
255 Date: Mon Nov 2 21:38:18 2009 -0800
257 Add two-point accelerometer calibration.
259 Calibration now uses two values, one upside right and the other upside
260 down instead of a single horizontal value. This allows the use of
261 other accelerometers and compensates for variations in the divider
262 circuit to provide more accurate data.
264 commit 17611788aadc9460287145a340a7c18bf63766aa
265 Author: Bdale Garbee <bdale@gag.com>
266 Date: Mon Nov 2 16:54:06 2009 -0700
268 update changelogs for Debian build
270 commit 7db9d86178ecfd58cc1c17ac9fcbdcfd2f13aaec
271 Merge: b219801 f9de200
272 Author: Keith Packard <keithp@keithp.com>
273 Date: Mon Nov 2 15:47:40 2009 -0800
275 Merge remote branch 'origin/master'
277 commit b219801fb0e5eaff7778d21701da977104522da3
278 Author: Keith Packard <keithp@keithp.com>
279 Date: Mon Nov 2 15:45:58 2009 -0800
281 Add ao_usb_pollchar to ao.h
283 commit b92333ff5e75bf96804359e9fbf464d3b518bd95
284 Author: Keith Packard <keithp@keithp.com>
285 Date: Mon Nov 2 15:45:42 2009 -0800
287 Disable interrupts while removing tasks from task list
289 commit d519564fd08d2defe1211de83ccbdfa3c7cfe702
290 Author: Keith Packard <keithp@keithp.com>
291 Date: Mon Nov 2 15:45:07 2009 -0800
293 Add more docs to the README file
295 commit f9de20000794c97a04d5bc2476191864bd2af371
296 Author: Bdale Garbee <bdale@gag.com>
297 Date: Mon Nov 2 16:00:11 2009 -0700
299 update changelogs for Debian build
301 commit 127c3125e5a4b86b8f304bc2889e313688c3d83e
302 Author: Bdale Garbee <bdale@gag.com>
303 Date: Mon Nov 2 15:59:12 2009 -0700
305 update changelogs for Debian build
307 commit 6b1e77569e2fed3c44606ed268421df5d3ed4020
308 Author: Bdale Garbee <bdale@gag.com>
309 Date: Mon Nov 2 15:57:41 2009 -0700
311 update changelogs for Debian build
313 commit 8203bfa58af32a1d07a44c1c151b200df0b65f15
314 Author: Bdale Garbee <bdale@gag.com>
315 Date: Mon Nov 2 15:56:42 2009 -0700
317 de-version the libreadline-dev build dependency
319 commit 0b483233118673cbc2cda1be6acd379df82bc95a
320 Merge: ca5d323 550482d
321 Author: Keith Packard <keithp@keithp.com>
322 Date: Sun Nov 1 20:59:02 2009 -0800
324 Merge remote branch 'origin/master' into skytraq
326 commit ca5d323a3d206050d95f52a61e92c69e1f54e7b5
327 Author: Keith Packard <keithp@keithp.com>
328 Date: Sun Nov 1 20:57:03 2009 -0800
330 Enable packet-based communcation to command processor
332 This splits the packet code into master/slave halves and hooks the
333 slave side up to the getchar/putchar/flush logic in ao_stdio.c
335 Signed-off-by: Keith Packard <keithp@keithp.com>
337 commit 6c1a9ce16b966a21c885bf3be31cbcb85368b3fa
338 Author: Keith Packard <keithp@keithp.com>
339 Date: Sat Oct 31 01:30:22 2009 -0700
341 No need to wakeup &ao_tick_count now
343 commit cd0d495d7ef276956e730196476daa70a4359918
344 Author: Keith Packard <keithp@keithp.com>
345 Date: Sat Oct 31 01:20:26 2009 -0700
347 Poke master to speed up packet rate when things are busy
349 commit 442b1ef18c8320d4e5329dc92bb5268a36058fc5
350 Author: Keith Packard <keithp@keithp.com>
351 Date: Sat Oct 31 01:19:41 2009 -0700
353 Use ao_alarm for ao_delay so it can be easily interrupted
355 commit 4f7ed9ff484778381db647c27d2a34d0cadec41e
356 Author: Keith Packard <keithp@keithp.com>
357 Date: Fri Oct 30 23:53:03 2009 -0700
359 Do more flushing in packet test code
361 commit 6a7aa1810a90a9216160aec55ec4bd02b3240e1b
362 Author: Keith Packard <keithp@keithp.com>
363 Date: Fri Oct 30 23:52:44 2009 -0700
367 commit bf65e0b2a1299b49adc2d339ab9d9c7599aded9e
368 Author: Keith Packard <keithp@keithp.com>
369 Date: Fri Oct 30 23:52:22 2009 -0700
371 Send SYN packet to set sequence numbers
373 commit d46797e5c08d4955d516458185e2cfb51ee2d567
374 Author: Keith Packard <keithp@keithp.com>
375 Date: Fri Oct 30 23:51:38 2009 -0700
377 Use ao_radio_done to wait for TX to completely finish with packet
379 commit c5ec6fcfa1bd17aad0f85d2fbe603f1d125836e6
380 Author: Keith Packard <keithp@keithp.com>
381 Date: Fri Oct 30 23:50:54 2009 -0700
383 Switch packet code from timer thread to ao_alarm
385 commit b428faf74ae145126ec1da972028fcfe0b4b2b18
386 Author: Keith Packard <keithp@keithp.com>
387 Date: Fri Oct 30 23:48:36 2009 -0700
389 Remove reason from ao_dma_abort
391 commit 73db30b2f9128c37dc7fa075793a8862814ce044
392 Author: Keith Packard <keithp@keithp.com>
393 Date: Fri Oct 30 23:46:21 2009 -0700
397 commit 251b0971f049cbf2f8db79a32729d47441ce65f3
398 Author: Keith Packard <keithp@keithp.com>
399 Date: Fri Oct 30 23:45:43 2009 -0700
401 Wait for TX to finish sending data
403 commit 9b31f07fe3556896b3e997bba156e30ef5777a80
404 Author: Keith Packard <keithp@keithp.com>
405 Date: Fri Oct 30 23:43:52 2009 -0700
407 Add radio carrier command
409 commit 7b14c3e609749f4fc00dbd660541375048535218
410 Author: Keith Packard <keithp@keithp.com>
411 Date: Fri Oct 30 16:39:15 2009 -0700
413 Initial packet bits. Just testing transmission
415 commit 690fc263516d8beb6b24e86fbcd6588f42ce4e5c
416 Author: Keith Packard <keithp@keithp.com>
417 Date: Wed Oct 21 17:18:49 2009 +0900
419 Add keyhole-markup generation for ao-postflight.
421 This lets you see the flight path in googleearth.
423 Signed-off-by: Keith Packard <keithp@keithp.com>
425 commit b657aa209b9ea3b3efd33a940283b3ba60a169af
426 Author: Keith Packard <keithp@keithp.com>
427 Date: Fri Oct 16 12:59:53 2009 +0900
429 Add ao_wake_task and ao_exit
431 ao_wake_task signals a specific task to wake up.
432 ao_exit terminates the current task.
434 Signed-off-by: Keith Packard <keithp@keithp.com>
436 commit d709a0688eff84e25e24d755850ef045d6b0c3de
437 Author: Keith Packard <keithp@keithp.com>
438 Date: Fri Oct 16 12:56:45 2009 +0900
440 Save some DSEG space by marking cmd functions __reentrant
442 __reentrant causes the compiler to place args and locals on the stack
443 instead of in the data segment.
445 Signed-off-by: Keith Packard <keithp@keithp.com>
447 commit 550482d953c491a5ede9f2d243493afb13289898
448 Author: Bdale Garbee <bdale@gag.com>
449 Date: Mon Oct 12 16:58:46 2009 -0600
451 update changelogs for Debian build
453 commit 2de548f45d0f50b558acc83f57e1e2fc1223ab92
454 Author: Bdale Garbee <bdale@gag.com>
455 Date: Mon Oct 12 16:58:19 2009 -0600
457 oops, forgot to specify the repo to push to
459 commit 68008ac11c2735ca53a1b474324df43f2f1d5cdd
460 Author: Bdale Garbee <bdale@gag.com>
461 Date: Mon Oct 12 16:57:33 2009 -0600
463 update changelogs for Debian build
465 commit 513328ac5f7c25f9ee144ab6befbea60d69eed1a
466 Author: Bdale Garbee <bdale@gag.com>
467 Date: Mon Oct 12 16:56:50 2009 -0600
469 automate push of updated and tagged master branch during debian/rules prebuild
471 commit 67bf7d388a6dd2dbf65575bf4f0423ad355b4f2f
472 Author: Bdale Garbee <bdale@gag.com>
473 Date: Mon Oct 12 16:54:44 2009 -0600
475 update changelogs for Debian build
477 commit 23bc21a93ccb9f35917f283ac5df6ce0870df71a
478 Author: Bdale Garbee <bdale@gag.com>
479 Date: Mon Oct 12 16:54:16 2009 -0600
481 undue damage from partial build
483 commit 7da56ad8576ef212ffb6cb573bdaf578453e3fe0
484 Author: Bdale Garbee <bdale@gag.com>
485 Date: Mon Oct 12 16:52:52 2009 -0600
487 add support for tagging git repository on each Debian package build
489 commit 8d4aa4ee54f85f4951cdd7293d58aaa405cfcdc5
490 Author: Bdale Garbee <bdale@gag.com>
491 Date: Mon Oct 12 16:49:34 2009 -0600
493 update changelogs for Debian build
495 commit 241a860fe856b1dfad6e792736313648300d5c24
496 Author: Bdale Garbee <bdale@gag.com>
497 Date: Mon Oct 12 16:48:43 2009 -0600
499 flush repetitive junk out of debian/changelog, and update the prebuild target
500 in debian/rules to put git commit details into the Debian changelog
502 commit 6c4cdc927b43736b39be29d23ac3dc723f69e4d6
503 Author: Bdale Garbee <bdale@gag.com>
504 Date: Mon Oct 12 15:57:19 2009 -0600
506 update changelogs for Debian build
508 commit c57bd7fd2f80e50b0b4c87fccb024ab07c93773d
509 Merge: adf8764 2b76572
510 Author: Bdale Garbee <bdale@gag.com>
511 Date: Mon Oct 12 15:57:08 2009 -0600
513 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
515 commit 69b6f6bb465163cf767bb68e0e4a716d8ad2b39c
516 Merge: bc77da6 2b76572
517 Author: Keith Packard <keithp@keithp.com>
518 Date: Sat Oct 10 17:16:21 2009 -0700
520 Merge branch 'master' into skytraq
522 commit 2b765728ce177e26899f6feef00bfdf6aeaf2678
523 Author: Keith Packard <keithp@keithp.com>
524 Date: Sat Oct 10 17:15:38 2009 -0700
526 Add apogee igniter delay.
528 Provide for a delay after apogee before the drogue charge is
529 fired. This allows TM to be used as a back-up altimeter.
531 Signed-off-by: Keith Packard <keithp@keithp.com>
533 commit bc77da68c9cb7d4cca483eadbbb7e9ccf71c0060
534 Merge: 46cccf6 8f7ea3d
535 Author: Keith Packard <keithp@keithp.com>
536 Date: Sat Oct 10 15:09:48 2009 -0700
538 Merge branch 'master' into skytraq
540 commit 8f7ea3de7037f40b0ff462b60d503c19431ae62b
541 Author: Keith Packard <keithp@keithp.com>
542 Date: Sat Oct 10 15:08:14 2009 -0700
544 Report igniter continuity in pad/idle mode via beeper
546 one short beep = drogue
547 two short beeps = main
548 three short beeps = both
549 one long warble = neither
551 In idle mode, it does this just once. In pad mode, it keeps testing
554 Signed-off-by: Keith Packard <keithp@keithp.com>
556 commit adf8764bc4591795ba4e618ccbd6393fc6ce6450
557 Author: Bdale Garbee <bdale@gag.com>
558 Date: Sat Oct 10 15:11:23 2009 -0600
560 update changelogs for Debian build
562 commit 541da6f3bbf81be93dfe3c01f7c8cfd757b28a2b
563 Merge: dfc73cb 5f26ad6
564 Author: Bdale Garbee <bdale@gag.com>
565 Date: Sat Oct 10 15:05:50 2009 -0600
567 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
569 commit 46cccf62fb40514b5930fcb2ffdaf2735415c764
570 Merge: fb8f3fe 5f26ad6
571 Author: Keith Packard <keithp@keithp.com>
572 Date: Sat Oct 10 14:00:03 2009 -0700
574 Merge branch 'master' into skytraq
576 commit 5f26ad663b3f60dddc9d967206e365f45dc4acd1
577 Author: Keith Packard <keithp@keithp.com>
578 Date: Sat Oct 10 13:58:16 2009 -0700
580 ao-dumplog: switch to 'e' command, display progress
582 Using the 'e' command allows additional checking of the data,
583 including end-to-end checksums and detection of missing data.
585 Progress is displayed by showing the recorded flight state along with
586 a '.' for each eeprom block read.
588 Signed-off-by: Keith Packard <keithp@keithp.com>
590 commit fb8f3fee6a1bab1e46d782e84405845cee2dadb4
591 Merge: 22856cf b8fc397
592 Author: Keith Packard <keithp@keithp.com>
593 Date: Sat Oct 10 13:41:00 2009 -0700
595 Merge branch 'master' into skytraq
597 commit b8fc3975bd92037a0cf53b0ff2b0e05ce0ba668f
598 Author: Keith Packard <keithp@keithp.com>
599 Date: Sat Oct 10 13:39:01 2009 -0700
601 Send 0-length IN packet to flush USB after full packet
603 USB bulk transfers are a sequence of maximum-sized packets followed by
604 a short packet, which signals the end of the transfer. When the last
605 packet of the transfer would be a full-sized packet, an additional
606 packet of zero length is sent to signal the transfer end.
608 Signed-off-by: Keith Packard <keithp@keithp.com>
610 commit 22856cf8bb0f5e1f37c9b774132d9ef6934526ed
611 Merge: 2f76034 e29961f
612 Author: Keith Packard <keithp@keithp.com>
613 Date: Sat Oct 10 11:44:20 2009 -0700
615 Merge branch 'master' into skytraq
617 commit e29961fdb2a48874c895829880eadbf13e094c0c
618 Author: Keith Packard <keithp@keithp.com>
619 Date: Sat Oct 10 11:43:31 2009 -0700
621 Add channel menu to ao-view.
623 Sets radio channel when TD is connected, saves selected channel in
626 Signed-off-by: Keith Packard <keithp@keithp.com>
628 commit 2f7603490a169df8f18b565db4fa967832ffc9bd
629 Author: Keith Packard <keithp@keithp.com>
630 Date: Fri Oct 9 22:48:29 2009 -0700
632 Build two versions of TM, one for SiRF, one for SkyTraq
634 This creates two separate images, depending on which GPS unit is
637 Signed-off-by: Keith Packard <keithp@keithp.com>
639 commit 33b0b6f2f2e07de105619a7b463226d2813152ab
640 Author: Keith Packard <keithp@keithp.com>
641 Date: Fri Oct 9 22:02:40 2009 -0700
643 Add support for the SkyTraq GPS unit
645 This is a build-time option selected by hacking the Makefile at present.
647 Signed-off-by: Keith Packard <keithp@keithp.com>
649 commit a3771bfc5ce740f9d89193e9f8b1d7987aa57264
650 Author: Keith Packard <keithp@keithp.com>
651 Date: Tue Oct 6 20:06:00 2009 -0700
653 ao-view: fix snd_pcm_open return checking
655 I don't know how this code was supposed to work before...
657 Signed-off-by: Keith Packard <keithp@keithp.com>
659 commit ac4b8a73848f434999a532eab4665253c267c597
660 Author: Keith Packard <keithp@keithp.com>
661 Date: Tue Oct 6 20:05:36 2009 -0700
663 ao-postflight: dump out GPS signal data
665 Signed-off-by: Keith Packard <keithp@keithp.com>
667 commit dfc73cba1bee8b121e00e8cba45e7dfaaf79e9d8
668 Author: Bdale Garbee <bdale@gag.com>
669 Date: Mon Sep 21 22:46:59 2009 -0700
671 update changelogs for Debian build
673 commit 459ff3d377297f80ee2fba0df0a29ff6603467a1
674 Author: Bdale Garbee <bdale@gag.com>
675 Date: Mon Sep 21 11:00:32 2009 -0700
677 update changelogs for Debian build
679 commit 327c64305a59f48ababf19875874a550af6b9cef
680 Merge: c8a81a4 74f0fb4
681 Author: Bdale Garbee <bdale@gag.com>
682 Date: Mon Sep 21 11:00:22 2009 -0700
684 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
686 commit 74f0fb4dd189abc1d5027c64fa5a648a6003285a
687 Author: Keith Packard <keithp@keithp.com>
688 Date: Sun Sep 20 13:33:59 2009 -0700
690 make bit-banging reset script actually reset
692 commit 7ea371a09385e2a93199f78685e8cb86793ed104
693 Author: Keith Packard <keithp@keithp.com>
694 Date: Sun Sep 20 13:33:26 2009 -0700
696 Add --gps option to ao-postflight
698 commit bc7ccb339e538a0e6120db0e5c0d9130c565e0dd
699 Author: Keith Packard <keithp@keithp.com>
700 Date: Sun Sep 20 13:32:59 2009 -0700
702 ao_rawload: Don't reset after we finish loading
704 commit c8a81a419f7f2331624f90bd6c107a86f6b04451
705 Author: Bdale Garbee <bdale@gag.com>
706 Date: Sun Sep 20 09:21:00 2009 -0600
708 update changelogs for Debian build
710 commit df42ccaaf468cdc5d93cbd1c001f58df58419722
711 Merge: 0b24e40 078e9cd
712 Author: Bdale Garbee <bdale@gag.com>
713 Date: Sun Sep 20 09:19:28 2009 -0600
715 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
717 commit 078e9cdbdb388b22c6151f76ff0660fc14b8ef55
718 Author: Keith Packard <keithp@keithp.com>
719 Date: Thu Sep 10 11:53:06 2009 -0700
721 Plot raw accel data for the motor accel section.
723 This shows a short sequence of accelerometer data without any filtering.
725 Signed-off-by: Keith Packard <keithp@keithp.com>
727 commit 8b485d937ff148848ebda7f9ca6be29bb1de1f16
728 Author: Keith Packard <keithp@keithp.com>
729 Date: Sun Sep 6 21:02:48 2009 -0700
731 Show acceleration only during boost phase.
733 We're interested in motor performance; the rest of the flight is
736 Signed-off-by: Keith Packard <keithp@keithp.com>
738 commit 9e660315e1bd2bf71ab1c0574e895e1f7608a58f
739 Author: Keith Packard <keithp@keithp.com>
740 Date: Sun Sep 6 21:01:44 2009 -0700
742 Fix cc_period_make to not get stuck on samples with matching time
744 When two samples have matching times, step to the second one;
745 otherwise, we'll get stuck forever.
747 Signed-off-by: Keith Packard <keithp@keithp.com>
749 commit 932f1539b38567e565fd484171c13539b1467308
750 Author: Keith Packard <keithp@keithp.com>
751 Date: Sun Sep 6 20:26:17 2009 -0700
753 Color plots, integrate only flight portion of data.
755 Telemetry files have piles of pad data which shouldn't be integrated
756 into the velocity data as it tends to generate huge values from the
759 Also make the data lines colored to keep them visually distinct from
760 the rest of the plot image.
762 Signed-off-by: Keith Packard <keithp@keithp.com>
764 commit 9177f5f4e9d832558ddd9ab227c4511f6201e7e5
765 Author: Keith Packard <keithp@keithp.com>
766 Date: Sun Sep 6 18:11:24 2009 -0700
768 Update usage and man page for ao-postflight
770 commit 0b24e4034f93010372a3d084668d10f0e4a2c2e1
771 Author: Bdale Garbee <bdale@gag.com>
772 Date: Sun Sep 6 18:01:20 2009 -0600
774 update changelogs for Debian build
776 commit a5e94aa0677070a051714443cf7fd7e2b5e90269
777 Author: Bdale Garbee <bdale@gag.com>
778 Date: Sun Sep 6 17:59:47 2009 -0600
780 need a run-time dependency to pull in the cairo module
782 commit 97acef95cc9843998963921459fdd71dd7eaa6b4
783 Author: Bdale Garbee <bdale@gag.com>
784 Date: Sun Sep 6 17:48:23 2009 -0600
786 update changelogs for Debian build
788 commit 3f95a5abbf8ada70328ced45fbb2781ed1cb3d29
789 Author: Bdale Garbee <bdale@gag.com>
790 Date: Sun Sep 6 17:48:10 2009 -0600
792 more build deps for plotting lib
794 commit 9d7e96e323d652de08b2f2a73e0eb3c321080185
795 Author: Bdale Garbee <bdale@gag.com>
796 Date: Sun Sep 6 17:47:56 2009 -0600
798 update changelogs for Debian build
800 commit ae4e131b61244e06020b82919e31e05dd7dba88f
801 Author: Bdale Garbee <bdale@gag.com>
802 Date: Sun Sep 6 17:46:39 2009 -0600
804 update changelogs for Debian build
806 commit 37e6c9a492a1d51373bf9333fb3172e0c377720f
807 Merge: d256f82 2e6686b
808 Author: Bdale Garbee <bdale@gag.com>
809 Date: Sun Sep 6 17:46:10 2009 -0600
811 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
813 commit 2e6686b1e183c66188ea447b8a54e4c29402443b
814 Author: Keith Packard <keithp@keithp.com>
815 Date: Sun Sep 6 16:45:47 2009 -0700
817 Use plplotd instead of plplotd-gnome2
819 commit d256f8204e9fce53ae4309562bb4c0cde1fae43e
820 Merge: 0fc344d 32d3536
821 Author: Bdale Garbee <bdale@gag.com>
822 Date: Sun Sep 6 17:34:08 2009 -0600
824 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
826 commit 32d3536706324808df6cd02248a236302b831571
827 Author: Keith Packard <keithp@keithp.com>
828 Date: Sun Sep 6 16:24:35 2009 -0700
830 Add plots to ao-postflight using the plplot library
832 It's not perfect, but it generates .svg plot output.
834 Signed-off-by: Keith Packard <keithp@keithp.com>
836 commit 0fc344dfc031a8b1eef7cc40efb1d5ba7782269d
837 Author: Bdale Garbee <bdale@gag.com>
838 Date: Sun Sep 6 14:15:57 2009 -0600
840 update changelogs for Debian build
842 commit 4b0de757874c0ecaf38e3dfd3beefc398150e3d5
843 Merge: 773c4ff d0eac98
844 Author: Bdale Garbee <bdale@gag.com>
845 Date: Sun Sep 6 14:15:53 2009 -0600
847 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
849 commit d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b
850 Author: Keith Packard <keithp@keithp.com>
851 Date: Sun Sep 6 13:15:10 2009 -0700
853 Don't look at NULL strings (summary_name)
855 Signed-off-by: Keith Packard <keithp@keithp.com>
857 commit 73f4a57239f770aff603b961169c0e2cfe2c276b
858 Author: Keith Packard <keithp@keithp.com>
859 Date: Sun Sep 6 13:08:54 2009 -0700
861 Use pressure speed for drogue and beyond states. Fix differentiation time.
863 Drogue state should always use pressure speeds.
865 Differentiation code was using centi-seconds instead of seconds.
867 Signed-off-by: Keith Packard <keithp@keithp.com>
869 commit 773c4ffbc1d2e02eb02cfa543a077a408986da30
870 Author: Bdale Garbee <bdale@gag.com>
871 Date: Sun Sep 6 14:05:55 2009 -0600
873 update changelogs for Debian build
875 commit 45ede4a4b203ef9da5bf05c49cb9c5a2e6382ec5
876 Merge: 45e2938 e35e485
877 Author: Bdale Garbee <bdale@gag.com>
878 Date: Sun Sep 6 14:05:51 2009 -0600
880 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
882 commit e35e485ffe6b26034788ab295121bc2693b7eec1
883 Author: Keith Packard <keithp@keithp.com>
884 Date: Sun Sep 6 13:04:31 2009 -0700
886 Initialize summary_name and detail_name so stuff appears on stdout.
888 Uninitialized variables lead to mysterious results.
890 Signed-off-by: Keith Packard <keithp@keithp.com>
892 commit 45e2938121411d1fc9b3aec3fdeaaeb3c90db5ed
893 Author: Bdale Garbee <bdale@gag.com>
894 Date: Sun Sep 6 14:02:14 2009 -0600
896 update changelogs for Debian build
898 commit d42ebf0661ecf15455e5051de1e16ae66f8dd857
899 Merge: 384dbe9 7a19aac
900 Author: Bdale Garbee <bdale@gag.com>
901 Date: Sun Sep 6 14:02:09 2009 -0600
903 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
905 commit 7a19aac5e881e635962a64fff73027ca2143b96f
906 Author: Keith Packard <keithp@keithp.com>
907 Date: Sun Sep 6 12:51:48 2009 -0700
909 Add DSP code to filter data, allowing for integration/differentiation
911 This adds the computation of speed from both accelerometer and
912 barometer measurements and then presents a periodic flight profile
913 using filtered data as a detailed flight record.
915 Signed-off-by: Keith Packard <keithp@keithp.com>
917 commit 384dbe9fc7fa8e4e5dceec5e150f0f1d3383bbdc
918 Author: Bdale Garbee <bdale@gag.com>
919 Date: Sun Sep 6 10:40:06 2009 -0600
921 update changelogs for Debian build
923 commit 35c54b3a278fa9bc2bc7f4b5ee04866697c93ba0
924 Merge: 4f8eff7 6d018ab
925 Author: Bdale Garbee <bdale@gag.com>
926 Date: Sun Sep 6 10:39:23 2009 -0600
928 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
930 commit 6d018ab933832e2d80bb1564c339d9fb18b57be2
931 Author: Keith Packard <keithp@keithp.com>
932 Date: Sat Sep 5 22:45:49 2009 -0700
934 Handle vageries of .telem files in ao-postflight
936 Telem files have multiple entries of the same state, and sometimes
937 long gaps between recordings. Deal with this as best as possible.
939 Signed-off-by: Keith Packard <keithp@keithp.com>
941 commit c46e832b28820d7c5be4efaacbbd7c0607927fe5
942 Author: Keith Packard <keithp@keithp.com>
943 Date: Sat Sep 5 22:03:31 2009 -0700
945 Add simple post-flight analysis tool (ao-postflight)
947 This tool reads either an eeprom or telem log file and displays some
948 rudimentary data (max accel/alt for each flight stage).
950 Signed-off-by: Keith Packard <keithp@keithp.com>
952 commit 26f56b51bd11aa91f1d77b81827b49c28cb6ec5f
953 Author: Keith Packard <keithp@keithp.com>
954 Date: Sat Sep 5 00:29:26 2009 -0700
956 Add ao-dumplog to capture flight log from command line
958 This duplicates the functionality of the flight log stuf in ao-view,
959 except from the command line where it belongs.
961 Signed-off-by: Keith Packard <keithp@keithp.com>
963 commit 73adae3661160d410dcc802873b530d255c210e5
964 Author: Keith Packard <keithp@keithp.com>
965 Date: Fri Sep 4 15:30:22 2009 -0700
967 Add --device/-D support to the command line tools and manuals
969 Use the new cc_usbdevs_find_by_arg function to locate suitable target
970 devices connected via USB.
972 Signed-off-by: Keith Packard <keithp@keithp.com>
974 commit 4f8eff7401ee2d8092ab36fa33411f9b23dda880
975 Author: Bdale Garbee <bdale@gag.com>
976 Date: Fri Sep 4 16:03:55 2009 -0600
978 update changelogs for Debian build
980 commit 332b056459b1352e233a8bf5f08498df12d32160
981 Author: Keith Packard <keithp@keithp.com>
982 Date: Fri Sep 4 15:01:32 2009 -0700
984 'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.
986 The kernel appears to leave serial data undelivered at times. Reading
987 two blocks at once appears to make it relinquish the queued data.
989 Signed-off-by: Keith Packard <keithp@keithp.com>
991 commit df88ae4c5f229efcc0ea5cb0a81fc2bb8f96fea2
992 Author: Keith Packard <keithp@keithp.com>
993 Date: Fri Sep 4 14:23:02 2009 -0700
995 Add 'ao-list' utility to show attached AltOS devices
997 Signed-off-by: Keith Packard <keithp@keithp.com>
999 commit 0935d6a7e907e20381a42882ae728051f9bece02
1000 Author: Keith Packard <keithp@keithp.com>
1001 Date: Fri Sep 4 14:21:19 2009 -0700
1003 Parse the USB serial number as an integer.
1005 AltOS devices use simple integer serial numbers, so parse the USB
1006 value as such to make matching values more forgiving.
1008 Signed-off-by: Keith Packard <keithp@keithp.com>
1010 commit 0c771d999914f9d17c723900f2987acc45fd0fbb
1011 Author: Keith Packard <keithp@keithp.com>
1012 Date: Fri Sep 4 13:00:02 2009 -0700
1014 Move usb scanning code to ao-tools library
1016 This will allow the scanning code to be used by the command line tools
1017 as well as the ao-view GUI.
1019 Now that ao-view depends on the ao-tools library, it has been moved to
1020 the ao-tools directory as well.
1022 Signed-off-by: Keith Packard <keithp@keithp.com>
1024 commit 15341b6e6dcf52df083d6aa37ef881ea6ad48ee5
1025 Author: Keith Packard <keithp@keithp.com>
1026 Date: Fri Sep 4 12:25:37 2009 -0700
1028 Set all of the values to reset the radio for telemetry
1030 Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
1031 resetting the radio back to telemetry data mode from rdf mode. With
1032 the length value removed from the rdf config, these two arrays are no
1033 longer the same length, and so the last config value was not set
1034 leaving the radio sending garbage.
1036 Signed-off-by: Keith Packard <keithp@keithp.com>
1038 commit fee46389b70a624ab5b1128a8b4c3083c7747bcb
1039 Author: Keith Packard <keithp@keithp.com>
1040 Date: Fri Sep 4 11:46:55 2009 -0700
1042 Make RDF beacon only run on pad and after landing.
1044 It's pretty much impossible to RDF the rocket during flight, and it
1045 interferes with the telemetry data stream. Leave it enabled on the pad
1046 so that radios can be tested, and then re-enable it once the rocket
1049 This patch also turns the rdf 'on' time into a parameter so it can be
1050 changed, and then sets that parameter to 500ms, once every 5 seconds.
1052 Signed-off-by: Keith Packard <keithp@keithp.com>
1054 commit 54545640b0db7747137655f84bc67fd290ecb904
1055 Author: Keith Packard <keithp@keithp.com>
1056 Date: Fri Sep 4 11:45:52 2009 -0700
1058 Add back the RDF tone generator
1060 Tracking the rocket on the ground may be easier using tones than using
1061 the digital data stream, so we'll try that and see what we think.
1063 This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9.
1065 Signed-off-by: Keith Packard <keithp@keithp.com>
1067 commit 9fafee109e96435c96639b21211cac0500673a63
1068 Author: Bdale Garbee <bdale@gag.com>
1069 Date: Wed Sep 2 23:18:15 2009 -0600
1071 update changelogs for Debian build
1073 commit cb4a73f3b65ba72f645fd37ab8712829c9537bf8
1074 Merge: 9ddd869 e2e449d
1075 Author: Bdale Garbee <bdale@gag.com>
1076 Date: Wed Sep 2 23:17:37 2009 -0600
1078 Merge commit 'origin/master'
1080 commit e2e449d5c23356e913f312de1fb2611a9dd5a352
1081 Author: Keith Packard <keithp@keithp.com>
1082 Date: Wed Sep 2 22:01:52 2009 -0700
1084 Remove bit-banging debug support from TM board builds
1086 Our current TM boards don't have the wires to do bit-banging to
1087 another cc1111 board, so it doesn't make sense to fill up their flash
1088 with useless code (and the 'help' text with useless commands). Leave
1089 this to the TI board until we have boards that can serve as debug dongles.
1091 Signed-off-by: Keith Packard <keithp@keithp.com>
1093 commit acea083d80e1ecc4287083519ea666964016b257
1094 Author: Keith Packard <keithp@keithp.com>
1095 Date: Wed Sep 2 22:00:37 2009 -0700
1097 Make the ao_log_record structures 8 bytes again.
1099 When the GPS signal strength data was added, the structure was
1100 accidentally extended to 9 bytes, making all log records 9 bytes
1101 long. While not a serious problem, this left log records spanning
1102 across eeprom block boundaries, which seems like a bad plan.
1104 Signed-off-by: Keith Packard <keithp@keithp.com>
1106 commit 7d39f17684feb49ac8a0017902158f298696e37c
1107 Author: Keith Packard <keithp@keithp.com>
1108 Date: Wed Sep 2 21:57:54 2009 -0700
1110 Make eeprom reads and writes across block boundary work
1112 Reading and writing across the block boundary was not stepping the
1113 eeprom position after the partial i/o operation at the end of the
1114 first block. This meant that the operation would re-use the end of the
1115 previous block, either re-reading or re-writing it.
1117 Signed-off-by: Keith Packard <keithp@keithp.com>
1119 commit 9ddd8696b4004ccc03238d95a8c2a1d07075e0fb
1120 Author: Bdale Garbee <bdale@gag.com>
1121 Date: Mon Aug 31 16:48:03 2009 -0600
1123 update changelogs for Debian build
1125 commit 6926c4ab5d87a8f2eb4fcde2c673fb3a4639e115
1126 Author: Bdale Garbee <bdale@gag.com>
1127 Date: Mon Aug 31 16:47:44 2009 -0600
1129 pixmap file should not be executable
1131 commit 1495e2f27acde3743c3764a0c31ee082224d6c64
1132 Author: Bdale Garbee <bdale@gag.com>
1133 Date: Mon Aug 31 16:42:55 2009 -0600
1135 update changelogs for Debian build
1137 commit c8c5b7963babe8eb16e2651fba9cd2c8d1cba74e
1138 Author: Bdale Garbee <bdale@gag.com>
1139 Date: Mon Aug 31 16:42:37 2009 -0600
1141 deliver an icon for the Debian menu system
1143 commit 591b99c232e780246fc07841c09c8c4e7835facb
1144 Author: Bdale Garbee <bdale@gag.com>
1145 Date: Mon Aug 31 16:26:00 2009 -0600
1147 update changelogs for Debian build
1149 commit b34474c1f3083e73b7184d519f54d4c8031836fd
1150 Merge: 8df1697 0d65bff
1151 Author: Bdale Garbee <bdale@gag.com>
1152 Date: Mon Aug 31 16:25:32 2009 -0600
1154 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1156 commit 6358041f846ba9a20fa650c367d907dc4336e54c
1157 Author: Keith Packard <keithp@keithp.com>
1158 Date: Sat Aug 22 13:38:56 2009 -0700
1160 Enable GPS degraded mode, set 10 sec degraded timeout.
1162 No reason not to let the GPS report solutions whenever it likes, let's
1165 Signed-off-by: Keith Packard <keithp@keithp.com>
1167 commit 0d65bff443c17d4d98c18b620ec075ab66b30efd
1168 Author: Keith Packard <keithp@keithp.com>
1169 Date: Fri Aug 21 10:47:46 2009 -0700
1171 Turn off GPS tracking data when not present in data stream
1173 Signed-off-by: Keith Packard <keithp@keithp.com>
1175 commit 8df169791835510d96c11a3b0aa3cc5b79fa7fde
1176 Author: Bdale Garbee <bdale@gag.com>
1177 Date: Wed Aug 19 02:21:23 2009 -0600
1179 update changelogs for Debian build
1181 commit 42ab6d52540d0326ef89e9d57954b08248558468
1182 Author: Bdale Garbee <bdale@gag.com>
1183 Date: Wed Aug 19 02:21:06 2009 -0600
1185 fix location for delivery of sources.list fragment
1187 commit 977f5dc0bc7c666dcc1f21db77416efca0d696aa
1188 Author: Bdale Garbee <bdale@gag.com>
1189 Date: Wed Aug 19 02:11:11 2009 -0600
1191 update changelogs for Debian build
1193 commit 8d4d6655f1b4c2fbc522fd255bfb75406e5ddaef
1194 Author: Bdale Garbee <bdale@gag.com>
1195 Date: Wed Aug 19 02:11:00 2009 -0600
1197 oops, aoview is now ao-view!
1199 commit b9a97aea65f871fd287bc0bb566d8664766f4afd
1200 Author: Bdale Garbee <bdale@gag.com>
1201 Date: Wed Aug 19 02:07:16 2009 -0600
1203 update changelogs for Debian build
1205 commit 21e3dd0affac89919e5d0e29c6e9eb1eacb51801
1206 Author: Bdale Garbee <bdale@gag.com>
1207 Date: Wed Aug 19 02:06:49 2009 -0600
1209 enable support for Debian menus
1211 commit 0087c1776e0253fc2bd3b86f15bf9d1b32bdc45a
1212 Author: Bdale Garbee <bdale@gag.com>
1213 Date: Wed Aug 19 00:52:57 2009 -0600
1215 update changelogs for Debian build
1217 commit 4486d9156e19e4280b42bcd422d81d04f2d04a92
1218 Merge: dd09f0b 33edd62
1219 Author: Bdale Garbee <bdale@gag.com>
1220 Date: Wed Aug 19 00:49:24 2009 -0600
1222 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1224 commit 33edd62992a32b0ec8ca66d879fa300871db5937
1225 Author: Keith Packard <keithp@keithp.com>
1226 Date: Tue Aug 18 23:38:16 2009 -0700
1228 Update ao-view to add GPS satellite tracking data
1230 This adds another column to the display to hold per-satellite GPS
1231 tracking data and a count of the visible and locked sats.
1233 Signed-off-by: Keith Packard <keithp@keithp.com>
1235 commit 29687cbd462a332d9a36ed87500c5b737dcae3f4
1236 Author: Keith Packard <keithp@keithp.com>
1237 Date: Tue Aug 18 22:35:15 2009 -0700
1239 Handle GPS satellite tracking data
1241 SiRF message #4 includes signal strength and GPS engine state for each
1242 of the satellites being tracked. This data is now parsed and sent to
1243 eeprom and the radio.
1245 Signed-off-by: Keith Packard <keithp@keithp.com>
1247 commit dd09f0bc2b950c00f3b489878cd69ad8a003f46c
1248 Author: Bdale Garbee <bdale@gag.com>
1249 Date: Tue Aug 18 21:57:01 2009 -0600
1251 update changelogs for Debian build
1253 commit cd5ce661e2a8f9694933358ccb5b916fbed089c2
1254 Author: Bdale Garbee <bdale@gag.com>
1255 Date: Tue Aug 18 21:49:39 2009 -0600
1257 add support for building Debian package
1259 commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
1260 Merge: b3b2d3c 7d4ceb7
1261 Author: Bdale Garbee <bdale@gag.com>
1262 Date: Tue Aug 18 18:56:09 2009 -0600
1264 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1266 commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
1267 Author: Keith Packard <keithp@keithp.com>
1268 Date: Tue Aug 18 17:55:22 2009 -0700
1270 Add ao-ejection.1 man page
1272 Document the input requirements and output format
1274 Signed-off-by: Keith Packard <keithp@keithp.com>
1276 commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
1277 Merge: 4685fc5 da12b89
1278 Author: Bdale Garbee <bdale@gag.com>
1279 Date: Tue Aug 18 18:36:03 2009 -0600
1281 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1283 commit da12b89fb056a68e65ba363fef91d266727cb685
1284 Author: Keith Packard <keithp@keithp.com>
1285 Date: Tue Aug 18 17:30:43 2009 -0700
1287 Create ChangeLog from git log
1289 commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
1290 Author: Keith Packard <keithp@keithp.com>
1291 Date: Tue Aug 18 17:29:29 2009 -0700
1293 Fix ao-bitbang examples to not have . in the first column
1295 commit 4685fc541466afbeefc151bcb64cd054739c048b
1296 Merge: 1c2a0b6 c29275b
1297 Author: Bdale Garbee <bdale@gag.com>
1298 Date: Tue Aug 18 18:09:38 2009 -0600
1300 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1303 ao-tools/ao-bitbang/Makefile.am
1304 ao-tools/ao-eeprom/Makefile.am
1305 ao-tools/ao-load/Makefile.am
1306 ao-tools/ao-load/ao-load.c
1307 ao-tools/ao-rawload/Makefile.am
1309 commit c29275b72438637d46d7a50742882d2736eb176a
1310 Author: Keith Packard <keithp@keithp.com>
1311 Date: Tue Aug 18 15:21:57 2009 -0700
1313 Add manual pages for remaining commands.
1315 Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
1318 Manual for ao-dbg updated to reflect program name change.
1320 Signed-off-by: Keith Packard <keithp@keithp.com>
1322 commit 9b03d620722dc54630539afba40720c30de69b2d
1323 Author: Keith Packard <keithp@keithp.com>
1324 Date: Tue Aug 18 12:19:31 2009 -0700
1326 Use --tty/-T on command line to specify target device
1328 Also, use the ALTOS_TTY environment variable in all tools. Note that
1329 the magic value of "BITBANG" switches the library to connecting
1330 through a CP2103 instead.
1332 Signed-off-by: Keith Packard <keithp@keithp.com>
1334 commit 7c790fe859dff062692964338091ffbbcdf63257
1335 Author: Keith Packard <keithp@keithp.com>
1336 Date: Tue Aug 18 12:40:24 2009 -0700
1338 Rename tools to ao-<foo>
1340 Use a consistent prefix to make it easier to remember which programs
1341 belong to this package
1343 Signed-off-by: Keith Packard <keithp@keithp.com>
1345 commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
1346 Author: Keith Packard <keithp@keithp.com>
1347 Date: Tue Aug 18 13:36:54 2009 -0700
1349 re-add debugger sources
1351 commit 9a9cce5510b87252f863239ac807b9fb4395b288
1352 Author: Keith Packard <keithp@keithp.com>
1353 Date: Tue Aug 18 12:19:31 2009 -0700
1355 Start working on using getopt for the tty name
1357 commit 9789ca5e8caa9a013e804f307b9da380e147bd75
1358 Author: Keith Packard <keithp@keithp.com>
1359 Date: Tue Aug 18 12:40:24 2009 -0700
1361 Rename tools to ao-<foo>
1363 Use a consistent prefix to make it easier to remember which programs
1364 belong to this package
1366 Signed-off-by: Keith Packard <keithp@keithp.com>
1368 commit a5782398d968e7cb11f7203afada7c216f233b3b
1369 Author: Keith Packard <keithp@keithp.com>
1370 Date: Tue Aug 18 11:34:28 2009 -0700
1372 Remove unused cctools code paths for old libusb and cp2103 ioctls.
1374 Communication with the CP2103 board has gone through three revisions,
1375 first using ioctls supported by the CP2103 kernel driver, then using
1376 the old synchronous usb library and now using the newer libusb
1377 asynchronous interface. There's no reason to keep shipping the old
1378 stale code now that the new stuff works reliably.
1380 Signed-off-by: Keith Packard <keithp@keithp.com>
1382 commit 7cba411de0780c65e3490ab67186a514f0ea42ec
1383 Author: Keith Packard <keithp@keithp.com>
1384 Date: Mon Aug 17 20:47:31 2009 -0700
1386 test for sdcc, nickle and readline
1388 Signed-off-by: Keith Packard <keithp@keithp.com>
1390 commit f48dcffae761700355a17b59345d55a60703f0c4
1391 Author: Keith Packard <keithp@keithp.com>
1392 Date: Sun Aug 9 20:43:10 2009 -0700
1394 Sync USB data after each memory write command
1396 This makes sure we flush the USB link often enough for the other end to keep
1399 Signed-off-by: Keith Packard <keithp@keithp.com>
1401 commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
1402 Author: Keith Packard <keithp@keithp.com>
1403 Date: Sun Aug 9 16:08:07 2009 -0700
1405 Handle partial ALSA PCM writes
1407 The ALSA spec says that snd_pcm_writei will not return a partial write, but
1408 at least on the OLPC, that's not true. Deal with this.
1410 Signed-off-by: Keith Packard <keithp@keithp.com>
1412 commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
1413 Author: Keith Packard <keithp@keithp.com>
1414 Date: Sun Aug 9 15:55:19 2009 -0700
1416 Check more alsa return statuses
1418 commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
1419 Author: Keith Packard <keithp@keithp.com>
1420 Date: Sat Jul 18 01:47:34 2009 -0700
1422 Don't report distance to rocket without valid GPS
1424 When there's no valid GPS data, don't try to report the distance and bearing
1425 to the rocket after landing.
1427 Signed-off-by: Keith Packard <keithp@keithp.com>
1429 commit fbcb7b20fa701a6e534d38e307839466545668e3
1430 Author: Keith Packard <keithp@keithp.com>
1431 Date: Sat Jul 18 01:05:33 2009 -0700
1433 Add B command to set serial baud rate
1435 Signed-off-by: Keith Packard <keithp@keithp.com>
1437 commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
1438 Author: Keith Packard <keithp@keithp.com>
1439 Date: Sat Jul 18 01:05:13 2009 -0700
1441 Get rid of spaces after minus sign in climb value
1443 commit 28be20cf914fb34dc3c776519708d0f02091764e
1444 Author: Keith Packard <keithp@keithp.com>
1445 Date: Sat Jul 18 01:04:39 2009 -0700
1447 Switch to 57600 baud for GPS data
1449 commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
1450 Author: Keith Packard <keithp@keithp.com>
1451 Date: Sat Jul 18 01:04:17 2009 -0700
1453 Drain serial port before changing speed
1455 Signed-off-by: Keith Packard <keithp@keithp.com>
1457 commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
1458 Author: Keith Packard <keithp@keithp.com>
1459 Date: Sat Jul 18 00:44:42 2009 -0700
1461 Display last known GPS coord while unlocked
1463 Signed-off-by: Keith Packard <keithp@keithp.com>
1465 commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
1466 Author: Keith Packard <keithp@keithp.com>
1467 Date: Sat Jul 18 00:44:01 2009 -0700
1469 use g_source_destroy instead of free on serial object
1471 commit 1e5e98bd8f5ea0bc15592de454e3629383462371
1472 Author: Keith Packard <keithp@keithp.com>
1473 Date: Sat Jul 18 00:43:22 2009 -0700
1475 Trim aoview_serial_set_callback args down to just port and callback
1477 commit 08f37056deec25d77062bc411a04033401b033a5
1478 Author: Keith Packard <keithp@keithp.com>
1479 Date: Fri Jul 17 22:11:03 2009 -0700
1481 Reset GPS at boot time
1483 commit 1150aa850f5a025b849556e32c4dddb27937d9af
1484 Author: Keith Packard <keithp@keithp.com>
1485 Date: Fri Jul 17 22:10:43 2009 -0700
1487 Fix up serial debug output
1489 commit 2a7956a64935246475f92d44c08369e0230b676a
1490 Author: Keith Packard <keithp@keithp.com>
1491 Date: Fri Jul 17 21:34:13 2009 -0700
1493 Allow the GPS port to run at 4800 baud if desired
1495 commit 8d650769c319261c97f5e68eff9138207b95c0f8
1496 Author: Keith Packard <keithp@keithp.com>
1497 Date: Fri Jul 17 21:33:53 2009 -0700
1499 Initialize the GPS serial protocol state
1501 Signed-off-by: Keith Packard <keithp@keithp.com>
1503 commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
1504 Author: Keith Packard <keithp@keithp.com>
1505 Date: Fri Jul 17 21:33:18 2009 -0700
1507 Use uint8_t for comparisons to avoid int conversions
1509 Signed-off-by: Keith Packard <keithp@keithp.com>
1511 commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
1512 Author: Keith Packard <keithp@keithp.com>
1513 Date: Fri Jul 17 21:30:53 2009 -0700
1515 Add AO_GPS_RUNNING state.
1517 This tracks whether the GPS receiver has ever sent a valid report to the
1518 flight computer, allowing the user to tell whether the GPS receiver is
1521 Signed-off-by: Keith Packard <keithp@keithp.com>
1523 commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
1524 Author: Keith Packard <keithp@keithp.com>
1525 Date: Fri Jul 17 21:25:35 2009 -0700
1527 Add M command to monitor serial bytes
1529 commit ddfa2308c0be4c002f982ae9da6032ee7854117d
1530 Author: Keith Packard <keithp@keithp.com>
1531 Date: Fri Jul 17 21:24:45 2009 -0700
1533 Support the not-connected GPS state
1535 commit 34f148500df427c148188c0ada20bf914a7c74ba
1536 Author: Keith Packard <keithp@keithp.com>
1537 Date: Fri Jul 17 19:23:10 2009 -0700
1539 Use 57600 baud for GPS. Clean up gps init.
1541 Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
1542 to get from 4800 NMEA to 5760 SiRF.
1544 Also, eliminate threads from the gps test program.
1546 Signed-off-by: Keith Packard <keithp@keithp.com>
1548 commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
1549 Author: Keith Packard <keithp@keithp.com>
1550 Date: Fri Jul 17 17:09:20 2009 -0700
1552 Try harder to get the GPS receiver serial link sync'd up.
1554 We cannot assume that the GPS receiver is in any particular state when it
1555 boots, so we try to send the serial configuration at several rates and hope
1556 that it eventually sees something that it likes.
1558 Signed-off-by: Keith Packard <keithp@keithp.com>
1560 commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
1561 Author: Keith Packard <keithp@keithp.com>
1562 Date: Fri Jul 17 17:06:18 2009 -0700
1564 Rolling average for pad location. Say 'GPS ready'.
1566 Use a rolling average for the pad location, instead of just averaging all
1567 positions. This filters out old (presumably less accurate) values eventually.
1569 When enough GPS samples have been acquired, say 'GPS ready'.
1571 Signed-off-by: Keith Packard <keithp@keithp.com>
1573 commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
1574 Author: Keith Packard <keithp@keithp.com>
1575 Date: Fri Jul 17 16:22:51 2009 -0700
1577 Split GPS data into a separate column
1579 Signed-off-by: Keith Packard <keithp@keithp.com>
1581 commit 5f0179652e8bb85add9067e5253e981c60f2c51e
1582 Author: Keith Packard <keithp@keithp.com>
1583 Date: Fri Jul 17 16:03:35 2009 -0700
1585 Fix up SiRF parsing and test code so that it actually works
1587 Signed-off-by: Keith Packard <keithp@keithp.com>
1589 commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
1590 Author: Keith Packard <keithp@keithp.com>
1591 Date: Fri Jul 17 13:58:14 2009 -0700
1593 Add host-side gps protocol testing program
1595 commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
1596 Author: Keith Packard <keithp@keithp.com>
1597 Date: Sat Jul 11 00:56:13 2009 -0700
1599 Hook aoview directly to alsa
1601 This skips the flite internal audio stuff which opened and closed the audio
1602 device for each phrase. This caused the first part of some phrases to be
1603 missed when using an external audio device.
1605 Signed-off-by: Keith Packard <keithp@keithp.com>
1607 commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
1608 Author: Keith Packard <keithp@keithp.com>
1609 Date: Thu Jul 9 20:55:10 2009 -0700
1611 Show speed. Format numbers. Timeout and report final status.
1613 The speed value is now shown in the top label bar. Ascent shows
1614 accelerometer-derived data, otherwise it's baro derived.
1616 All of the numbers displayed are now given sensible printf formats so they
1617 don't contain way too many digits.
1619 Instead of doing periodic reporting based on flight tick count, data is
1620 reported every 10 seconds based on wall time. After landing, or when no data
1621 have been received for a while, final flight information is spoken.
1623 Signed-off-by: Keith Packard <keithp@keithp.com>
1625 commit 19630ef084866f4230e68ccf11284b30c68128b1
1626 Author: Keith Packard <keithp@keithp.com>
1627 Date: Sun Jul 5 08:35:28 2009 -0700
1629 Dont smash aoview_monitor_parse input buffer
1631 commit e506ed4b6efb86eab50204658fcd433b987e3831
1632 Author: Keith Packard <keithp@keithp.com>
1633 Date: Tue Jun 30 15:25:52 2009 -0700
1635 Integrate flite into aoview directly. Fix great circle computation.
1637 Use a separate thread for flite rather than a separate program.
1638 Save voice state to gconf.
1639 Add filters for replay file selection
1641 Signed-off-by: Keith Packard <keithp@keithp.com>
1643 commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
1644 Author: Keith Packard <keithp@keithp.com>
1645 Date: Tue Jun 30 15:24:53 2009 -0700
1649 commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
1650 Author: Keith Packard <keithp@keithp.com>
1651 Date: Tue Jun 30 15:24:31 2009 -0700
1655 commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
1656 Author: Keith Packard <keithp@keithp.com>
1657 Date: Tue Jun 30 11:58:30 2009 -0700
1659 Add telem replay and larger labels
1661 Replays telemetry files in real time
1662 Shows height/state/rssi in big values at the top.
1664 Signed-off-by: Keith Packard <keithp@keithp.com>
1666 commit 566dde161385263700eaae51095eecfa9b5972ee
1667 Author: Keith Packard <keithp@keithp.com>
1668 Date: Mon Jun 29 23:06:47 2009 -0700
1670 Update aoview/.gitignore
1672 Signed-off-by: Keith Packard <keithp@keithp.com>
1674 commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
1675 Author: Keith Packard <keithp@keithp.com>
1676 Date: Mon Jun 29 23:05:27 2009 -0700
1678 Use flite to announce flight state
1680 This uses the flite voice synthesis library from festival to announce
1681 altitude and speed information during the rocket flight.
1683 Signed-off-by: Keith Packard <keithp@keithp.com>
1685 commit 527d7c803ed9597b210634018cb2eb9d048d9846
1686 Author: Keith Packard <keithp@keithp.com>
1687 Date: Mon Jun 29 23:03:58 2009 -0700
1689 Add GPS speed and error data to telemetry and aoview
1691 Having switched to the SiRF binary GPS format, the velocity and error data
1692 can now be displayed.
1694 Signed-off-by: Keith Packard <keithp@keithp.com>
1696 commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
1697 Author: Keith Packard <keithp@keithp.com>
1698 Date: Mon Jun 29 13:54:00 2009 -0700
1700 Convert GPS to SiRF binary protocol.
1702 This switches the GPS unit from NMEA to SiRF protocol at startup and then
1703 parses the binary data. The binary data uses a different encoding of lat/lon
1704 than the NMEA strings, and so the telemetry and eeprom data formats change
1707 Signed-off-by: Keith Packard <keithp@keithp.com>
1709 commit 49bf37767d2453869f2ca2c0832d1124322c66e0
1710 Author: Keith Packard <keithp@keithp.com>
1711 Date: Wed Jun 17 23:22:25 2009 -0700
1713 Add ejection computation utility
1715 Signed-off-by: Keith Packard <keithp@keithp.com>
1717 commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
1718 Author: Keith Packard <keithp@keithp.com>
1719 Date: Wed Jun 17 13:55:23 2009 -0700
1721 Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
1723 None of our boards have a 32kHz xtal oscillator, instead we use those pins
1724 (on Telemetrum) for the deployment firing circuits. The old clock
1725 initialization code was switching from the 32kHz RC oscillator to the 32kHz
1726 crystal and overriding our use of those pins.
1728 Signed-off-by: Keith Packard <keithp@keithp.com>
1730 commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
1731 Author: Keith Packard <keithp@keithp.com>
1732 Date: Sun Jun 14 17:25:34 2009 -0700
1734 Some kernels reference USB ttys as tty/tty* instead of tty:tty*
1736 Signed-off-by: Keith Packard <keithp@keithp.com>
1738 commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
1739 Author: Keith Packard <keithp@keithp.com>
1740 Date: Sun Jun 14 16:45:19 2009 -0700
1742 Rename state apogee -> coast
1744 commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
1745 Author: Keith Packard <keithp@keithp.com>
1746 Date: Sun Jun 14 16:39:28 2009 -0700
1748 rename states. launchpad -> pad, coast -> fast
1750 commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
1751 Author: Keith Packard <keithp@keithp.com>
1752 Date: Sun Jun 14 16:36:29 2009 -0700
1754 Disable monitor mode when communicating via usb
1756 commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
1757 Author: Keith Packard <keithp@keithp.com>
1758 Date: Thu Jun 4 14:38:45 2009 -0700
1760 Format GPS seconds as %02d.%04d to avoid spaces in the value
1762 The aoview GPS parsing code doesn't deal well with spaces in the middle of
1763 the value, so pad the seconds field with a zero as needed.
1765 Signed-off-by: Keith Packard <keithp@keithp.com>
1767 commit a0e6bfee635b64092262936c858542318f6fc6dc
1768 Author: Bdale Garbee <bdale@gag.com>
1769 Date: Thu Jun 4 13:11:48 2009 -0600
1771 newer INSTALL file pulled in by autogen.sh
1773 commit cf1e258d52b878df10b51a047709b10ecd51a68e
1774 Author: Bdale Garbee <bdale@gag.com>
1775 Date: Thu Jun 4 13:09:29 2009 -0600
1777 add a distclean target to src/Makefile
1779 commit 176052b7c14fcad067835ecb550778faf67cf4da
1780 Author: Bdale Garbee <bdale@gag.com>
1781 Date: Thu Jun 4 13:07:10 2009 -0600
1783 add lib to the front of the subdir list
1785 commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
1786 Author: Keith Packard <keithp@keithp.com>
1787 Date: Thu Jun 4 11:20:10 2009 -0700
1789 Move build and debug tools to 'cctools' directory.
1791 These tools were merged in from the ccdbg package.
1793 Signed-off-by: Keith Packard <keithp@keithp.com>
1795 commit 17d2432a8b9c15963cd3b821f025ad33972ef477
1796 Merge: 210dbaa 8a9a3f0
1797 Author: Keith Packard <keithp@keithp.com>
1798 Date: Thu Jun 4 11:13:15 2009 -0700
1800 Merge ccdbg and altos sources into one giant repository
1802 Keeping these separate isn't making things any easier.
1804 Signed-off-by: Keith Packard <keithp@keithp.com>
1806 commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
1807 Author: Keith Packard <keithp@keithp.com>
1808 Date: Thu Jun 4 10:41:34 2009 -0700
1810 Use autotools, move altos to src subdir
1812 Signed-off-by: Keith Packard <keithp@keithp.com>
1814 commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
1815 Author: Keith Packard <keithp@keithp.com>
1816 Date: Thu Jun 4 10:25:30 2009 -0700
1818 Make menu seperator insensitive
1820 commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
1821 Author: Keith Packard <keithp@keithp.com>
1822 Date: Wed Jun 3 17:07:34 2009 -0700
1824 aoview: Add eeprom data fetching
1826 Fetches the last flight data from a TM device connected via USB and writes
1827 it to the flight log directory.
1829 Signed-off-by: Keith Packard <keithp@keithp.com>
1831 commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
1832 Author: Keith Packard <keithp@keithp.com>
1833 Date: Wed Jun 3 10:57:46 2009 -0700
1835 Stop log dumping at flight end. Print 'end' at end of log.
1837 No reason to continue dumping data past the end of the flight now that the
1838 logging stuff has been demonstrated to work reliably. Also, to make
1839 automated log dumping easier, this prints out 'end' after the log data so
1840 that aoview knows when to stop reading.
1842 Signed-off-by: Keith Packard <keithp@keithp.com>
1844 commit 35ac66969abe24ca23776618306a59fc17770e06
1845 Author: Keith Packard <keithp@keithp.com>
1846 Date: Sun May 31 09:22:01 2009 -0700
1848 Start adding bi-directional packet link
1850 commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
1851 Author: Keith Packard <keithp@keithp.com>
1852 Date: Thu May 28 23:17:33 2009 -0700
1854 Eliminate RDF tone generation.
1856 Now that we have a viable telemetry-signal based RDF device via TeleDongle,
1857 there's no reason to continue to waste power and bandwidth with a NFM tone.
1859 Signed-off-by: Keith Packard <keithp@keithp.com>
1861 commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
1862 Author: Keith Packard <keithp@keithp.com>
1863 Date: Thu May 28 23:17:25 2009 -0700
1865 Change .gitignore to match new aoload procedure
1867 commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
1868 Author: Keith Packard <keithp@keithp.com>
1869 Date: Wed May 27 22:01:37 2009 -0700
1871 Leave serial number writing to aoload
1873 Instead of building per-serial hex files, leave that
1874 process to the new aoload program
1876 Signed-off-by: Keith Packard <keithp@keithp.com>
1878 commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
1879 Author: Keith Packard <keithp@keithp.com>
1880 Date: Wed May 27 21:53:15 2009 -0700
1882 Add aoload to load serial-numbered altos binaries.
1884 aoload is a custom version of ccload which edits the data before sending it
1885 to the target machine, writing the target serial number into the data.
1887 Signed-off-by: Keith Packard <keithp@keithp.com>
1889 commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
1890 Author: Keith Packard <keithp@keithp.com>
1891 Date: Sat May 23 21:20:12 2009 -0700
1893 Fix aoview telemetry GPS parsing code to use correct columns
1895 This code was trying to pull the GPS data from the wrong columns, causing
1896 aoview to fail to display GPS information.
1898 Signed-off-by: Keith Packard <keithp@keithp.com>
1900 commit 26988c3e7acb2fa832810475e43e08fd2867459c
1901 Author: Keith Packard <keithp@keithp.com>
1902 Date: Sat May 23 21:18:57 2009 -0700
1904 Parse both telemetry or log data ao_flight_test
1906 Change the way data is fed from files to the flight test rig to handle
1907 either kind of input file.
1909 Signed-off-by: Keith Packard <keithp@keithp.com>
1911 commit d6f5a0689023546464a71561f53fa2c943077c88
1912 Author: Keith Packard <keithp@keithp.com>
1913 Date: Sat May 23 21:16:22 2009 -0700
1915 Avoid 16-bit overflow in velocity computation.
1917 Adding two 16 bit integers together can wrap around to negative numbers,
1918 this resulted in velocity values which never decreased, making the switch
1919 from coast to apogee state not occur.
1921 Signed-off-by: Keith Packard <keithp@keithp.com>
1923 commit aa6d87aeb616dd62f0debaded297232022b4f8bd
1924 Author: Keith Packard <keithp@keithp.com>
1925 Date: Wed May 20 09:44:55 2009 -0700
1927 Make file handling more general so it can be reused.
1929 The log file handling stuff will be useful for saving eeprom data, so pull
1930 it out of the real-time log handling code and make a general interface.
1932 Signed-off-by: Keith Packard <keithp@keithp.com>
1934 commit b730c8bcbce649cdddba935e1112aaae538bc526
1935 Author: Keith Packard <keithp@keithp.com>
1936 Date: Sun May 17 23:54:44 2009 -0700
1938 Ignore aoview_glade.h
1940 commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
1941 Author: Keith Packard <keithp@keithp.com>
1942 Date: Sun May 17 23:36:21 2009 -0700
1944 Transmit computed ground pressure and acceleration values
1946 These are the last two values relevant to figuring out the state of the
1947 flight computer, and as they are computed by averaging 10 seconds of 100Hz
1948 sample data, they're a lot more accurate than anything the receiver could do
1951 Signed-off-by: Keith Packard <keithp@keithp.com>
1953 commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
1954 Author: Keith Packard <keithp@keithp.com>
1955 Date: Sun May 17 23:18:09 2009 -0700
1957 Provide install target
1959 commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
1960 Author: Keith Packard <keithp@keithp.com>
1961 Date: Sun May 17 23:13:20 2009 -0700
1963 Embed glade file in executable
1965 This eliminates install issues nicely.
1967 Signed-off-by: Keith Packard <keithp@keithp.com>
1969 commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
1970 Author: Keith Packard <keithp@keithp.com>
1971 Date: Sun May 17 23:05:23 2009 -0700
1973 Add About dialog to aoview.
1975 Signed-off-by: Keith Packard <keithp@keithp.com>
1977 commit 0f3233c49f43cd4e372e613303919ce4d50255b2
1978 Author: Keith Packard <keithp@keithp.com>
1979 Date: Sun May 17 22:44:19 2009 -0700
1981 USB device names can contain '.' too
1983 Depending on the hierarchy of devices, names can contain '.', so allow those
1986 Signed-off-by: Keith Packard <keithp@keithp.com>
1988 commit 33221277690e6ee30387c506c3f2b8237ed48efd
1989 Author: Keith Packard <keithp@keithp.com>
1990 Date: Sun May 17 22:43:34 2009 -0700
1992 scandir returns -1 on error
1994 In which case, the namelist is invalid, so don't look at it, and don't free
1997 Signed-off-by: Keith Packard <keithp@keithp.com>
1999 commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
2000 Author: Keith Packard <keithp@keithp.com>
2001 Date: Sun May 17 22:29:54 2009 -0700
2003 Send computed accel/vel/pres values over the radio
2005 These computed values reflect what the flight computer is actually refering
2006 to for state changes, and will be useful in debugging the flight software as
2007 well as provide a filtered view of the data.
2009 Signed-off-by: Keith Packard <keithp@keithp.com>
2011 commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
2012 Author: Keith Packard <keithp@keithp.com>
2013 Date: Sun May 17 22:29:06 2009 -0700
2015 Handle disappearing serial devices
2017 Put up a dialog when the serial open fails, and shut down monitoring when
2018 the serial device disappears while running.
2020 Signed-off-by: Keith Packard <keithp@keithp.com>
2022 commit 69616104813fc5ba89fb3128d04fb9328961c59c
2023 Author: Keith Packard <keithp@keithp.com>
2024 Date: Sun May 17 22:24:53 2009 -0700
2026 While on the pad, zero out velocity every second
2028 We integrate acceleration to get velocity, but that means sitting on the pad
2029 for a long time can add substantial error to the velocity value. Each
2030 second, take the velocity value from a full second ago and subtract that out
2031 of the current velocity. Once we detect boost, this will stop, which means
2032 that as long as we detect boost within a second, we won't have subtracted
2033 out any "real" velocity.
2035 This keeps the pad velocity hovering around zero, which is pretty useful.
2037 Signed-off-by: Keith Packard <keithp@keithp.com>
2039 commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
2040 Author: Keith Packard <keithp@keithp.com>
2041 Date: Sun May 17 01:29:06 2009 -0700
2043 Clear table, reset log on disconnect
2045 commit 4316b6af86b37522038e642235c163fcaad52e96
2046 Author: Keith Packard <keithp@keithp.com>
2047 Date: Sun May 17 01:28:16 2009 -0700
2049 Add pad lat/lon, max accel, max height
2051 Signed-off-by: Keith Packard <keithp@keithp.com>
2053 commit 4348281bd788a13ea700413537f12da3c00356e4
2054 Author: Keith Packard <keithp@keithp.com>
2055 Date: Sun May 17 00:46:09 2009 -0700
2057 Clean up GPS display
2059 Signed-off-by: Keith Packard <keithp@keithp.com>
2061 commit ff68e38770351ddac3285ce275cd85adab01fd3d
2062 Author: Keith Packard <keithp@keithp.com>
2063 Date: Sun May 17 00:45:38 2009 -0700
2065 Make aoview window taller
2067 Signed-off-by: Keith Packard <keithp@keithp.com>
2069 commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
2070 Author: Keith Packard <keithp@keithp.com>
2071 Date: Sun May 17 00:13:45 2009 -0700
2073 Add lots more aoview UI bits
2075 Logs data to files, displays current state in window.
2077 Signed-off-by: Keith Packard <keithp@keithp.com>
2079 commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
2080 Author: Keith Packard <keithp@keithp.com>
2081 Date: Sat May 16 20:45:26 2009 -0700
2083 When logging starts up, right the whole ring to the log.
2085 This preserves the data pre boost-detect for later analysis.
2087 Signed-off-by: Keith Packard <keithp@keithp.com>
2089 commit fec4212a59a7b3321536b25707dcabc43c797c33
2090 Author: Keith Packard <keithp@keithp.com>
2091 Date: Sat May 16 20:04:31 2009 -0700
2093 Abandon use of accelerometer for apogee detect.
2095 Integrating the accelerometer data to compute velocity worked for one rocket
2096 flight, but additional testing shows that it doesn't work in other
2097 airframes. Until we figure out how this should work, we'll rely on the
2098 altimeter to detect apogee.
2100 Signed-off-by: Keith Packard <keithp@keithp.com>
2102 commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
2103 Author: Keith Packard <keithp@keithp.com>
2104 Date: Sat May 16 02:25:04 2009 -0700
2106 Add preliminary aoview code
2108 AoView connects with TeleDongle to present telemetry information in a
2109 reasonable form. Right now, it just displays information to stdout, but it
2110 does have fancy dialogs for finding the USB devices.
2112 Signed-off-by: Keith Packard <keithp@keithp.com>
2114 commit 37250b00f6286aee4b3b28604f5d463db3079a89
2115 Author: Keith Packard <keithp@keithp.com>
2116 Date: Wed May 13 20:41:54 2009 -0700
2118 Discard usb output before connection. Handle USB reset.
2120 Discarding output before USB is plugged in allows threads that send output
2121 and do other things to work without a USB connection. Unfortuantely, there
2122 doesn't appear to be any way to detect when the USB link is disconnected,
2123 which means that once USB is enabled, future writes will continue to block.
2125 USB reset causes the USB interrupts to all be reconfigured back to power-on
2128 Signed-off-by: Keith Packard <keithp@keithp.com>
2130 commit 9b974217958b1017e62d6c4f4568f547ccc30c58
2131 Author: Keith Packard <keithp@keithp.com>
2132 Date: Wed May 13 20:40:42 2009 -0700
2134 Enable radio monitor by default in teleterra, teledongle and tidongle
2136 These ground loads want to monitor the radio constantly, and not require use
2137 of the 'm' command before listening.
2139 Signed-off-by: Keith Packard <keithp@keithp.com>
2141 commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
2142 Author: Keith Packard <keithp@keithp.com>
2143 Date: Wed May 13 20:39:28 2009 -0700
2145 Remove monitor/rssi functions from telemetrum load
2147 Telemetrum is now a flight-only load, use teleterra or teledongle for ground
2150 Signed-off-by: Keith Packard <keithp@keithp.com>
2152 commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
2153 Author: Keith Packard <keithp@keithp.com>
2154 Date: Wed May 13 20:38:11 2009 -0700
2156 Split out ao_state_names to separate file
2158 Allows state names to be used in programs without monitoring enabled.
2160 Signed-off-by: Keith Packard <keithp@keithp.com>
2162 commit d085d43701e3cdd2119e947a9ae45baa78c80318
2163 Author: Keith Packard <keithp@keithp.com>
2164 Date: Wed May 13 14:29:30 2009 -0700
2166 Indicate RSSI with a blinking LED
2168 Blink the red LED at a rate proportional to the RSSI value.
2170 Signed-off-by: Keith Packard <keithp@keithp.com>
2172 commit 055331d5f7d5adc40c348c3efd331a562dcda82a
2173 Author: Keith Packard <keithp@keithp.com>
2174 Date: Wed May 13 11:19:13 2009 -0700
2176 Make ao_flight_test show AGL altitude and positive acceleration under boost
2178 This makes the output more readable
2180 Signed-off-by: Keith Packard <keithp@keithp.com>
2182 commit d91208fbf5fc7797b93087ef8619454c4bed0130
2183 Author: Keith Packard <keithp@keithp.com>
2184 Date: Wed May 13 11:18:24 2009 -0700
2186 Make ao_flight_test able to read raw logging data
2188 Protect ao_flight_test reading functions so that a simple
2189 'script' output can be fed to the program and have it work correctly.
2191 Signed-off-by: Keith Packard <keithp@keithp.com>
2193 commit d3dbd8949e1102220ad5fd0863f493c819b96e46
2194 Author: Keith Packard <keithp@keithp.com>
2195 Date: Wed May 13 11:16:53 2009 -0700
2197 Print only RSSI when packet CRC is invalid
2199 Packets with invalid CRC usually contain bogus data, so don't print that,
2200 just print out the RSSI which may contain useful data.
2202 Signed-off-by: Keith Packard <keithp@keithp.com>
2204 commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
2205 Author: Keith Packard <keithp@keithp.com>
2206 Date: Wed May 13 11:00:43 2009 -0700
2208 Accelerometer-based velocity values are invalid after apogee
2210 Because the orientation of the flight computer relative to the ground is
2211 unknown after apogee, the accelerometer data cannot be integrated to compute
2212 velocity. Main deploy is now based purely on barometric altitude and landing
2213 detection no longer checks for a low velocity value.
2215 Signed-off-by: Keith Packard <keithp@keithp.com>
2217 commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
2218 Author: Keith Packard <keithp@keithp.com>
2219 Date: Wed May 13 10:59:04 2009 -0700
2221 Add velocity check for boost detect via accelerometer
2223 Bumping the rocket can cause a brief period of high acceleration, which may
2224 cause a mistaken boost detection. Require both a high acceleration and
2225 reasonable velocity to trigger boost phase.
2227 Signed-off-by: Keith Packard <keithp@keithp.com>
2229 commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
2230 Author: Keith Packard <keithp@keithp.com>
2231 Date: Wed May 13 10:58:30 2009 -0700
2235 commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
2236 Author: Keith Packard <keithp@keithp.com>
2237 Date: Sun May 10 23:11:06 2009 -0700
2239 Use recorded accelerometer baseline data in ao_flight_test
2241 With the flight computer recording a long-term average value for the
2242 accelerometer in the flight record, use that to prime the flight test code
2243 when running a log file through the simulator.
2245 Signed-off-by: Keith Packard <keithp@keithp.com>
2247 commit ba3c53636e485450f48093d0a88a6629775f7c3a
2248 Author: Keith Packard <keithp@keithp.com>
2249 Date: Sun May 10 23:01:16 2009 -0700
2251 Don't re-initialize the landing range data at each apogee detect sample
2253 The landing range values are used only after apogee detect, so we need only
2254 initialize them on the transition from apogee to drogue.
2256 Signed-off-by: Keith Packard <keithp@keithp.com>
2258 commit b623b1098bc7a10d471730259438fb82804221d0
2259 Author: Keith Packard <keithp@keithp.com>
2260 Date: Sun May 10 23:00:06 2009 -0700
2262 Initialize ao_min_vel with |ao_flight_vel|
2264 As ao_min_vel is stored as an absolute value, it's important to preserve
2265 that invariant, even though we don't expect ao_flight_vel to be negative at
2268 Signed-off-by: Keith Packard <keithp@keithp.com>
2270 commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
2271 Author: Keith Packard <keithp@keithp.com>
2272 Date: Sun May 10 22:58:31 2009 -0700
2274 Decrease telemetry rate on the pad to 1/sec instead of 20/sec
2276 Transmitting telemetry through the radio consumes a significant amount of
2277 battery; reducing the rate to 1/sec will reduce power usage while waiting
2280 Signed-off-by: Keith Packard <keithp@keithp.com>
2282 commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
2283 Author: Keith Packard <keithp@keithp.com>
2284 Date: Sun May 10 22:57:19 2009 -0700
2286 Increase the initial accel/baro average to 1000 samples
2288 To get an accurate baseline of the launchpad state, take a longer average of
2289 the two sensors as the unit boots up.
2291 Signed-off-by: Keith Packard <keithp@keithp.com>
2293 commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
2294 Author: Keith Packard <keithp@keithp.com>
2295 Date: Sun May 10 22:54:14 2009 -0700
2297 Record average accelerometer value in flight start log record
2299 The average accelerometer value cannot be extracted from the log as the
2300 record starts after that is computed. As that drives much of the
2301 accelerometer-based state transition logic, it is an important value to
2302 have, so we log it as part of the flight start record now.
2304 Signed-off-by: Keith Packard <keithp@keithp.com>
2306 commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
2307 Author: Keith Packard <keithp@keithp.com>
2308 Date: Sat May 9 10:24:10 2009 -0700
2310 Add version command to show product information
2312 commit e80b87f5e3ccf152d67a2e87bdefda161c455599
2313 Author: Keith Packard <keithp@keithp.com>
2314 Date: Sat May 9 10:23:49 2009 -0700
2316 Pad callsign with nuls
2318 commit beae3360828da21eb1a3c4f88e930f242d4e36b7
2319 Author: Keith Packard <keithp@keithp.com>
2320 Date: Fri May 1 08:14:57 2009 -0700
2322 USB spec limits bulk endpoints to 64 byte payload max.
2324 For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
2327 commit de7814c738488c2c16c6216c93fa78128895e5d5
2328 Author: Keith Packard <keithp@keithp.com>
2329 Date: Wed Apr 29 17:46:56 2009 -0700
2331 Use 'char' instead of 'uint8_t' for character data
2333 String and character constants are of char type, so using uint8_t causes
2334 promotion to 16-bit types when comparing the two.
2336 commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
2337 Author: Keith Packard <keithp@keithp.com>
2338 Date: Wed Apr 29 17:46:36 2009 -0700
2340 Eliminate incorrect cast in printf string argument
2342 char * is a pointer to a string in the default address space, not a generic pointer
2343 to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
2346 commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
2347 Author: Keith Packard <keithp@keithp.com>
2348 Date: Wed Apr 29 17:44:41 2009 -0700
2350 Correct radio frequency shown in config display.
2352 Radio frequency base is 434.550, not 435.550
2354 commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
2355 Author: Keith Packard <keithp@keithp.com>
2356 Date: Wed Apr 29 17:42:26 2009 -0700
2358 Reset landing interval tests at apogee
2360 This moves all of the interval management into the landing test code and
2361 out of the main loop. The interval is reset at apogee to make sure the
2362 sensors produce a stable reading for at least 20 seconds
2364 commit 7a1b77c2d7253a681389f32b70e2460aac188807
2365 Author: Bdale Garbee <bdale@gag.com>
2366 Date: Sun Apr 26 17:53:13 2009 -0600
2368 clean up host programs, too
2370 commit 5df80c346d65a9d56a8699b056dc44924acb31fe
2371 Author: Keith Packard <keithp@keithp.com>
2372 Date: Sun Apr 26 16:04:07 2009 -0700
2374 Was missing v_batt in adc dump command
2376 commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
2377 Author: Keith Packard <keithp@keithp.com>
2378 Date: Sun Apr 26 15:38:28 2009 -0700
2380 Add manual ignition and igniter test commands
2382 commit 819f1de8dd6010fae050bcef930943c7923929f9
2383 Author: Keith Packard <keithp@keithp.com>
2384 Date: Sun Apr 26 15:38:03 2009 -0700
2386 Clean up commands a bit
2388 commit 178abb5c8439509926a5507911d7148b84f051b8
2389 Author: Keith Packard <keithp@keithp.com>
2390 Date: Sun Apr 26 15:08:58 2009 -0700
2392 Clear more files on make clean
2394 commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
2395 Author: Keith Packard <keithp@keithp.com>
2396 Date: Sun Apr 26 15:05:29 2009 -0700
2398 Label binaries with product and serial info
2400 commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
2401 Author: Keith Packard <keithp@keithp.com>
2402 Date: Sun Apr 26 01:37:02 2009 -0700
2404 Make sure full log is written and flushed on landing.
2406 The final state change to landing is recorded in the logging thread, so have
2407 that turn off logging once it has recorded that state. Then make it go to
2410 commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
2411 Author: Keith Packard <keithp@keithp.com>
2412 Date: Sun Apr 26 01:36:53 2009 -0700
2414 Clean up monitor output a bit
2416 commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
2417 Author: Keith Packard <keithp@keithp.com>
2418 Date: Sun Apr 26 00:11:32 2009 -0700
2420 Add configuration support
2422 Current config variables:
2423 Main deploy altitude above launch (in meters)
2424 Acceleration zero g calibration (manual or automatic)
2425 Radio channel (freq = 435.550MHz + channel * 100kHz)
2426 Callsign (max 8 characters)
2428 Supporting this involved shuffling code around so that the
2429 non-telemetrum builds could include only the stuff they needed.
2431 commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
2432 Author: Keith Packard <keithp@keithp.com>
2433 Date: Sat Apr 25 14:44:33 2009 -0700
2435 Allow for slower ADC operation. Add power saving code.
2437 This tries to make the flight computer use less power by disabling USB in
2438 flight mode, lowering the telemetry rate after ascent. It also disables the
2439 RDF beacon during ascent and re-enables it once descent has started.
2441 commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
2442 Author: Keith Packard <keithp@keithp.com>
2443 Date: Sat Apr 25 14:44:04 2009 -0700
2445 Allow ADC to be disabled
2447 commit 7bc3d9962872850e7b420221cf689db16b4305cc
2448 Author: Keith Packard <keithp@keithp.com>
2449 Date: Sat Apr 25 14:43:23 2009 -0700
2451 Place CPU in P0 state while idle
2453 commit e45fce7f82d704d677f84c69b0e07588d109d780
2454 Author: Keith Packard <keithp@keithp.com>
2455 Date: Sat Apr 25 14:42:20 2009 -0700
2457 Add RDF beacon and callsign to telemetry
2459 commit 61510f98404bca6861b2da98f6cd9ba9deb76968
2460 Author: Keith Packard <keithp@keithp.com>
2461 Date: Sat Apr 25 14:40:51 2009 -0700
2463 Add radio code to emit a 1kHz tone
2465 commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
2466 Author: Keith Packard <keithp@keithp.com>
2467 Date: Sat Apr 25 13:18:37 2009 -0700
2469 Allow the USB system to be disabled/enabled at run-time
2471 commit 45976af820fc41099928df71ea8304c56eb9fc7c
2472 Author: Keith Packard <keithp@keithp.com>
2473 Date: Sat Apr 25 13:16:27 2009 -0700
2475 Make LED usage depend on target device
2477 commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
2478 Author: Keith Packard <keithp@keithp.com>
2479 Date: Sat Apr 25 13:13:24 2009 -0700
2481 Make some functions reentrant to save DSEG space
2483 commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
2484 Author: Keith Packard <keithp@keithp.com>
2485 Date: Fri Apr 24 19:17:37 2009 -0700
2487 Add monitor task to flight software
2489 Allows the use of telemetrum in teledongle mode.
2491 commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
2492 Author: Keith Packard <keithp@keithp.com>
2493 Date: Fri Apr 24 19:17:19 2009 -0700
2495 Report difference from ground to max altitude at landing
2497 commit f94ab879ff6f97708827c74facd11003a2d8b590
2498 Author: Keith Packard <keithp@keithp.com>
2499 Date: Fri Apr 24 19:16:29 2009 -0700
2501 Display data with units while running simulation
2503 commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
2504 Author: Keith Packard <keithp@keithp.com>
2505 Date: Fri Apr 24 19:13:31 2009 -0700
2507 Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
2509 This change ensures that we actually got going fairly fast, and then slowed
2510 down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
2511 right off the pad as we're not going very fast at that point...
2513 This also adds the 'f' command to show the current flight status on the USB
2516 commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
2517 Author: Keith Packard <keithp@keithp.com>
2518 Date: Fri Apr 24 19:12:28 2009 -0700
2520 configure igniter ports, set values to measured ones
2522 commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
2523 Author: Keith Packard <keithp@keithp.com>
2524 Date: Fri Apr 24 19:11:40 2009 -0700
2526 Move ao_led_init to end of file to be consistent with other files
2528 commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
2529 Author: Keith Packard <keithp@keithp.com>
2530 Date: Fri Apr 24 19:10:20 2009 -0700
2532 Define ao_state_names in ao.h so other people can share
2534 commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
2535 Author: Keith Packard <keithp@keithp.com>
2536 Date: Fri Apr 24 19:09:31 2009 -0700
2540 commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
2541 Author: Keith Packard <keithp@keithp.com>
2542 Date: Fri Apr 24 19:09:09 2009 -0700
2544 Move beep_init to end of file to be consistent with other files
2546 commit b99315cee4ab796376458a2442cf36806fa4aed3
2547 Author: Keith Packard <keithp@keithp.com>
2548 Date: Fri Apr 24 10:19:31 2009 -0700
2550 Update flight algorithm based on data collected from SN-1 Flight 1
2552 This now correctly sequences through the flight data collected from the
2553 first TeleMetrum test flight.
2555 This also completes up the flight algorithm test harness (ao_flight_test),
2556 which runs the flight algorithm on the Linux host from a captured data log.
2558 commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
2559 Author: Keith Packard <keithp@keithp.com>
2560 Date: Thu Apr 23 22:17:44 2009 -0700
2562 Add igniters and update flight control algorithm
2564 commit f155333ae18a25068644792e8940269d9fb28033
2565 Author: Keith Packard <keithp@keithp.com>
2566 Date: Fri Apr 24 00:15:09 2009 -0700
2568 Avoid ram from 0xfda2 through feff, its funky
2570 commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
2571 Author: Keith Packard <keithp@keithp.com>
2572 Date: Thu Apr 23 22:18:33 2009 -0700
2574 remove ao_flight_test until its ready
2576 commit 86e73c009f78dc4664883353124fc891fbb01dce
2577 Author: Keith Packard <keithp@keithp.com>
2578 Date: Thu Apr 23 20:50:07 2009 -0700
2580 Add teledongle module
2582 commit 204daac71ad56926730f5d6860bd70c645302e19
2583 Author: Keith Packard <keithp@keithp.com>
2584 Date: Thu Apr 23 14:26:01 2009 -0700
2586 Set telemetry rate to 100ms
2588 commit 306b28f632e21b42ab165e7944283cf9764b590e
2589 Author: Keith Packard <keithp@keithp.com>
2590 Date: Thu Apr 23 14:23:26 2009 -0700
2592 Wrong license on ao_monitor.c
2594 commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
2595 Author: Keith Packard <keithp@keithp.com>
2596 Date: Thu Apr 23 14:23:00 2009 -0700
2598 Crank up radio to 10dBm
2600 commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
2601 Author: Keith Packard <keithp@keithp.com>
2602 Date: Wed Apr 22 16:03:28 2009 -0700
2606 commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
2607 Author: Keith Packard <keithp@keithp.com>
2608 Date: Wed Apr 22 15:55:01 2009 -0700
2610 Clean up TeleTerra files
2612 commit 61cee50c86e275f9fde875bd317c3e74255394ec
2613 Author: Keith Packard <keithp@keithp.com>
2614 Date: Wed Apr 22 15:53:55 2009 -0700
2616 simplify ao_time function
2618 commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
2619 Author: Keith Packard <keithp@keithp.com>
2620 Date: Wed Apr 22 15:53:46 2009 -0700
2622 One line radio status
2624 commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
2625 Author: Keith Packard <keithp@keithp.com>
2626 Date: Wed Apr 22 15:49:16 2009 -0700
2628 Add new binaries to .gitignore
2630 commit 00d5610caff61559eb24c24beaa56629d6bb03be
2631 Author: Keith Packard <keithp@keithp.com>
2632 Date: Wed Apr 22 15:49:00 2009 -0700
2634 Speed up dbg port bit frobbing
2636 commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
2637 Author: Keith Packard <keithp@keithp.com>
2638 Date: Wed Apr 22 15:48:28 2009 -0700
2642 commit ada6dea04b94be016598566c4c13e6105aaec353
2643 Author: Keith Packard <keithp@keithp.com>
2644 Date: Wed Apr 22 15:48:14 2009 -0700
2646 Clean up task list formatting
2648 commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
2649 Author: Keith Packard <keithp@keithp.com>
2650 Date: Wed Apr 22 15:47:57 2009 -0700
2652 Control radio monitoring with the M command
2654 commit 837c620f07b63efc171be3ac14c78bc99adf7592
2655 Author: Keith Packard <keithp@keithp.com>
2656 Date: Wed Apr 22 14:25:43 2009 -0700
2658 Shrink USB output buffers, work around USB packet errors
2660 commit d87e9c25947d7cc2eba8894a524977f2c55a089a
2661 Author: Keith Packard <keithp@keithp.com>
2662 Date: Tue Apr 21 02:07:24 2009 -0700
2664 Clean up telemetry now that all packets are the same
2666 commit 1b333def5052d2ed47fdeaef23a897fe326f6340
2667 Author: Keith Packard <keithp@keithp.com>
2668 Date: Tue Apr 21 02:07:08 2009 -0700
2670 Add longer debug delays to reset/debug_mode entry
2672 commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
2673 Author: Keith Packard <keithp@keithp.com>
2674 Date: Tue Apr 21 01:17:03 2009 -0700
2676 Fix up fancy dbg stuff. Add teleterra initial bits.
2678 The dbg stuff needed a bit of help to actually walk the tables; it appears
2679 that complex expressions confuse sdcc.
2681 This also adds primitive teleterra bits, but no UI, etc.
2683 Signed-off-by: Keith Packard <keithp@keithp.com>
2685 commit 43c8f7012102cdb591ace899420c10e4a78385ad
2686 Author: Keith Packard <keithp@keithp.com>
2687 Date: Mon Apr 20 23:33:41 2009 -0700
2689 Add radio support. Build separate executables for TeleMetrum and the TI dongle
2691 Ok, way too big a patch, but things were in rough shape.
2692 This patch adds support for the radio, both transmit and receive.
2693 Then, because I could no longer run the TeleMetrum code on the TI
2694 dongle, I ended up building a separate image for the TI board, which
2695 involved creating a mechanism for having multiple command sets and splitting
2696 code for different functions into different files.
2698 commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
2699 Author: Keith Packard <keithp@keithp.com>
2700 Date: Sat Apr 18 23:19:24 2009 -0700
2702 Start using pdata area for less-frequently used data
2704 commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
2705 Author: Keith Packard <keithp@keithp.com>
2706 Date: Sat Apr 18 23:19:05 2009 -0700
2708 Slow down panic presentation
2710 commit c4e983daa4579896b227fdcb2be43fad75e94307
2711 Author: Keith Packard <keithp@keithp.com>
2712 Date: Sat Apr 18 23:17:45 2009 -0700
2714 Parse GPS data locally. Add 'g' command to display recent GPS results.
2716 This parses the GPS GGA message and stores it in a global variable,
2717 protected by a mutex.
2719 commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
2720 Author: Keith Packard <keithp@keithp.com>
2721 Date: Sat Apr 18 23:16:01 2009 -0700
2723 Add task names and 'T' command to show task status.
2725 The T command shows the current wchan and PC for each task in the system.
2727 commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
2728 Author: Keith Packard <keithp@keithp.com>
2729 Date: Sat Apr 18 19:32:18 2009 -0700
2731 Fix GPL version at 2
2733 Signed-off-by: Keith Packard <keithp@keithp.com>
2735 commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
2736 Author: Keith Packard <keithp@keithp.com>
2737 Date: Fri Apr 17 23:38:14 2009 -0700
2739 Add gps, debug dongle support and pressure alt tables
2741 GPS also pulled in serial support. The altitude tables take raw 11-bit
2742 pressure sample numbers and convert them to standard pressure altitude
2745 Signed-off-by: Keith Packard <keithp@keithp.com>
2747 commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
2748 Author: Keith Packard <keithp@keithp.com>
2749 Date: Fri Apr 17 10:32:45 2009 -0700
2751 Enable FEC in radio packets
2753 commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
2754 Author: Keith Packard <keithp@keithp.com>
2755 Date: Fri Apr 17 10:29:42 2009 -0700
2757 Add CRC to radio packets
2759 commit 20834caf01ddf481e8362b0d2627ef383a82e09d
2760 Author: Keith Packard <keithp@keithp.com>
2761 Date: Fri Apr 17 10:23:10 2009 -0700
2765 commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
2766 Author: Keith Packard <keithp@keithp.com>
2767 Date: Fri Apr 17 10:19:25 2009 -0700
2769 Add packet status byte defines
2771 commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
2772 Author: Keith Packard <keithp@keithp.com>
2773 Date: Fri Apr 17 10:11:31 2009 -0700
2775 Add separate xmit/recv programs to radio demo
2777 commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
2778 Author: Keith Packard <keithp@keithp.com>
2779 Date: Fri Apr 17 10:11:11 2009 -0700
2781 Get env var for debug method selection
2783 commit 26095fc0511ee0d5213f038986032f7c59964cf0
2784 Author: Keith Packard <keithp@keithp.com>
2785 Date: Fri Apr 17 10:10:47 2009 -0700
2787 Run-time selection between cp2103 and cc1111
2789 commit 543bedde83cbce5145668e72965e02d892187b59
2790 Author: Keith Packard <keithp@keithp.com>
2791 Date: Thu Apr 16 20:38:14 2009 -0700
2795 commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
2796 Author: Keith Packard <keithp@keithp.com>
2797 Date: Wed Apr 15 14:25:26 2009 -0700
2799 Move a bunch of variables from __data to __xdata
2801 commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
2802 Author: Keith Packard <keithp@keithp.com>
2803 Date: Tue Apr 14 21:25:15 2009 -0700
2805 Slow down panic code, disable interrupts
2807 commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
2808 Author: Keith Packard <keithp@keithp.com>
2809 Date: Tue Apr 14 21:24:25 2009 -0700
2811 Keep reporting flight state while it changes
2813 commit 9605045164882b4ca3d1317ac860b02513a51f30
2814 Author: Keith Packard <keithp@keithp.com>
2815 Date: Tue Apr 14 21:23:55 2009 -0700
2817 use red LED to indicate system startup
2819 commit dc844ee7e49a3b6145b3165252a592ed070d600f
2820 Author: Keith Packard <keithp@keithp.com>
2821 Date: Tue Apr 14 21:23:13 2009 -0700
2823 Use ao_ee_flush_internal while holding mutex
2825 commit 5e45d1c89b00e74d5b2730345843f43aab516af2
2826 Author: Keith Packard <keithp@keithp.com>
2827 Date: Tue Apr 14 21:22:56 2009 -0700
2829 Leave beeping and lights to the flight code
2831 commit 902c342289c1d13a4d55b9224acb6d67578b7a60
2832 Author: Keith Packard <keithp@keithp.com>
2833 Date: Tue Apr 14 21:22:31 2009 -0700
2835 Make mutex functions reentrant
2837 commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
2838 Author: Keith Packard <keithp@keithp.com>
2839 Date: Tue Apr 14 19:08:01 2009 -0700
2841 Add in existing flight pieces: flight/report/log
2843 These pieces come from the old telemetrum firmware.
2845 Signed-off-by: Keith Packard <keithp@keithp.com>
2847 commit ac99982b10fd5772218660137ee21db9b90cd885
2848 Author: Keith Packard <keithp@keithp.com>
2849 Date: Tue Apr 14 14:21:56 2009 -0700
2851 Add eeprom driver and command loop
2853 This involved adding dma control and a mutex implementation.
2855 Signed-off-by: Keith Packard <keithp@keithp.com>
2857 commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
2858 Author: Keith Packard <keithp@keithp.com>
2859 Date: Tue Apr 14 11:04:09 2009 -0700
2861 Switch from --model-large to --model-small
2863 This shrinks the application quite a bit, and should make it faster as well.
2865 Signed-off-by: Keith Packard <keithp@keithp.com>
2867 commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
2868 Author: Keith Packard <keithp@keithp.com>
2869 Date: Tue Apr 14 10:02:19 2009 -0700
2871 Add comments, clean up white space, etc.
2873 Various clean ups now that the basic code appears to work.
2875 Signed-off-by: Keith Packard <keithp@keithp.com>
2877 commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
2878 Author: Keith Packard <keithp@keithp.com>
2879 Date: Mon Apr 13 21:58:07 2009 -0700
2881 Switch USB to double-buffered
2883 commit b56a44e48552bc32dbba9ff21770c370219a684a
2884 Author: Keith Packard <keithp@keithp.com>
2885 Date: Mon Apr 13 21:51:59 2009 -0700
2887 Fix USB input/output by reloading packet limits.
2889 The USB controller is reset during the connection process, which clears the
2890 packet limits set in the controller at initialization time. Reload those
2891 values when the configuration is set.
2893 Signed-off-by: Keith Packard <keithp@keithp.com>
2895 commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
2896 Author: Keith Packard <keithp@keithp.com>
2897 Date: Mon Apr 13 20:39:46 2009 -0700
2899 USB working up through reading strings
2901 commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
2902 Author: Keith Packard <keithp@keithp.com>
2903 Date: Mon Apr 13 13:51:08 2009 -0700
2907 This offers a single CDC ACM device over USB.
2909 Signed-off-by: Keith Packard <keithp@keithp.com>
2911 commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
2912 Author: Keith Packard <keithp@keithp.com>
2913 Date: Sun Apr 12 23:53:55 2009 -0700
2915 Add beep/led support.
2917 Support our P2_0 connected buzzer, and formalize LED output support.
2919 Signed-off-by: Keith Packard <keithp@keithp.com>
2921 commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
2922 Author: Keith Packard <keithp@keithp.com>
2923 Date: Sun Apr 12 23:17:16 2009 -0700
2927 Sample A/D at the timer tick, placing data in a ring
2930 Signed-off-by: Keith Packard <keithp@keithp.com>
2932 commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
2933 Author: Keith Packard <keithp@keithp.com>
2934 Date: Sun Apr 12 22:52:47 2009 -0700
2938 Use Timer 1 to generate a 100Hz timer interrupt
2940 commit 650a77e209dbb54c8d8fd9824cee430985564973
2941 Author: Keith Packard <keithp@keithp.com>
2942 Date: Sun Apr 12 21:58:49 2009 -0700
2946 commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
2947 Author: Keith Packard <keithp@keithp.com>
2948 Date: Sun Apr 12 21:52:56 2009 -0700
2952 commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
2953 Author: Keith Packard <keithp@keithp.com>
2954 Date: Sun Apr 12 21:47:32 2009 -0700
2956 Add load command to s51
2958 commit 55402ba3e87fd699c51079843309f1f0d1534724
2959 Author: Keith Packard <keithp@keithp.com>
2960 Date: Sun Apr 12 21:33:55 2009 -0700
2962 Make test more complicated
2964 commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
2965 Author: Keith Packard <keithp@keithp.com>
2966 Date: Sun Apr 12 21:33:46 2009 -0700
2968 SP points at last pushed byte
2970 commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
2971 Author: Keith Packard <keithp@keithp.com>
2972 Date: Sun Apr 12 20:27:03 2009 -0700
2976 commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
2977 Author: Keith Packard <keithp@keithp.com>
2978 Date: Sun Apr 12 20:25:39 2009 -0700
2980 Initial AltOS import
2982 commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
2983 Author: Keith Packard <keithp@keithp.com>
2984 Date: Sun Apr 12 12:38:58 2009 -0700
2988 commit ee110425fb814780476d1d3d8a257af126f41763
2989 Author: Keith Packard <keithp@keithp.com>
2990 Date: Mon Apr 6 17:09:23 2009 -0700
2992 Bump buffer pointer as data is written to cc-usb
2994 commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
2995 Author: Keith Packard <keithp@keithp.com>
2996 Date: Mon Apr 6 11:31:49 2009 -0700
2998 Add support for a serial-connected custom debug dongle
3000 This uses the cc1111 board as a custom debug dongle with faster
3001 methods for communicating with the debug target.
3003 commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
3004 Author: Keith Packard <keithp@keithp.com>
3005 Date: Wed Apr 1 17:50:47 2009 -0700
3007 Reset cc1111 on s51 exit
3009 commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
3010 Author: Keith Packard <keithp@keithp.com>
3011 Date: Wed Apr 1 00:06:45 2009 -0700
3013 Add timer-based beep test
3015 commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
3016 Author: Keith Packard <keithp@keithp.com>
3017 Date: Thu Mar 26 22:41:47 2009 -0700
3019 Add readline support to s51
3021 commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
3022 Author: Keith Packard <keithp@keithp.com>
3023 Date: Wed Mar 25 11:37:48 2009 -0700
3025 Deal with MSB-outputing DMA engine
3027 commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
3028 Author: Keith Packard <keithp@keithp.com>
3029 Date: Wed Mar 25 11:14:03 2009 -0700
3031 Flip ADC bytes around
3033 commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
3034 Author: Keith Packard <keithp@keithp.com>
3035 Date: Wed Mar 25 11:01:30 2009 -0700
3037 Add spacing for serial adc data
3039 commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
3040 Author: Keith Packard <keithp@keithp.com>
3041 Date: Wed Mar 25 10:58:57 2009 -0700
3043 Inc only one on dest addr
3045 commit 378227d869a3e8787c532c8c4e1563b44002c4b5
3046 Author: Keith Packard <keithp@keithp.com>
3047 Date: Wed Mar 25 10:55:17 2009 -0700
3049 Dump remaining inputs
3051 commit f54a41e37d6897db2e24fbc82880076b78a0ae41
3052 Author: Keith Packard <keithp@keithp.com>
3053 Date: Wed Mar 25 10:50:36 2009 -0700
3055 Remove poll for ti demo button
3057 commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
3058 Author: Keith Packard <keithp@keithp.com>
3059 Date: Wed Mar 25 10:50:14 2009 -0700
3061 Add adc to serial conversion
3063 commit d9fd548db15232e3a8823815962b252c7a5e7cba
3064 Author: Keith Packard <keithp@keithp.com>
3065 Date: Wed Mar 25 10:04:50 2009 -0700
3067 Add ADC via DMA example
3069 commit 61faf2b773300988fe27cfde5bc045be9950a1b0
3070 Author: Keith Packard <keithp@keithp.com>
3071 Date: Wed Mar 25 09:45:14 2009 -0700
3075 commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
3076 Author: Keith Packard <keithp@keithp.com>
3077 Date: Wed Mar 25 01:05:36 2009 -0700
3081 commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
3082 Author: Keith Packard <keithp@keithp.com>
3083 Date: Wed Mar 25 01:03:08 2009 -0700
3085 Make radio test compile again
3087 commit 9ce713fdd19bf1a51370dacba3670504356c5c11
3088 Author: Keith Packard <keithp@keithp.com>
3089 Date: Wed Mar 25 01:02:07 2009 -0700
3091 Wait for xtal to stabilize
3093 commit ffd43886dc902f3bb7407294018e3d62cac39480
3094 Author: Keith Packard <keithp@keithp.com>
3095 Date: Wed Mar 25 00:55:11 2009 -0700
3099 commit 029963cc94fbb47560118b5de73c537e2c14ed7c
3100 Author: Keith Packard <keithp@keithp.com>
3101 Date: Wed Mar 25 00:50:02 2009 -0700
3103 Eliminate array walking
3105 commit 019456a17d36f8f9f9b72cfbc980492175086d32
3106 Author: Keith Packard <keithp@keithp.com>
3107 Date: Wed Mar 25 00:41:49 2009 -0700
3109 Add a per-char delay
3111 commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
3112 Author: Keith Packard <keithp@keithp.com>
3113 Date: Wed Mar 25 00:36:35 2009 -0700
3115 Use UTX1IF to wait for serial TX complete
3117 commit 006124529b243c7657a94312d2c868a82878d8bb
3118 Author: Keith Packard <keithp@keithp.com>
3119 Date: Wed Mar 25 00:29:29 2009 -0700
3121 Send more interesting text
3123 commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
3124 Author: Keith Packard <keithp@keithp.com>
3125 Date: Wed Mar 25 00:24:56 2009 -0700
3127 More random serial bit frobbing
3129 commit 50bdc2407c674a4770912d3a626f36820a7f1527
3130 Author: Keith Packard <keithp@keithp.com>
3131 Date: Wed Mar 25 00:13:15 2009 -0700
3133 Flip serial TX code around a bit
3135 commit 7b7617e376afe0df1d505375b76198358330370c
3136 Author: Keith Packard <keithp@keithp.com>
3137 Date: Wed Mar 25 00:09:47 2009 -0700
3139 Try serial polarity high/high
3141 commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
3142 Author: Keith Packard <keithp@keithp.com>
3143 Date: Wed Mar 25 00:06:32 2009 -0700
3145 Make serial test simpler
3147 commit 62744c186792739c3bf5798c80ff87c69fbe2b65
3148 Author: Keith Packard <keithp@keithp.com>
3149 Date: Wed Mar 25 00:03:45 2009 -0700
3151 Flip start/stop bits around
3153 commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
3154 Author: Keith Packard <keithp@keithp.com>
3155 Date: Tue Mar 24 23:57:12 2009 -0700
3159 commit c41ceb9a488b2209d1d3c09967d1473ce608030f
3160 Author: Keith Packard <keithp@keithp.com>
3161 Date: Tue Mar 24 23:24:01 2009 -0700
3163 Change radio to -30dBm
3165 commit c35de083ca3d4f362063b056a0fd74ffe629d168
3166 Author: Keith Packard <keithp@keithp.com>
3167 Date: Tue Mar 24 23:11:48 2009 -0700
3169 Add serial test program
3171 commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
3172 Author: Keith Packard <keithp@keithp.com>
3173 Date: Tue Mar 24 22:37:38 2009 -0700
3175 Wait for xtal to stabilize after changing to 24MHz
3177 commit e120269fc0f8e14ddf1755337b1d092173e16da2
3178 Author: Keith Packard <keithp@keithp.com>
3179 Date: Tue Mar 24 22:21:31 2009 -0700
3181 Actually return byte read from SPI
3183 commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
3184 Author: Keith Packard <keithp@keithp.com>
3185 Date: Tue Mar 24 22:12:51 2009 -0700
3187 Clear UxCSR_TX_BYTE after transmitting a byte
3189 commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
3190 Author: Keith Packard <keithp@keithp.com>
3191 Date: Tue Mar 24 20:04:58 2009 -0700
3195 commit 91b3a6ae74184692f45702587c4d678b2799ad8c
3196 Author: Keith Packard <keithp@keithp.com>
3197 Date: Tue Mar 24 19:55:04 2009 -0700
3199 actually write and compare SPI test bits
3201 commit 7de3a43887485c3c6cf52960376ccde33fb33985
3202 Author: Keith Packard <keithp@keithp.com>
3203 Date: Tue Mar 24 19:54:02 2009 -0700
3205 Add USART-based SPI test code
3207 commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
3208 Author: Keith Packard <keithp@keithp.com>
3209 Date: Tue Mar 24 17:22:36 2009 -0700
3211 Change spi test string
3213 commit 8131389ee5018c05b721146a98367150cf500fdf
3214 Author: Keith Packard <keithp@keithp.com>
3215 Date: Tue Mar 24 17:15:09 2009 -0700
3217 Oops, not merging in the bit read for SPI test
3219 commit 3429016d1359ec650993d2fb0596184e3f717871
3220 Author: Keith Packard <keithp@keithp.com>
3221 Date: Tue Mar 24 17:04:45 2009 -0700
3223 Adjust clock/data phase for spi test
3225 commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
3226 Author: Keith Packard <keithp@keithp.com>
3227 Date: Tue Mar 24 16:35:13 2009 -0700
3229 MISO needs to be an input
3231 commit f0c233f25a208a636833312b1766825815735304
3232 Author: Keith Packard <keithp@keithp.com>
3233 Date: Tue Mar 24 15:41:55 2009 -0700
3235 Add bit-banging spi eeprom test program
3237 commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
3238 Author: Bdale Garbee <bdale@gag.com>
3239 Date: Wed Mar 18 02:58:33 2009 -0600
3241 working beep at around 4khz
3243 commit 4726317de811c20e8d6754762437b5c9cbb3a48c
3244 Author: Keith Packard <keithp@keithp.com>
3245 Date: Wed Mar 18 01:54:34 2009 -0700
3247 Add simple test program to light up the transmitter at 434.550MHz
3249 This starts a transmit sequence, but doesn't send any data so the
3250 transmitter just locks on.
3252 commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
3253 Author: Keith Packard <keithp@keithp.com>
3254 Date: Sun Mar 15 18:14:21 2009 -0700
3256 Correctly comment which bit the beep program uses
3258 commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
3259 Author: Keith Packard <keithp@keithp.com>
3260 Date: Sun Mar 15 18:11:53 2009 -0700
3262 Add telemetrum beeper example
3264 commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
3265 Author: Keith Packard <keithp@keithp.com>
3266 Date: Sun Mar 15 18:11:20 2009 -0700
3268 sdcc gets the lib path correct based on the model
3270 commit 04a316133af93b79bfbebb91f05eec1015ec2abc
3271 Author: Keith Packard <keithp@keithp.com>
3272 Date: Sun Mar 15 18:10:43 2009 -0700
3274 Bump debug speed back up
3276 commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
3277 Author: Keith Packard <keithp@keithp.com>
3278 Date: Sat Mar 7 21:05:40 2009 -0800
3280 Only flip changing bits in async mode
3282 commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
3283 Author: Keith Packard <keithp@keithp.com>
3284 Date: Sat Mar 7 21:05:06 2009 -0800
3286 The debug port only works if reset is higher than clock. weird
3288 commit ade11f88754b4ab0386ebf86afc5257e59238f62
3289 Author: Keith Packard <keithp@keithp.com>
3290 Date: Sat Mar 7 21:04:38 2009 -0800
3292 Make manual bit flipping sync after every transaction
3294 commit e63b5271bb54afc36e4b9891e51e053ff6011092
3295 Author: Keith Packard <keithp@keithp.com>
3296 Date: Sat Mar 7 14:49:22 2009 -0800
3300 commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
3301 Author: Keith Packard <keithp@keithp.com>
3302 Date: Sat Mar 7 14:48:49 2009 -0800
3304 Sync after manual bit reading
3306 commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
3307 Author: Keith Packard <keithp@keithp.com>
3308 Date: Sat Mar 7 14:48:35 2009 -0800
3310 Flip debug pins around to match telemetrum
3312 commit cc0495b7028f4b1189a00707d828a68534d1dea2
3313 Author: Keith Packard <keithp@keithp.com>
3314 Date: Fri Mar 6 22:52:35 2009 -0800
3316 Wait for a while when switching the RESET_N line
3318 The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
3319 RESET_N line to filter out noise. This increases the time necessary to reset
3320 the chip to several microseconds which is longer than the interval between
3321 two USB packets. Flush the USB packet queue and sleep for a while after
3322 changing the value on the RESET_N line to make sure the chip sees the state
3325 Signed-off-by: Keith Packard <keithp@keithp.com>
3327 commit 41289e6d8f1767547a33fea349866e928e44910f
3328 Author: Bdale Garbee <bdale@gag.com>
3329 Date: Mon Mar 2 07:46:20 2009 -0700
3331 minor s51.1 formatting fixes
3333 Signed-off-by: Keith Packard <keithp@keithp.com>
3335 commit fdee231ed097a4348aee78fbd4aa92826b80de03
3336 Author: Keith Packard <keithp@keithp.com>
3337 Date: Sun Mar 1 23:12:31 2009 -0800
3341 This documents (briefly) the s51 hex debugging interface program, including
3342 some simple commands to test the operation of the system interactively.
3344 Signed-off-by: Keith Packard <keithp@keithp.com>
3346 commit f7d91bd23b8214e09deae0aafb516331e934c49b
3347 Author: Keith Packard <keithp@keithp.com>
3348 Date: Sun Mar 1 18:43:03 2009 -0800
3350 Sometimes the link breaks and the GET_PC command returns garbage
3352 commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
3353 Author: Keith Packard <keithp@keithp.com>
3354 Date: Sun Jan 25 08:38:48 2009 -0800
3356 Support 'set' command
3358 The 'set' command modifies target memory and registers
3360 Signed-off-by: Keith Packard <keithp@keithp.com>
3362 commit 60940b4be23962db79b8e914ec943d0636dd68ad
3363 Author: Keith Packard <keithp@keithp.com>
3364 Date: Mon Jan 5 21:45:21 2009 -0800
3366 Expose ccdbg_set_clock API
3368 This allows applications to change the debug port clock
3371 Signed-off-by: Keith Packard <keithp@keithp.com>
3373 commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
3374 Author: Keith Packard <keithp@keithp.com>
3375 Date: Mon Jan 5 21:44:44 2009 -0800
3377 Use custom sdcc libraries (this needs to be configured...)
3379 Signed-off-by: Keith Packard <keithp@keithp.com>
3381 commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
3382 Author: Keith Packard <keithp@keithp.com>
3383 Date: Mon Jan 5 21:43:44 2009 -0800
3385 Have S51 ignore SIGINT while running under sdcdb.
3387 This prevents keyboard interrupts from accidentally stopping
3390 Signed-off-by: Keith Packard <keithp@keithp.com>
3392 commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
3393 Author: Keith Packard <keithp@keithp.com>
3394 Date: Tue Dec 30 22:40:13 2008 -0800
3396 Add simple and timer sample programs
3398 Signed-off-by: Keith Packard <keithp@keithp.com>
3400 commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
3401 Author: Keith Packard <keithp@keithp.com>
3402 Date: Tue Dec 30 22:35:53 2008 -0800
3404 Save/restore registers to host during memory operations. Cache ROM data.
3406 Because the debug port uses instructions for most operations, the debug code
3407 will clobber registers used by the running program. Save and restore these
3408 to avoid corrupting application data.
3410 If the ROM file is known, use that to return data instead of fetching it
3411 from the target to improve performance.
3413 Signed-off-by: Keith Packard <keithp@keithp.com>
3415 commit ea366058aa467a8a7caf17e7014758f3741ea7f7
3416 Author: Keith Packard <keithp@keithp.com>
3417 Date: Mon Dec 29 12:35:11 2008 -0800
3419 Fix flashing less than a full page of data. Verify page at a time.
3421 The 8051 flashing code requires special help with counts with non-zero low
3422 byte. Also, instead of verifying the entire flash contents at the end,
3423 verify each page as it goes.
3425 Signed-off-by: Keith Packard <keithp@keithp.com>
3427 commit e0697186a2f9b6139636ff5d5c162879c85caf9c
3428 Author: Keith Packard <keithp@keithp.com>
3429 Date: Sun Dec 28 00:11:13 2008 -0800
3431 Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
3433 Not all SFRs are visible in the unified address space, so the SFR-specific
3434 accessors are required.
3436 The dump command is the same as the various 'd*'
3437 commands, but also supports dumping program memory.
3439 The new -m (monitor) flag watches the command stream between s51 and sdcdb.
3441 Signed-off-by: Keith Packard <keithp@keithp.com>
3443 commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
3444 Author: Keith Packard <keithp@keithp.com>
3445 Date: Sun Dec 28 00:09:30 2008 -0800
3447 Save/restore regs when reading/writing memory. Add SFR access.
3449 The DPL and ACC registers are used by the memory access code,
3450 so they need to be saved and restored. Stuff them up high in ram for now;
3451 this should probably be fixed to pull them back to the host instead.
3453 Special SFR access is required as not all SFRs are visible in the unified
3456 Signed-off-by: Keith Packard <keithp@keithp.com>
3458 commit 1405838160b69e2cda456e21502a1d03b3aa7548
3459 Author: Keith Packard <keithp@keithp.com>
3460 Date: Sat Dec 27 11:25:58 2008 -0800
3462 s51: get start address from ihx file. re-enable breakpoints after reset.
3464 Use the start of the ihx file when asked to run from 0x0, this lets
3465 sdcdb run programs from ram.
3467 The reset command clears all hw breakpoints, so reset them afterwards.
3469 Signed-off-by: Keith Packard <keithp@keithp.com>
3471 commit 1264c3676e95427bba5d01e05c303d036a7f9eca
3472 Author: Keith Packard <keithp@keithp.com>
3473 Date: Fri Dec 26 23:05:04 2008 -0800
3475 Switch to libusb-1.0 and use async interface.
3477 The async libusb interface offers substantial performance benefits by not
3478 making each command wait for the reply. This makes talking over this
3479 interface almost reasonable.
3481 Signed-off-by: Keith Packard <keithp@keithp.com>
3483 commit d2d9cfd74fd66836c913c02276e09136d83b35dc
3484 Author: Keith Packard <keithp@keithp.com>
3485 Date: Fri Dec 26 17:58:48 2008 -0800
3487 s51: add breakpoints and the ability to block awaiting a breakpoint.
3489 Signed-off-by: Keith Packard <keithp@keithp.com>
3491 commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
3492 Author: Keith Packard <keithp@keithp.com>
3493 Date: Mon Dec 22 19:11:56 2008 -0800
3495 Add more commands to s51 assembly-language debugger
3497 Signed-off-by: Keith Packard <keithp@keithp.com>
3499 commit 55eba4fa08b022197106245d36a70f575a070b0a
3500 Author: Keith Packard <keithp@keithp.com>
3501 Date: Mon Dec 22 19:10:27 2008 -0800
3503 Make read_memory debug output use ccdbg_debug.
3505 This makes it default to not being presented, which makes s51 much happier
3507 Signed-off-by: Keith Packard <keithp@keithp.com>
3509 commit e75918f3667a5c8ad294bec4acef6fe81682edf6
3510 Author: Keith Packard <keithp@keithp.com>
3511 Date: Sun Dec 21 23:33:35 2008 -0800
3513 Add preliminary version of s51, a UI clone of the 8051 emulator.
3515 sdcdb provides source-level debugging using the 8051 emulator, s51. By
3516 emulating that emulator a the UI level, we should be able to get source
3517 debugging right on our target platform.
3519 This is just the preliminary structure for the program with most commands
3520 not yet implemented.
3522 commit f7d49868aeae80d515b12a7e339628f1296754a6
3523 Author: Keith Packard <keithp@keithp.com>
3524 Date: Sat Dec 20 23:30:06 2008 -0800
3526 Cleanup work; separating out the cp interface to be more abstract.
3528 Signed-off-by: Keith Packard <keithp@keithp.com>
3530 commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
3531 Author: Keith Packard <keithp@keithp.com>
3532 Date: Fri Dec 19 21:13:04 2008 -0800
3534 Clean up autotools stuff.
3536 Signed-off-by: Keith Packard <keithp@keithp.com>
3538 commit 9025eb792861930e6af918d2727c4f5d97a69936
3539 Author: Keith Packard <keithp@keithp.com>
3540 Date: Fri Dec 19 21:11:45 2008 -0800
3544 Signed-off-by: Keith Packard <keithp@keithp.com>
3546 commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
3547 Author: Keith Packard <keithp@keithp.com>
3548 Date: Fri Dec 19 19:08:13 2008 -0800
3552 commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
3553 Author: Keith Packard <keithp@keithp.com>
3554 Date: Fri Dec 19 19:07:37 2008 -0800
3556 Move blink example to subdir
3558 Signed-off-by: Keith Packard <keithp@keithp.com>
3560 commit 82e2d7ebed6682062dc400478c736bd6c91195c9
3561 Author: Keith Packard <keithp@keithp.com>
3562 Date: Fri Dec 19 19:04:26 2008 -0800
3564 Clean up makefiles, move ihx files to .ihx
3566 commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
3567 Author: Keith Packard <keithp@keithp.com>
3568 Date: Fri Dec 19 14:39:57 2008 -0800
3572 commit 4ecfc33f16aa36b315519e6f279da65374b67aba
3573 Author: Keith Packard <keithp@keithp.com>
3574 Date: Fri Dec 19 14:37:53 2008 -0800
3576 Add cc1111 isr stub example
3578 commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
3579 Author: Keith Packard <keithp@keithp.com>
3580 Date: Fri Dec 19 14:37:29 2008 -0800
3582 Add blink-tiny flash and ram versions
3584 commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
3585 Author: Keith Packard <keithp@keithp.com>
3586 Date: Fri Dec 19 14:19:29 2008 -0800
3588 Flash multiple pages. Eliminate off-by-one error in hex_image length.
3590 Signed-off-by: Keith Packard <keithp@keithp.com>
3592 commit 55995515b9d4fc1e193039eab697c5d03db417c2
3593 Author: Keith Packard <keithp@keithp.com>
3594 Date: Fri Dec 19 11:04:16 2008 -0800
3596 Add flash writing code.
3598 Signed-off-by: Keith Packard <keithp@keithp.com>
3600 commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
3601 Author: Keith Packard <keithp@keithp.com>
3602 Date: Thu Dec 18 12:37:32 2008 -0800
3606 Signed-off-by: Keith Packard <keithp@keithp.com>
3608 commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
3609 Author: Keith Packard <keithp@keithp.com>
3610 Date: Thu Dec 18 12:17:41 2008 -0800
3614 Signed-off-by: Keith Packard <keithp@keithp.com>
3616 commit dc03adc179669d41e3551d74b3c5a60db41ff217
3617 Author: Keith Packard <keithp@keithp.com>
3618 Date: Thu Dec 18 12:07:06 2008 -0800
3620 Add ability to load Intel HEX files. Add sample sdcc LED blinker.
3622 Signed-off-by: Keith Packard <keithp@keithp.com>
3624 commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
3625 Author: Keith Packard <keithp@keithp.com>
3626 Date: Thu Dec 18 00:18:50 2008 -0800
3628 Add ability to read/write arbitrary memory. Write LED blinker program.
3630 Signed-off-by: Keith Packard <keithp@keithp.com>
3632 commit 8c879bf51c14a5928135d59211facd72f6a32808
3633 Author: Keith Packard <keithp@keithp.com>
3634 Date: Wed Dec 17 23:15:47 2008 -0800
3636 Move manual bit-banging debug code to separate file
3638 Signed-off-by: Keith Packard <keithp@keithp.com>
3640 commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
3641 Author: Keith Packard <keithp@keithp.com>
3642 Date: Wed Dec 17 23:15:19 2008 -0800
3644 reduce clock to 50us
3646 Signed-off-by: Keith Packard <keithp@keithp.com>
3648 commit fa168f963f8b00144d12aa2770e9c0917cfae123
3649 Author: Keith Packard <keithp@keithp.com>
3650 Date: Wed Dec 17 23:12:59 2008 -0800
3652 Fill out ccdbg-command to support all debug commands.
3654 Signed-off-by: Keith Packard <keithp@keithp.com>
3656 commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
3657 Author: Keith Packard <keithp@keithp.com>
3658 Date: Wed Dec 17 22:24:59 2008 -0800
3660 Clean up bitbanging layer. Add debug printfs.
3662 Signed-off-by: Keith Packard <keithp@keithp.com>
3664 commit 584e28bac8af38de433767e017977ed1adddeb36
3665 Author: Keith Packard <keithp@keithp.com>
3666 Date: Wed Dec 17 12:32:15 2008 -0800
3668 Clean up sample debug files
3670 Signed-off-by: Keith Packard <keithp@keithp.com>
3672 commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
3673 Author: Keith Packard <keithp@keithp.com>
3674 Date: Mon Dec 8 17:25:28 2008 -0800
3676 Add support for input-only lines (-)
3678 commit 4f38974a9941cddaba27c17c5a46f923db386c94
3679 Author: Keith Packard <keithp@keithp.com>
3680 Date: Sat Dec 6 16:32:27 2008 -0800
3684 commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
3685 Author: Keith Packard <keithp@keithp.com>
3686 Date: Sat Dec 6 16:32:12 2008 -0800
3688 Add libusb support and lots more examples
3690 commit 39801e6e9fb9388072ee414a447f74095a6ac960
3691 Author: Keith Packard <keithp@keithp.com>
3692 Date: Fri Nov 28 22:57:07 2008 -0800
3696 commit 01cb2799875e086ee6096627c058ee235bbc33d5
3697 Author: Keith Packard <keithp@keithp.com>
3698 Date: Thu Nov 27 17:07:15 2008 -0800
3700 Add prototypes, add stub mainline, add .gitignore
3702 commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
3703 Author: Keith Packard <keithp@keithp.com>
3704 Date: Thu Nov 27 12:33:40 2008 -0800
3706 cc1111 debug port access through cp2103 serial chip