1 commit 42ab6d52540d0326ef89e9d57954b08248558468
2 Author: Bdale Garbee <bdale@gag.com>
3 Date: Wed Aug 19 02:21:06 2009 -0600
5 fix location for delivery of sources.list fragment
7 commit 977f5dc0bc7c666dcc1f21db77416efca0d696aa
8 Author: Bdale Garbee <bdale@gag.com>
9 Date: Wed Aug 19 02:11:11 2009 -0600
11 update changelogs for Debian build
13 commit 8d4d6655f1b4c2fbc522fd255bfb75406e5ddaef
14 Author: Bdale Garbee <bdale@gag.com>
15 Date: Wed Aug 19 02:11:00 2009 -0600
17 oops, aoview is now ao-view!
19 commit b9a97aea65f871fd287bc0bb566d8664766f4afd
20 Author: Bdale Garbee <bdale@gag.com>
21 Date: Wed Aug 19 02:07:16 2009 -0600
23 update changelogs for Debian build
25 commit 21e3dd0affac89919e5d0e29c6e9eb1eacb51801
26 Author: Bdale Garbee <bdale@gag.com>
27 Date: Wed Aug 19 02:06:49 2009 -0600
29 enable support for Debian menus
31 commit 0087c1776e0253fc2bd3b86f15bf9d1b32bdc45a
32 Author: Bdale Garbee <bdale@gag.com>
33 Date: Wed Aug 19 00:52:57 2009 -0600
35 update changelogs for Debian build
37 commit 4486d9156e19e4280b42bcd422d81d04f2d04a92
38 Merge: dd09f0b 33edd62
39 Author: Bdale Garbee <bdale@gag.com>
40 Date: Wed Aug 19 00:49:24 2009 -0600
42 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
44 commit 33edd62992a32b0ec8ca66d879fa300871db5937
45 Author: Keith Packard <keithp@keithp.com>
46 Date: Tue Aug 18 23:38:16 2009 -0700
48 Update ao-view to add GPS satellite tracking data
50 This adds another column to the display to hold per-satellite GPS
51 tracking data and a count of the visible and locked sats.
53 Signed-off-by: Keith Packard <keithp@keithp.com>
55 commit 29687cbd462a332d9a36ed87500c5b737dcae3f4
56 Author: Keith Packard <keithp@keithp.com>
57 Date: Tue Aug 18 22:35:15 2009 -0700
59 Handle GPS satellite tracking data
61 SiRF message #4 includes signal strength and GPS engine state for each
62 of the satellites being tracked. This data is now parsed and sent to
65 Signed-off-by: Keith Packard <keithp@keithp.com>
67 commit dd09f0bc2b950c00f3b489878cd69ad8a003f46c
68 Author: Bdale Garbee <bdale@gag.com>
69 Date: Tue Aug 18 21:57:01 2009 -0600
71 update changelogs for Debian build
73 commit cd5ce661e2a8f9694933358ccb5b916fbed089c2
74 Author: Bdale Garbee <bdale@gag.com>
75 Date: Tue Aug 18 21:49:39 2009 -0600
77 add support for building Debian package
79 commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
80 Merge: b3b2d3c 7d4ceb7
81 Author: Bdale Garbee <bdale@gag.com>
82 Date: Tue Aug 18 18:56:09 2009 -0600
84 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
86 commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
87 Author: Keith Packard <keithp@keithp.com>
88 Date: Tue Aug 18 17:55:22 2009 -0700
90 Add ao-ejection.1 man page
92 Document the input requirements and output format
94 Signed-off-by: Keith Packard <keithp@keithp.com>
96 commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
97 Merge: 4685fc5 da12b89
98 Author: Bdale Garbee <bdale@gag.com>
99 Date: Tue Aug 18 18:36:03 2009 -0600
101 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
103 commit da12b89fb056a68e65ba363fef91d266727cb685
104 Author: Keith Packard <keithp@keithp.com>
105 Date: Tue Aug 18 17:30:43 2009 -0700
107 Create ChangeLog from git log
109 commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
110 Author: Keith Packard <keithp@keithp.com>
111 Date: Tue Aug 18 17:29:29 2009 -0700
113 Fix ao-bitbang examples to not have . in the first column
115 commit 4685fc541466afbeefc151bcb64cd054739c048b
116 Merge: 1c2a0b6 c29275b
117 Author: Bdale Garbee <bdale@gag.com>
118 Date: Tue Aug 18 18:09:38 2009 -0600
120 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
123 ao-tools/ao-bitbang/Makefile.am
124 ao-tools/ao-eeprom/Makefile.am
125 ao-tools/ao-load/Makefile.am
126 ao-tools/ao-load/ao-load.c
127 ao-tools/ao-rawload/Makefile.am
129 commit c29275b72438637d46d7a50742882d2736eb176a
130 Author: Keith Packard <keithp@keithp.com>
131 Date: Tue Aug 18 15:21:57 2009 -0700
133 Add manual pages for remaining commands.
135 Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
138 Manual for ao-dbg updated to reflect program name change.
140 Signed-off-by: Keith Packard <keithp@keithp.com>
142 commit 9b03d620722dc54630539afba40720c30de69b2d
143 Author: Keith Packard <keithp@keithp.com>
144 Date: Tue Aug 18 12:19:31 2009 -0700
146 Use --tty/-T on command line to specify target device
148 Also, use the ALTOS_TTY environment variable in all tools. Note that
149 the magic value of "BITBANG" switches the library to connecting
150 through a CP2103 instead.
152 Signed-off-by: Keith Packard <keithp@keithp.com>
154 commit 7c790fe859dff062692964338091ffbbcdf63257
155 Author: Keith Packard <keithp@keithp.com>
156 Date: Tue Aug 18 12:40:24 2009 -0700
158 Rename tools to ao-<foo>
160 Use a consistent prefix to make it easier to remember which programs
161 belong to this package
163 Signed-off-by: Keith Packard <keithp@keithp.com>
165 commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
166 Author: Keith Packard <keithp@keithp.com>
167 Date: Tue Aug 18 13:36:54 2009 -0700
169 re-add debugger sources
171 commit 9a9cce5510b87252f863239ac807b9fb4395b288
172 Author: Keith Packard <keithp@keithp.com>
173 Date: Tue Aug 18 12:19:31 2009 -0700
175 Start working on using getopt for the tty name
177 commit 9789ca5e8caa9a013e804f307b9da380e147bd75
178 Author: Keith Packard <keithp@keithp.com>
179 Date: Tue Aug 18 12:40:24 2009 -0700
181 Rename tools to ao-<foo>
183 Use a consistent prefix to make it easier to remember which programs
184 belong to this package
186 Signed-off-by: Keith Packard <keithp@keithp.com>
188 commit a5782398d968e7cb11f7203afada7c216f233b3b
189 Author: Keith Packard <keithp@keithp.com>
190 Date: Tue Aug 18 11:34:28 2009 -0700
192 Remove unused cctools code paths for old libusb and cp2103 ioctls.
194 Communication with the CP2103 board has gone through three revisions,
195 first using ioctls supported by the CP2103 kernel driver, then using
196 the old synchronous usb library and now using the newer libusb
197 asynchronous interface. There's no reason to keep shipping the old
198 stale code now that the new stuff works reliably.
200 Signed-off-by: Keith Packard <keithp@keithp.com>
202 commit 7cba411de0780c65e3490ab67186a514f0ea42ec
203 Author: Keith Packard <keithp@keithp.com>
204 Date: Mon Aug 17 20:47:31 2009 -0700
206 test for sdcc, nickle and readline
208 Signed-off-by: Keith Packard <keithp@keithp.com>
210 commit f48dcffae761700355a17b59345d55a60703f0c4
211 Author: Keith Packard <keithp@keithp.com>
212 Date: Sun Aug 9 20:43:10 2009 -0700
214 Sync USB data after each memory write command
216 This makes sure we flush the USB link often enough for the other end to keep
219 Signed-off-by: Keith Packard <keithp@keithp.com>
221 commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
222 Author: Keith Packard <keithp@keithp.com>
223 Date: Sun Aug 9 16:08:07 2009 -0700
225 Handle partial ALSA PCM writes
227 The ALSA spec says that snd_pcm_writei will not return a partial write, but
228 at least on the OLPC, that's not true. Deal with this.
230 Signed-off-by: Keith Packard <keithp@keithp.com>
232 commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
233 Author: Keith Packard <keithp@keithp.com>
234 Date: Sun Aug 9 15:55:19 2009 -0700
236 Check more alsa return statuses
238 commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
239 Author: Keith Packard <keithp@keithp.com>
240 Date: Sat Jul 18 01:47:34 2009 -0700
242 Don't report distance to rocket without valid GPS
244 When there's no valid GPS data, don't try to report the distance and bearing
245 to the rocket after landing.
247 Signed-off-by: Keith Packard <keithp@keithp.com>
249 commit fbcb7b20fa701a6e534d38e307839466545668e3
250 Author: Keith Packard <keithp@keithp.com>
251 Date: Sat Jul 18 01:05:33 2009 -0700
253 Add B command to set serial baud rate
255 Signed-off-by: Keith Packard <keithp@keithp.com>
257 commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
258 Author: Keith Packard <keithp@keithp.com>
259 Date: Sat Jul 18 01:05:13 2009 -0700
261 Get rid of spaces after minus sign in climb value
263 commit 28be20cf914fb34dc3c776519708d0f02091764e
264 Author: Keith Packard <keithp@keithp.com>
265 Date: Sat Jul 18 01:04:39 2009 -0700
267 Switch to 57600 baud for GPS data
269 commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
270 Author: Keith Packard <keithp@keithp.com>
271 Date: Sat Jul 18 01:04:17 2009 -0700
273 Drain serial port before changing speed
275 Signed-off-by: Keith Packard <keithp@keithp.com>
277 commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
278 Author: Keith Packard <keithp@keithp.com>
279 Date: Sat Jul 18 00:44:42 2009 -0700
281 Display last known GPS coord while unlocked
283 Signed-off-by: Keith Packard <keithp@keithp.com>
285 commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
286 Author: Keith Packard <keithp@keithp.com>
287 Date: Sat Jul 18 00:44:01 2009 -0700
289 use g_source_destroy instead of free on serial object
291 commit 1e5e98bd8f5ea0bc15592de454e3629383462371
292 Author: Keith Packard <keithp@keithp.com>
293 Date: Sat Jul 18 00:43:22 2009 -0700
295 Trim aoview_serial_set_callback args down to just port and callback
297 commit 08f37056deec25d77062bc411a04033401b033a5
298 Author: Keith Packard <keithp@keithp.com>
299 Date: Fri Jul 17 22:11:03 2009 -0700
301 Reset GPS at boot time
303 commit 1150aa850f5a025b849556e32c4dddb27937d9af
304 Author: Keith Packard <keithp@keithp.com>
305 Date: Fri Jul 17 22:10:43 2009 -0700
307 Fix up serial debug output
309 commit 2a7956a64935246475f92d44c08369e0230b676a
310 Author: Keith Packard <keithp@keithp.com>
311 Date: Fri Jul 17 21:34:13 2009 -0700
313 Allow the GPS port to run at 4800 baud if desired
315 commit 8d650769c319261c97f5e68eff9138207b95c0f8
316 Author: Keith Packard <keithp@keithp.com>
317 Date: Fri Jul 17 21:33:53 2009 -0700
319 Initialize the GPS serial protocol state
321 Signed-off-by: Keith Packard <keithp@keithp.com>
323 commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
324 Author: Keith Packard <keithp@keithp.com>
325 Date: Fri Jul 17 21:33:18 2009 -0700
327 Use uint8_t for comparisons to avoid int conversions
329 Signed-off-by: Keith Packard <keithp@keithp.com>
331 commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
332 Author: Keith Packard <keithp@keithp.com>
333 Date: Fri Jul 17 21:30:53 2009 -0700
335 Add AO_GPS_RUNNING state.
337 This tracks whether the GPS receiver has ever sent a valid report to the
338 flight computer, allowing the user to tell whether the GPS receiver is
341 Signed-off-by: Keith Packard <keithp@keithp.com>
343 commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
344 Author: Keith Packard <keithp@keithp.com>
345 Date: Fri Jul 17 21:25:35 2009 -0700
347 Add M command to monitor serial bytes
349 commit ddfa2308c0be4c002f982ae9da6032ee7854117d
350 Author: Keith Packard <keithp@keithp.com>
351 Date: Fri Jul 17 21:24:45 2009 -0700
353 Support the not-connected GPS state
355 commit 34f148500df427c148188c0ada20bf914a7c74ba
356 Author: Keith Packard <keithp@keithp.com>
357 Date: Fri Jul 17 19:23:10 2009 -0700
359 Use 57600 baud for GPS. Clean up gps init.
361 Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
362 to get from 4800 NMEA to 5760 SiRF.
364 Also, eliminate threads from the gps test program.
366 Signed-off-by: Keith Packard <keithp@keithp.com>
368 commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
369 Author: Keith Packard <keithp@keithp.com>
370 Date: Fri Jul 17 17:09:20 2009 -0700
372 Try harder to get the GPS receiver serial link sync'd up.
374 We cannot assume that the GPS receiver is in any particular state when it
375 boots, so we try to send the serial configuration at several rates and hope
376 that it eventually sees something that it likes.
378 Signed-off-by: Keith Packard <keithp@keithp.com>
380 commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
381 Author: Keith Packard <keithp@keithp.com>
382 Date: Fri Jul 17 17:06:18 2009 -0700
384 Rolling average for pad location. Say 'GPS ready'.
386 Use a rolling average for the pad location, instead of just averaging all
387 positions. This filters out old (presumably less accurate) values eventually.
389 When enough GPS samples have been acquired, say 'GPS ready'.
391 Signed-off-by: Keith Packard <keithp@keithp.com>
393 commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
394 Author: Keith Packard <keithp@keithp.com>
395 Date: Fri Jul 17 16:22:51 2009 -0700
397 Split GPS data into a separate column
399 Signed-off-by: Keith Packard <keithp@keithp.com>
401 commit 5f0179652e8bb85add9067e5253e981c60f2c51e
402 Author: Keith Packard <keithp@keithp.com>
403 Date: Fri Jul 17 16:03:35 2009 -0700
405 Fix up SiRF parsing and test code so that it actually works
407 Signed-off-by: Keith Packard <keithp@keithp.com>
409 commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
410 Author: Keith Packard <keithp@keithp.com>
411 Date: Fri Jul 17 13:58:14 2009 -0700
413 Add host-side gps protocol testing program
415 commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
416 Author: Keith Packard <keithp@keithp.com>
417 Date: Sat Jul 11 00:56:13 2009 -0700
419 Hook aoview directly to alsa
421 This skips the flite internal audio stuff which opened and closed the audio
422 device for each phrase. This caused the first part of some phrases to be
423 missed when using an external audio device.
425 Signed-off-by: Keith Packard <keithp@keithp.com>
427 commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
428 Author: Keith Packard <keithp@keithp.com>
429 Date: Thu Jul 9 20:55:10 2009 -0700
431 Show speed. Format numbers. Timeout and report final status.
433 The speed value is now shown in the top label bar. Ascent shows
434 accelerometer-derived data, otherwise it's baro derived.
436 All of the numbers displayed are now given sensible printf formats so they
437 don't contain way too many digits.
439 Instead of doing periodic reporting based on flight tick count, data is
440 reported every 10 seconds based on wall time. After landing, or when no data
441 have been received for a while, final flight information is spoken.
443 Signed-off-by: Keith Packard <keithp@keithp.com>
445 commit 19630ef084866f4230e68ccf11284b30c68128b1
446 Author: Keith Packard <keithp@keithp.com>
447 Date: Sun Jul 5 08:35:28 2009 -0700
449 Dont smash aoview_monitor_parse input buffer
451 commit e506ed4b6efb86eab50204658fcd433b987e3831
452 Author: Keith Packard <keithp@keithp.com>
453 Date: Tue Jun 30 15:25:52 2009 -0700
455 Integrate flite into aoview directly. Fix great circle computation.
457 Use a separate thread for flite rather than a separate program.
458 Save voice state to gconf.
459 Add filters for replay file selection
461 Signed-off-by: Keith Packard <keithp@keithp.com>
463 commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
464 Author: Keith Packard <keithp@keithp.com>
465 Date: Tue Jun 30 15:24:53 2009 -0700
469 commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
470 Author: Keith Packard <keithp@keithp.com>
471 Date: Tue Jun 30 15:24:31 2009 -0700
475 commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
476 Author: Keith Packard <keithp@keithp.com>
477 Date: Tue Jun 30 11:58:30 2009 -0700
479 Add telem replay and larger labels
481 Replays telemetry files in real time
482 Shows height/state/rssi in big values at the top.
484 Signed-off-by: Keith Packard <keithp@keithp.com>
486 commit 566dde161385263700eaae51095eecfa9b5972ee
487 Author: Keith Packard <keithp@keithp.com>
488 Date: Mon Jun 29 23:06:47 2009 -0700
490 Update aoview/.gitignore
492 Signed-off-by: Keith Packard <keithp@keithp.com>
494 commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
495 Author: Keith Packard <keithp@keithp.com>
496 Date: Mon Jun 29 23:05:27 2009 -0700
498 Use flite to announce flight state
500 This uses the flite voice synthesis library from festival to announce
501 altitude and speed information during the rocket flight.
503 Signed-off-by: Keith Packard <keithp@keithp.com>
505 commit 527d7c803ed9597b210634018cb2eb9d048d9846
506 Author: Keith Packard <keithp@keithp.com>
507 Date: Mon Jun 29 23:03:58 2009 -0700
509 Add GPS speed and error data to telemetry and aoview
511 Having switched to the SiRF binary GPS format, the velocity and error data
512 can now be displayed.
514 Signed-off-by: Keith Packard <keithp@keithp.com>
516 commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
517 Author: Keith Packard <keithp@keithp.com>
518 Date: Mon Jun 29 13:54:00 2009 -0700
520 Convert GPS to SiRF binary protocol.
522 This switches the GPS unit from NMEA to SiRF protocol at startup and then
523 parses the binary data. The binary data uses a different encoding of lat/lon
524 than the NMEA strings, and so the telemetry and eeprom data formats change
527 Signed-off-by: Keith Packard <keithp@keithp.com>
529 commit 49bf37767d2453869f2ca2c0832d1124322c66e0
530 Author: Keith Packard <keithp@keithp.com>
531 Date: Wed Jun 17 23:22:25 2009 -0700
533 Add ejection computation utility
535 Signed-off-by: Keith Packard <keithp@keithp.com>
537 commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
538 Author: Keith Packard <keithp@keithp.com>
539 Date: Wed Jun 17 13:55:23 2009 -0700
541 Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
543 None of our boards have a 32kHz xtal oscillator, instead we use those pins
544 (on Telemetrum) for the deployment firing circuits. The old clock
545 initialization code was switching from the 32kHz RC oscillator to the 32kHz
546 crystal and overriding our use of those pins.
548 Signed-off-by: Keith Packard <keithp@keithp.com>
550 commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
551 Author: Keith Packard <keithp@keithp.com>
552 Date: Sun Jun 14 17:25:34 2009 -0700
554 Some kernels reference USB ttys as tty/tty* instead of tty:tty*
556 Signed-off-by: Keith Packard <keithp@keithp.com>
558 commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
559 Author: Keith Packard <keithp@keithp.com>
560 Date: Sun Jun 14 16:45:19 2009 -0700
562 Rename state apogee -> coast
564 commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
565 Author: Keith Packard <keithp@keithp.com>
566 Date: Sun Jun 14 16:39:28 2009 -0700
568 rename states. launchpad -> pad, coast -> fast
570 commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
571 Author: Keith Packard <keithp@keithp.com>
572 Date: Sun Jun 14 16:36:29 2009 -0700
574 Disable monitor mode when communicating via usb
576 commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
577 Author: Keith Packard <keithp@keithp.com>
578 Date: Thu Jun 4 14:38:45 2009 -0700
580 Format GPS seconds as %02d.%04d to avoid spaces in the value
582 The aoview GPS parsing code doesn't deal well with spaces in the middle of
583 the value, so pad the seconds field with a zero as needed.
585 Signed-off-by: Keith Packard <keithp@keithp.com>
587 commit a0e6bfee635b64092262936c858542318f6fc6dc
588 Author: Bdale Garbee <bdale@gag.com>
589 Date: Thu Jun 4 13:11:48 2009 -0600
591 newer INSTALL file pulled in by autogen.sh
593 commit cf1e258d52b878df10b51a047709b10ecd51a68e
594 Author: Bdale Garbee <bdale@gag.com>
595 Date: Thu Jun 4 13:09:29 2009 -0600
597 add a distclean target to src/Makefile
599 commit 176052b7c14fcad067835ecb550778faf67cf4da
600 Author: Bdale Garbee <bdale@gag.com>
601 Date: Thu Jun 4 13:07:10 2009 -0600
603 add lib to the front of the subdir list
605 commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
606 Author: Keith Packard <keithp@keithp.com>
607 Date: Thu Jun 4 11:20:10 2009 -0700
609 Move build and debug tools to 'cctools' directory.
611 These tools were merged in from the ccdbg package.
613 Signed-off-by: Keith Packard <keithp@keithp.com>
615 commit 17d2432a8b9c15963cd3b821f025ad33972ef477
616 Merge: 210dbaa 8a9a3f0
617 Author: Keith Packard <keithp@keithp.com>
618 Date: Thu Jun 4 11:13:15 2009 -0700
620 Merge ccdbg and altos sources into one giant repository
622 Keeping these separate isn't making things any easier.
624 Signed-off-by: Keith Packard <keithp@keithp.com>
626 commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
627 Author: Keith Packard <keithp@keithp.com>
628 Date: Thu Jun 4 10:41:34 2009 -0700
630 Use autotools, move altos to src subdir
632 Signed-off-by: Keith Packard <keithp@keithp.com>
634 commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
635 Author: Keith Packard <keithp@keithp.com>
636 Date: Thu Jun 4 10:25:30 2009 -0700
638 Make menu seperator insensitive
640 commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
641 Author: Keith Packard <keithp@keithp.com>
642 Date: Wed Jun 3 17:07:34 2009 -0700
644 aoview: Add eeprom data fetching
646 Fetches the last flight data from a TM device connected via USB and writes
647 it to the flight log directory.
649 Signed-off-by: Keith Packard <keithp@keithp.com>
651 commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
652 Author: Keith Packard <keithp@keithp.com>
653 Date: Wed Jun 3 10:57:46 2009 -0700
655 Stop log dumping at flight end. Print 'end' at end of log.
657 No reason to continue dumping data past the end of the flight now that the
658 logging stuff has been demonstrated to work reliably. Also, to make
659 automated log dumping easier, this prints out 'end' after the log data so
660 that aoview knows when to stop reading.
662 Signed-off-by: Keith Packard <keithp@keithp.com>
664 commit 35ac66969abe24ca23776618306a59fc17770e06
665 Author: Keith Packard <keithp@keithp.com>
666 Date: Sun May 31 09:22:01 2009 -0700
668 Start adding bi-directional packet link
670 commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
671 Author: Keith Packard <keithp@keithp.com>
672 Date: Thu May 28 23:17:33 2009 -0700
674 Eliminate RDF tone generation.
676 Now that we have a viable telemetry-signal based RDF device via TeleDongle,
677 there's no reason to continue to waste power and bandwidth with a NFM tone.
679 Signed-off-by: Keith Packard <keithp@keithp.com>
681 commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
682 Author: Keith Packard <keithp@keithp.com>
683 Date: Thu May 28 23:17:25 2009 -0700
685 Change .gitignore to match new aoload procedure
687 commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
688 Author: Keith Packard <keithp@keithp.com>
689 Date: Wed May 27 22:01:37 2009 -0700
691 Leave serial number writing to aoload
693 Instead of building per-serial hex files, leave that
694 process to the new aoload program
696 Signed-off-by: Keith Packard <keithp@keithp.com>
698 commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
699 Author: Keith Packard <keithp@keithp.com>
700 Date: Wed May 27 21:53:15 2009 -0700
702 Add aoload to load serial-numbered altos binaries.
704 aoload is a custom version of ccload which edits the data before sending it
705 to the target machine, writing the target serial number into the data.
707 Signed-off-by: Keith Packard <keithp@keithp.com>
709 commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
710 Author: Keith Packard <keithp@keithp.com>
711 Date: Sat May 23 21:20:12 2009 -0700
713 Fix aoview telemetry GPS parsing code to use correct columns
715 This code was trying to pull the GPS data from the wrong columns, causing
716 aoview to fail to display GPS information.
718 Signed-off-by: Keith Packard <keithp@keithp.com>
720 commit 26988c3e7acb2fa832810475e43e08fd2867459c
721 Author: Keith Packard <keithp@keithp.com>
722 Date: Sat May 23 21:18:57 2009 -0700
724 Parse both telemetry or log data ao_flight_test
726 Change the way data is fed from files to the flight test rig to handle
727 either kind of input file.
729 Signed-off-by: Keith Packard <keithp@keithp.com>
731 commit d6f5a0689023546464a71561f53fa2c943077c88
732 Author: Keith Packard <keithp@keithp.com>
733 Date: Sat May 23 21:16:22 2009 -0700
735 Avoid 16-bit overflow in velocity computation.
737 Adding two 16 bit integers together can wrap around to negative numbers,
738 this resulted in velocity values which never decreased, making the switch
739 from coast to apogee state not occur.
741 Signed-off-by: Keith Packard <keithp@keithp.com>
743 commit aa6d87aeb616dd62f0debaded297232022b4f8bd
744 Author: Keith Packard <keithp@keithp.com>
745 Date: Wed May 20 09:44:55 2009 -0700
747 Make file handling more general so it can be reused.
749 The log file handling stuff will be useful for saving eeprom data, so pull
750 it out of the real-time log handling code and make a general interface.
752 Signed-off-by: Keith Packard <keithp@keithp.com>
754 commit b730c8bcbce649cdddba935e1112aaae538bc526
755 Author: Keith Packard <keithp@keithp.com>
756 Date: Sun May 17 23:54:44 2009 -0700
758 Ignore aoview_glade.h
760 commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
761 Author: Keith Packard <keithp@keithp.com>
762 Date: Sun May 17 23:36:21 2009 -0700
764 Transmit computed ground pressure and acceleration values
766 These are the last two values relevant to figuring out the state of the
767 flight computer, and as they are computed by averaging 10 seconds of 100Hz
768 sample data, they're a lot more accurate than anything the receiver could do
771 Signed-off-by: Keith Packard <keithp@keithp.com>
773 commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
774 Author: Keith Packard <keithp@keithp.com>
775 Date: Sun May 17 23:18:09 2009 -0700
777 Provide install target
779 commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
780 Author: Keith Packard <keithp@keithp.com>
781 Date: Sun May 17 23:13:20 2009 -0700
783 Embed glade file in executable
785 This eliminates install issues nicely.
787 Signed-off-by: Keith Packard <keithp@keithp.com>
789 commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
790 Author: Keith Packard <keithp@keithp.com>
791 Date: Sun May 17 23:05:23 2009 -0700
793 Add About dialog to aoview.
795 Signed-off-by: Keith Packard <keithp@keithp.com>
797 commit 0f3233c49f43cd4e372e613303919ce4d50255b2
798 Author: Keith Packard <keithp@keithp.com>
799 Date: Sun May 17 22:44:19 2009 -0700
801 USB device names can contain '.' too
803 Depending on the hierarchy of devices, names can contain '.', so allow those
806 Signed-off-by: Keith Packard <keithp@keithp.com>
808 commit 33221277690e6ee30387c506c3f2b8237ed48efd
809 Author: Keith Packard <keithp@keithp.com>
810 Date: Sun May 17 22:43:34 2009 -0700
812 scandir returns -1 on error
814 In which case, the namelist is invalid, so don't look at it, and don't free
817 Signed-off-by: Keith Packard <keithp@keithp.com>
819 commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
820 Author: Keith Packard <keithp@keithp.com>
821 Date: Sun May 17 22:29:54 2009 -0700
823 Send computed accel/vel/pres values over the radio
825 These computed values reflect what the flight computer is actually refering
826 to for state changes, and will be useful in debugging the flight software as
827 well as provide a filtered view of the data.
829 Signed-off-by: Keith Packard <keithp@keithp.com>
831 commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
832 Author: Keith Packard <keithp@keithp.com>
833 Date: Sun May 17 22:29:06 2009 -0700
835 Handle disappearing serial devices
837 Put up a dialog when the serial open fails, and shut down monitoring when
838 the serial device disappears while running.
840 Signed-off-by: Keith Packard <keithp@keithp.com>
842 commit 69616104813fc5ba89fb3128d04fb9328961c59c
843 Author: Keith Packard <keithp@keithp.com>
844 Date: Sun May 17 22:24:53 2009 -0700
846 While on the pad, zero out velocity every second
848 We integrate acceleration to get velocity, but that means sitting on the pad
849 for a long time can add substantial error to the velocity value. Each
850 second, take the velocity value from a full second ago and subtract that out
851 of the current velocity. Once we detect boost, this will stop, which means
852 that as long as we detect boost within a second, we won't have subtracted
853 out any "real" velocity.
855 This keeps the pad velocity hovering around zero, which is pretty useful.
857 Signed-off-by: Keith Packard <keithp@keithp.com>
859 commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
860 Author: Keith Packard <keithp@keithp.com>
861 Date: Sun May 17 01:29:06 2009 -0700
863 Clear table, reset log on disconnect
865 commit 4316b6af86b37522038e642235c163fcaad52e96
866 Author: Keith Packard <keithp@keithp.com>
867 Date: Sun May 17 01:28:16 2009 -0700
869 Add pad lat/lon, max accel, max height
871 Signed-off-by: Keith Packard <keithp@keithp.com>
873 commit 4348281bd788a13ea700413537f12da3c00356e4
874 Author: Keith Packard <keithp@keithp.com>
875 Date: Sun May 17 00:46:09 2009 -0700
879 Signed-off-by: Keith Packard <keithp@keithp.com>
881 commit ff68e38770351ddac3285ce275cd85adab01fd3d
882 Author: Keith Packard <keithp@keithp.com>
883 Date: Sun May 17 00:45:38 2009 -0700
885 Make aoview window taller
887 Signed-off-by: Keith Packard <keithp@keithp.com>
889 commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
890 Author: Keith Packard <keithp@keithp.com>
891 Date: Sun May 17 00:13:45 2009 -0700
893 Add lots more aoview UI bits
895 Logs data to files, displays current state in window.
897 Signed-off-by: Keith Packard <keithp@keithp.com>
899 commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
900 Author: Keith Packard <keithp@keithp.com>
901 Date: Sat May 16 20:45:26 2009 -0700
903 When logging starts up, right the whole ring to the log.
905 This preserves the data pre boost-detect for later analysis.
907 Signed-off-by: Keith Packard <keithp@keithp.com>
909 commit fec4212a59a7b3321536b25707dcabc43c797c33
910 Author: Keith Packard <keithp@keithp.com>
911 Date: Sat May 16 20:04:31 2009 -0700
913 Abandon use of accelerometer for apogee detect.
915 Integrating the accelerometer data to compute velocity worked for one rocket
916 flight, but additional testing shows that it doesn't work in other
917 airframes. Until we figure out how this should work, we'll rely on the
918 altimeter to detect apogee.
920 Signed-off-by: Keith Packard <keithp@keithp.com>
922 commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
923 Author: Keith Packard <keithp@keithp.com>
924 Date: Sat May 16 02:25:04 2009 -0700
926 Add preliminary aoview code
928 AoView connects with TeleDongle to present telemetry information in a
929 reasonable form. Right now, it just displays information to stdout, but it
930 does have fancy dialogs for finding the USB devices.
932 Signed-off-by: Keith Packard <keithp@keithp.com>
934 commit 37250b00f6286aee4b3b28604f5d463db3079a89
935 Author: Keith Packard <keithp@keithp.com>
936 Date: Wed May 13 20:41:54 2009 -0700
938 Discard usb output before connection. Handle USB reset.
940 Discarding output before USB is plugged in allows threads that send output
941 and do other things to work without a USB connection. Unfortuantely, there
942 doesn't appear to be any way to detect when the USB link is disconnected,
943 which means that once USB is enabled, future writes will continue to block.
945 USB reset causes the USB interrupts to all be reconfigured back to power-on
948 Signed-off-by: Keith Packard <keithp@keithp.com>
950 commit 9b974217958b1017e62d6c4f4568f547ccc30c58
951 Author: Keith Packard <keithp@keithp.com>
952 Date: Wed May 13 20:40:42 2009 -0700
954 Enable radio monitor by default in teleterra, teledongle and tidongle
956 These ground loads want to monitor the radio constantly, and not require use
957 of the 'm' command before listening.
959 Signed-off-by: Keith Packard <keithp@keithp.com>
961 commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
962 Author: Keith Packard <keithp@keithp.com>
963 Date: Wed May 13 20:39:28 2009 -0700
965 Remove monitor/rssi functions from telemetrum load
967 Telemetrum is now a flight-only load, use teleterra or teledongle for ground
970 Signed-off-by: Keith Packard <keithp@keithp.com>
972 commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
973 Author: Keith Packard <keithp@keithp.com>
974 Date: Wed May 13 20:38:11 2009 -0700
976 Split out ao_state_names to separate file
978 Allows state names to be used in programs without monitoring enabled.
980 Signed-off-by: Keith Packard <keithp@keithp.com>
982 commit d085d43701e3cdd2119e947a9ae45baa78c80318
983 Author: Keith Packard <keithp@keithp.com>
984 Date: Wed May 13 14:29:30 2009 -0700
986 Indicate RSSI with a blinking LED
988 Blink the red LED at a rate proportional to the RSSI value.
990 Signed-off-by: Keith Packard <keithp@keithp.com>
992 commit 055331d5f7d5adc40c348c3efd331a562dcda82a
993 Author: Keith Packard <keithp@keithp.com>
994 Date: Wed May 13 11:19:13 2009 -0700
996 Make ao_flight_test show AGL altitude and positive acceleration under boost
998 This makes the output more readable
1000 Signed-off-by: Keith Packard <keithp@keithp.com>
1002 commit d91208fbf5fc7797b93087ef8619454c4bed0130
1003 Author: Keith Packard <keithp@keithp.com>
1004 Date: Wed May 13 11:18:24 2009 -0700
1006 Make ao_flight_test able to read raw logging data
1008 Protect ao_flight_test reading functions so that a simple
1009 'script' output can be fed to the program and have it work correctly.
1011 Signed-off-by: Keith Packard <keithp@keithp.com>
1013 commit d3dbd8949e1102220ad5fd0863f493c819b96e46
1014 Author: Keith Packard <keithp@keithp.com>
1015 Date: Wed May 13 11:16:53 2009 -0700
1017 Print only RSSI when packet CRC is invalid
1019 Packets with invalid CRC usually contain bogus data, so don't print that,
1020 just print out the RSSI which may contain useful data.
1022 Signed-off-by: Keith Packard <keithp@keithp.com>
1024 commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
1025 Author: Keith Packard <keithp@keithp.com>
1026 Date: Wed May 13 11:00:43 2009 -0700
1028 Accelerometer-based velocity values are invalid after apogee
1030 Because the orientation of the flight computer relative to the ground is
1031 unknown after apogee, the accelerometer data cannot be integrated to compute
1032 velocity. Main deploy is now based purely on barometric altitude and landing
1033 detection no longer checks for a low velocity value.
1035 Signed-off-by: Keith Packard <keithp@keithp.com>
1037 commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
1038 Author: Keith Packard <keithp@keithp.com>
1039 Date: Wed May 13 10:59:04 2009 -0700
1041 Add velocity check for boost detect via accelerometer
1043 Bumping the rocket can cause a brief period of high acceleration, which may
1044 cause a mistaken boost detection. Require both a high acceleration and
1045 reasonable velocity to trigger boost phase.
1047 Signed-off-by: Keith Packard <keithp@keithp.com>
1049 commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
1050 Author: Keith Packard <keithp@keithp.com>
1051 Date: Wed May 13 10:58:30 2009 -0700
1055 commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
1056 Author: Keith Packard <keithp@keithp.com>
1057 Date: Sun May 10 23:11:06 2009 -0700
1059 Use recorded accelerometer baseline data in ao_flight_test
1061 With the flight computer recording a long-term average value for the
1062 accelerometer in the flight record, use that to prime the flight test code
1063 when running a log file through the simulator.
1065 Signed-off-by: Keith Packard <keithp@keithp.com>
1067 commit ba3c53636e485450f48093d0a88a6629775f7c3a
1068 Author: Keith Packard <keithp@keithp.com>
1069 Date: Sun May 10 23:01:16 2009 -0700
1071 Don't re-initialize the landing range data at each apogee detect sample
1073 The landing range values are used only after apogee detect, so we need only
1074 initialize them on the transition from apogee to drogue.
1076 Signed-off-by: Keith Packard <keithp@keithp.com>
1078 commit b623b1098bc7a10d471730259438fb82804221d0
1079 Author: Keith Packard <keithp@keithp.com>
1080 Date: Sun May 10 23:00:06 2009 -0700
1082 Initialize ao_min_vel with |ao_flight_vel|
1084 As ao_min_vel is stored as an absolute value, it's important to preserve
1085 that invariant, even though we don't expect ao_flight_vel to be negative at
1088 Signed-off-by: Keith Packard <keithp@keithp.com>
1090 commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
1091 Author: Keith Packard <keithp@keithp.com>
1092 Date: Sun May 10 22:58:31 2009 -0700
1094 Decrease telemetry rate on the pad to 1/sec instead of 20/sec
1096 Transmitting telemetry through the radio consumes a significant amount of
1097 battery; reducing the rate to 1/sec will reduce power usage while waiting
1100 Signed-off-by: Keith Packard <keithp@keithp.com>
1102 commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
1103 Author: Keith Packard <keithp@keithp.com>
1104 Date: Sun May 10 22:57:19 2009 -0700
1106 Increase the initial accel/baro average to 1000 samples
1108 To get an accurate baseline of the launchpad state, take a longer average of
1109 the two sensors as the unit boots up.
1111 Signed-off-by: Keith Packard <keithp@keithp.com>
1113 commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
1114 Author: Keith Packard <keithp@keithp.com>
1115 Date: Sun May 10 22:54:14 2009 -0700
1117 Record average accelerometer value in flight start log record
1119 The average accelerometer value cannot be extracted from the log as the
1120 record starts after that is computed. As that drives much of the
1121 accelerometer-based state transition logic, it is an important value to
1122 have, so we log it as part of the flight start record now.
1124 Signed-off-by: Keith Packard <keithp@keithp.com>
1126 commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
1127 Author: Keith Packard <keithp@keithp.com>
1128 Date: Sat May 9 10:24:10 2009 -0700
1130 Add version command to show product information
1132 commit e80b87f5e3ccf152d67a2e87bdefda161c455599
1133 Author: Keith Packard <keithp@keithp.com>
1134 Date: Sat May 9 10:23:49 2009 -0700
1136 Pad callsign with nuls
1138 commit beae3360828da21eb1a3c4f88e930f242d4e36b7
1139 Author: Keith Packard <keithp@keithp.com>
1140 Date: Fri May 1 08:14:57 2009 -0700
1142 USB spec limits bulk endpoints to 64 byte payload max.
1144 For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
1147 commit de7814c738488c2c16c6216c93fa78128895e5d5
1148 Author: Keith Packard <keithp@keithp.com>
1149 Date: Wed Apr 29 17:46:56 2009 -0700
1151 Use 'char' instead of 'uint8_t' for character data
1153 String and character constants are of char type, so using uint8_t causes
1154 promotion to 16-bit types when comparing the two.
1156 commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
1157 Author: Keith Packard <keithp@keithp.com>
1158 Date: Wed Apr 29 17:46:36 2009 -0700
1160 Eliminate incorrect cast in printf string argument
1162 char * is a pointer to a string in the default address space, not a generic pointer
1163 to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
1166 commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
1167 Author: Keith Packard <keithp@keithp.com>
1168 Date: Wed Apr 29 17:44:41 2009 -0700
1170 Correct radio frequency shown in config display.
1172 Radio frequency base is 434.550, not 435.550
1174 commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
1175 Author: Keith Packard <keithp@keithp.com>
1176 Date: Wed Apr 29 17:42:26 2009 -0700
1178 Reset landing interval tests at apogee
1180 This moves all of the interval management into the landing test code and
1181 out of the main loop. The interval is reset at apogee to make sure the
1182 sensors produce a stable reading for at least 20 seconds
1184 commit 7a1b77c2d7253a681389f32b70e2460aac188807
1185 Author: Bdale Garbee <bdale@gag.com>
1186 Date: Sun Apr 26 17:53:13 2009 -0600
1188 clean up host programs, too
1190 commit 5df80c346d65a9d56a8699b056dc44924acb31fe
1191 Author: Keith Packard <keithp@keithp.com>
1192 Date: Sun Apr 26 16:04:07 2009 -0700
1194 Was missing v_batt in adc dump command
1196 commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
1197 Author: Keith Packard <keithp@keithp.com>
1198 Date: Sun Apr 26 15:38:28 2009 -0700
1200 Add manual ignition and igniter test commands
1202 commit 819f1de8dd6010fae050bcef930943c7923929f9
1203 Author: Keith Packard <keithp@keithp.com>
1204 Date: Sun Apr 26 15:38:03 2009 -0700
1206 Clean up commands a bit
1208 commit 178abb5c8439509926a5507911d7148b84f051b8
1209 Author: Keith Packard <keithp@keithp.com>
1210 Date: Sun Apr 26 15:08:58 2009 -0700
1212 Clear more files on make clean
1214 commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
1215 Author: Keith Packard <keithp@keithp.com>
1216 Date: Sun Apr 26 15:05:29 2009 -0700
1218 Label binaries with product and serial info
1220 commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
1221 Author: Keith Packard <keithp@keithp.com>
1222 Date: Sun Apr 26 01:37:02 2009 -0700
1224 Make sure full log is written and flushed on landing.
1226 The final state change to landing is recorded in the logging thread, so have
1227 that turn off logging once it has recorded that state. Then make it go to
1230 commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
1231 Author: Keith Packard <keithp@keithp.com>
1232 Date: Sun Apr 26 01:36:53 2009 -0700
1234 Clean up monitor output a bit
1236 commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
1237 Author: Keith Packard <keithp@keithp.com>
1238 Date: Sun Apr 26 00:11:32 2009 -0700
1240 Add configuration support
1242 Current config variables:
1243 Main deploy altitude above launch (in meters)
1244 Acceleration zero g calibration (manual or automatic)
1245 Radio channel (freq = 435.550MHz + channel * 100kHz)
1246 Callsign (max 8 characters)
1248 Supporting this involved shuffling code around so that the
1249 non-telemetrum builds could include only the stuff they needed.
1251 commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
1252 Author: Keith Packard <keithp@keithp.com>
1253 Date: Sat Apr 25 14:44:33 2009 -0700
1255 Allow for slower ADC operation. Add power saving code.
1257 This tries to make the flight computer use less power by disabling USB in
1258 flight mode, lowering the telemetry rate after ascent. It also disables the
1259 RDF beacon during ascent and re-enables it once descent has started.
1261 commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
1262 Author: Keith Packard <keithp@keithp.com>
1263 Date: Sat Apr 25 14:44:04 2009 -0700
1265 Allow ADC to be disabled
1267 commit 7bc3d9962872850e7b420221cf689db16b4305cc
1268 Author: Keith Packard <keithp@keithp.com>
1269 Date: Sat Apr 25 14:43:23 2009 -0700
1271 Place CPU in P0 state while idle
1273 commit e45fce7f82d704d677f84c69b0e07588d109d780
1274 Author: Keith Packard <keithp@keithp.com>
1275 Date: Sat Apr 25 14:42:20 2009 -0700
1277 Add RDF beacon and callsign to telemetry
1279 commit 61510f98404bca6861b2da98f6cd9ba9deb76968
1280 Author: Keith Packard <keithp@keithp.com>
1281 Date: Sat Apr 25 14:40:51 2009 -0700
1283 Add radio code to emit a 1kHz tone
1285 commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
1286 Author: Keith Packard <keithp@keithp.com>
1287 Date: Sat Apr 25 13:18:37 2009 -0700
1289 Allow the USB system to be disabled/enabled at run-time
1291 commit 45976af820fc41099928df71ea8304c56eb9fc7c
1292 Author: Keith Packard <keithp@keithp.com>
1293 Date: Sat Apr 25 13:16:27 2009 -0700
1295 Make LED usage depend on target device
1297 commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
1298 Author: Keith Packard <keithp@keithp.com>
1299 Date: Sat Apr 25 13:13:24 2009 -0700
1301 Make some functions reentrant to save DSEG space
1303 commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
1304 Author: Keith Packard <keithp@keithp.com>
1305 Date: Fri Apr 24 19:17:37 2009 -0700
1307 Add monitor task to flight software
1309 Allows the use of telemetrum in teledongle mode.
1311 commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
1312 Author: Keith Packard <keithp@keithp.com>
1313 Date: Fri Apr 24 19:17:19 2009 -0700
1315 Report difference from ground to max altitude at landing
1317 commit f94ab879ff6f97708827c74facd11003a2d8b590
1318 Author: Keith Packard <keithp@keithp.com>
1319 Date: Fri Apr 24 19:16:29 2009 -0700
1321 Display data with units while running simulation
1323 commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
1324 Author: Keith Packard <keithp@keithp.com>
1325 Date: Fri Apr 24 19:13:31 2009 -0700
1327 Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
1329 This change ensures that we actually got going fairly fast, and then slowed
1330 down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
1331 right off the pad as we're not going very fast at that point...
1333 This also adds the 'f' command to show the current flight status on the USB
1336 commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
1337 Author: Keith Packard <keithp@keithp.com>
1338 Date: Fri Apr 24 19:12:28 2009 -0700
1340 configure igniter ports, set values to measured ones
1342 commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
1343 Author: Keith Packard <keithp@keithp.com>
1344 Date: Fri Apr 24 19:11:40 2009 -0700
1346 Move ao_led_init to end of file to be consistent with other files
1348 commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
1349 Author: Keith Packard <keithp@keithp.com>
1350 Date: Fri Apr 24 19:10:20 2009 -0700
1352 Define ao_state_names in ao.h so other people can share
1354 commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
1355 Author: Keith Packard <keithp@keithp.com>
1356 Date: Fri Apr 24 19:09:31 2009 -0700
1360 commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
1361 Author: Keith Packard <keithp@keithp.com>
1362 Date: Fri Apr 24 19:09:09 2009 -0700
1364 Move beep_init to end of file to be consistent with other files
1366 commit b99315cee4ab796376458a2442cf36806fa4aed3
1367 Author: Keith Packard <keithp@keithp.com>
1368 Date: Fri Apr 24 10:19:31 2009 -0700
1370 Update flight algorithm based on data collected from SN-1 Flight 1
1372 This now correctly sequences through the flight data collected from the
1373 first TeleMetrum test flight.
1375 This also completes up the flight algorithm test harness (ao_flight_test),
1376 which runs the flight algorithm on the Linux host from a captured data log.
1378 commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
1379 Author: Keith Packard <keithp@keithp.com>
1380 Date: Thu Apr 23 22:17:44 2009 -0700
1382 Add igniters and update flight control algorithm
1384 commit f155333ae18a25068644792e8940269d9fb28033
1385 Author: Keith Packard <keithp@keithp.com>
1386 Date: Fri Apr 24 00:15:09 2009 -0700
1388 Avoid ram from 0xfda2 through feff, its funky
1390 commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
1391 Author: Keith Packard <keithp@keithp.com>
1392 Date: Thu Apr 23 22:18:33 2009 -0700
1394 remove ao_flight_test until its ready
1396 commit 86e73c009f78dc4664883353124fc891fbb01dce
1397 Author: Keith Packard <keithp@keithp.com>
1398 Date: Thu Apr 23 20:50:07 2009 -0700
1400 Add teledongle module
1402 commit 204daac71ad56926730f5d6860bd70c645302e19
1403 Author: Keith Packard <keithp@keithp.com>
1404 Date: Thu Apr 23 14:26:01 2009 -0700
1406 Set telemetry rate to 100ms
1408 commit 306b28f632e21b42ab165e7944283cf9764b590e
1409 Author: Keith Packard <keithp@keithp.com>
1410 Date: Thu Apr 23 14:23:26 2009 -0700
1412 Wrong license on ao_monitor.c
1414 commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
1415 Author: Keith Packard <keithp@keithp.com>
1416 Date: Thu Apr 23 14:23:00 2009 -0700
1418 Crank up radio to 10dBm
1420 commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
1421 Author: Keith Packard <keithp@keithp.com>
1422 Date: Wed Apr 22 16:03:28 2009 -0700
1426 commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
1427 Author: Keith Packard <keithp@keithp.com>
1428 Date: Wed Apr 22 15:55:01 2009 -0700
1430 Clean up TeleTerra files
1432 commit 61cee50c86e275f9fde875bd317c3e74255394ec
1433 Author: Keith Packard <keithp@keithp.com>
1434 Date: Wed Apr 22 15:53:55 2009 -0700
1436 simplify ao_time function
1438 commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
1439 Author: Keith Packard <keithp@keithp.com>
1440 Date: Wed Apr 22 15:53:46 2009 -0700
1442 One line radio status
1444 commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
1445 Author: Keith Packard <keithp@keithp.com>
1446 Date: Wed Apr 22 15:49:16 2009 -0700
1448 Add new binaries to .gitignore
1450 commit 00d5610caff61559eb24c24beaa56629d6bb03be
1451 Author: Keith Packard <keithp@keithp.com>
1452 Date: Wed Apr 22 15:49:00 2009 -0700
1454 Speed up dbg port bit frobbing
1456 commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
1457 Author: Keith Packard <keithp@keithp.com>
1458 Date: Wed Apr 22 15:48:28 2009 -0700
1462 commit ada6dea04b94be016598566c4c13e6105aaec353
1463 Author: Keith Packard <keithp@keithp.com>
1464 Date: Wed Apr 22 15:48:14 2009 -0700
1466 Clean up task list formatting
1468 commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
1469 Author: Keith Packard <keithp@keithp.com>
1470 Date: Wed Apr 22 15:47:57 2009 -0700
1472 Control radio monitoring with the M command
1474 commit 837c620f07b63efc171be3ac14c78bc99adf7592
1475 Author: Keith Packard <keithp@keithp.com>
1476 Date: Wed Apr 22 14:25:43 2009 -0700
1478 Shrink USB output buffers, work around USB packet errors
1480 commit d87e9c25947d7cc2eba8894a524977f2c55a089a
1481 Author: Keith Packard <keithp@keithp.com>
1482 Date: Tue Apr 21 02:07:24 2009 -0700
1484 Clean up telemetry now that all packets are the same
1486 commit 1b333def5052d2ed47fdeaef23a897fe326f6340
1487 Author: Keith Packard <keithp@keithp.com>
1488 Date: Tue Apr 21 02:07:08 2009 -0700
1490 Add longer debug delays to reset/debug_mode entry
1492 commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
1493 Author: Keith Packard <keithp@keithp.com>
1494 Date: Tue Apr 21 01:17:03 2009 -0700
1496 Fix up fancy dbg stuff. Add teleterra initial bits.
1498 The dbg stuff needed a bit of help to actually walk the tables; it appears
1499 that complex expressions confuse sdcc.
1501 This also adds primitive teleterra bits, but no UI, etc.
1503 Signed-off-by: Keith Packard <keithp@keithp.com>
1505 commit 43c8f7012102cdb591ace899420c10e4a78385ad
1506 Author: Keith Packard <keithp@keithp.com>
1507 Date: Mon Apr 20 23:33:41 2009 -0700
1509 Add radio support. Build separate executables for TeleMetrum and the TI dongle
1511 Ok, way too big a patch, but things were in rough shape.
1512 This patch adds support for the radio, both transmit and receive.
1513 Then, because I could no longer run the TeleMetrum code on the TI
1514 dongle, I ended up building a separate image for the TI board, which
1515 involved creating a mechanism for having multiple command sets and splitting
1516 code for different functions into different files.
1518 commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
1519 Author: Keith Packard <keithp@keithp.com>
1520 Date: Sat Apr 18 23:19:24 2009 -0700
1522 Start using pdata area for less-frequently used data
1524 commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
1525 Author: Keith Packard <keithp@keithp.com>
1526 Date: Sat Apr 18 23:19:05 2009 -0700
1528 Slow down panic presentation
1530 commit c4e983daa4579896b227fdcb2be43fad75e94307
1531 Author: Keith Packard <keithp@keithp.com>
1532 Date: Sat Apr 18 23:17:45 2009 -0700
1534 Parse GPS data locally. Add 'g' command to display recent GPS results.
1536 This parses the GPS GGA message and stores it in a global variable,
1537 protected by a mutex.
1539 commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
1540 Author: Keith Packard <keithp@keithp.com>
1541 Date: Sat Apr 18 23:16:01 2009 -0700
1543 Add task names and 'T' command to show task status.
1545 The T command shows the current wchan and PC for each task in the system.
1547 commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
1548 Author: Keith Packard <keithp@keithp.com>
1549 Date: Sat Apr 18 19:32:18 2009 -0700
1551 Fix GPL version at 2
1553 Signed-off-by: Keith Packard <keithp@keithp.com>
1555 commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
1556 Author: Keith Packard <keithp@keithp.com>
1557 Date: Fri Apr 17 23:38:14 2009 -0700
1559 Add gps, debug dongle support and pressure alt tables
1561 GPS also pulled in serial support. The altitude tables take raw 11-bit
1562 pressure sample numbers and convert them to standard pressure altitude
1565 Signed-off-by: Keith Packard <keithp@keithp.com>
1567 commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
1568 Author: Keith Packard <keithp@keithp.com>
1569 Date: Fri Apr 17 10:32:45 2009 -0700
1571 Enable FEC in radio packets
1573 commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
1574 Author: Keith Packard <keithp@keithp.com>
1575 Date: Fri Apr 17 10:29:42 2009 -0700
1577 Add CRC to radio packets
1579 commit 20834caf01ddf481e8362b0d2627ef383a82e09d
1580 Author: Keith Packard <keithp@keithp.com>
1581 Date: Fri Apr 17 10:23:10 2009 -0700
1585 commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
1586 Author: Keith Packard <keithp@keithp.com>
1587 Date: Fri Apr 17 10:19:25 2009 -0700
1589 Add packet status byte defines
1591 commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
1592 Author: Keith Packard <keithp@keithp.com>
1593 Date: Fri Apr 17 10:11:31 2009 -0700
1595 Add separate xmit/recv programs to radio demo
1597 commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
1598 Author: Keith Packard <keithp@keithp.com>
1599 Date: Fri Apr 17 10:11:11 2009 -0700
1601 Get env var for debug method selection
1603 commit 26095fc0511ee0d5213f038986032f7c59964cf0
1604 Author: Keith Packard <keithp@keithp.com>
1605 Date: Fri Apr 17 10:10:47 2009 -0700
1607 Run-time selection between cp2103 and cc1111
1609 commit 543bedde83cbce5145668e72965e02d892187b59
1610 Author: Keith Packard <keithp@keithp.com>
1611 Date: Thu Apr 16 20:38:14 2009 -0700
1615 commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
1616 Author: Keith Packard <keithp@keithp.com>
1617 Date: Wed Apr 15 14:25:26 2009 -0700
1619 Move a bunch of variables from __data to __xdata
1621 commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
1622 Author: Keith Packard <keithp@keithp.com>
1623 Date: Tue Apr 14 21:25:15 2009 -0700
1625 Slow down panic code, disable interrupts
1627 commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
1628 Author: Keith Packard <keithp@keithp.com>
1629 Date: Tue Apr 14 21:24:25 2009 -0700
1631 Keep reporting flight state while it changes
1633 commit 9605045164882b4ca3d1317ac860b02513a51f30
1634 Author: Keith Packard <keithp@keithp.com>
1635 Date: Tue Apr 14 21:23:55 2009 -0700
1637 use red LED to indicate system startup
1639 commit dc844ee7e49a3b6145b3165252a592ed070d600f
1640 Author: Keith Packard <keithp@keithp.com>
1641 Date: Tue Apr 14 21:23:13 2009 -0700
1643 Use ao_ee_flush_internal while holding mutex
1645 commit 5e45d1c89b00e74d5b2730345843f43aab516af2
1646 Author: Keith Packard <keithp@keithp.com>
1647 Date: Tue Apr 14 21:22:56 2009 -0700
1649 Leave beeping and lights to the flight code
1651 commit 902c342289c1d13a4d55b9224acb6d67578b7a60
1652 Author: Keith Packard <keithp@keithp.com>
1653 Date: Tue Apr 14 21:22:31 2009 -0700
1655 Make mutex functions reentrant
1657 commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
1658 Author: Keith Packard <keithp@keithp.com>
1659 Date: Tue Apr 14 19:08:01 2009 -0700
1661 Add in existing flight pieces: flight/report/log
1663 These pieces come from the old telemetrum firmware.
1665 Signed-off-by: Keith Packard <keithp@keithp.com>
1667 commit ac99982b10fd5772218660137ee21db9b90cd885
1668 Author: Keith Packard <keithp@keithp.com>
1669 Date: Tue Apr 14 14:21:56 2009 -0700
1671 Add eeprom driver and command loop
1673 This involved adding dma control and a mutex implementation.
1675 Signed-off-by: Keith Packard <keithp@keithp.com>
1677 commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
1678 Author: Keith Packard <keithp@keithp.com>
1679 Date: Tue Apr 14 11:04:09 2009 -0700
1681 Switch from --model-large to --model-small
1683 This shrinks the application quite a bit, and should make it faster as well.
1685 Signed-off-by: Keith Packard <keithp@keithp.com>
1687 commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
1688 Author: Keith Packard <keithp@keithp.com>
1689 Date: Tue Apr 14 10:02:19 2009 -0700
1691 Add comments, clean up white space, etc.
1693 Various clean ups now that the basic code appears to work.
1695 Signed-off-by: Keith Packard <keithp@keithp.com>
1697 commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
1698 Author: Keith Packard <keithp@keithp.com>
1699 Date: Mon Apr 13 21:58:07 2009 -0700
1701 Switch USB to double-buffered
1703 commit b56a44e48552bc32dbba9ff21770c370219a684a
1704 Author: Keith Packard <keithp@keithp.com>
1705 Date: Mon Apr 13 21:51:59 2009 -0700
1707 Fix USB input/output by reloading packet limits.
1709 The USB controller is reset during the connection process, which clears the
1710 packet limits set in the controller at initialization time. Reload those
1711 values when the configuration is set.
1713 Signed-off-by: Keith Packard <keithp@keithp.com>
1715 commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
1716 Author: Keith Packard <keithp@keithp.com>
1717 Date: Mon Apr 13 20:39:46 2009 -0700
1719 USB working up through reading strings
1721 commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
1722 Author: Keith Packard <keithp@keithp.com>
1723 Date: Mon Apr 13 13:51:08 2009 -0700
1727 This offers a single CDC ACM device over USB.
1729 Signed-off-by: Keith Packard <keithp@keithp.com>
1731 commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
1732 Author: Keith Packard <keithp@keithp.com>
1733 Date: Sun Apr 12 23:53:55 2009 -0700
1735 Add beep/led support.
1737 Support our P2_0 connected buzzer, and formalize LED output support.
1739 Signed-off-by: Keith Packard <keithp@keithp.com>
1741 commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
1742 Author: Keith Packard <keithp@keithp.com>
1743 Date: Sun Apr 12 23:17:16 2009 -0700
1747 Sample A/D at the timer tick, placing data in a ring
1750 Signed-off-by: Keith Packard <keithp@keithp.com>
1752 commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
1753 Author: Keith Packard <keithp@keithp.com>
1754 Date: Sun Apr 12 22:52:47 2009 -0700
1758 Use Timer 1 to generate a 100Hz timer interrupt
1760 commit 650a77e209dbb54c8d8fd9824cee430985564973
1761 Author: Keith Packard <keithp@keithp.com>
1762 Date: Sun Apr 12 21:58:49 2009 -0700
1766 commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
1767 Author: Keith Packard <keithp@keithp.com>
1768 Date: Sun Apr 12 21:52:56 2009 -0700
1772 commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
1773 Author: Keith Packard <keithp@keithp.com>
1774 Date: Sun Apr 12 21:47:32 2009 -0700
1776 Add load command to s51
1778 commit 55402ba3e87fd699c51079843309f1f0d1534724
1779 Author: Keith Packard <keithp@keithp.com>
1780 Date: Sun Apr 12 21:33:55 2009 -0700
1782 Make test more complicated
1784 commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
1785 Author: Keith Packard <keithp@keithp.com>
1786 Date: Sun Apr 12 21:33:46 2009 -0700
1788 SP points at last pushed byte
1790 commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
1791 Author: Keith Packard <keithp@keithp.com>
1792 Date: Sun Apr 12 20:27:03 2009 -0700
1796 commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
1797 Author: Keith Packard <keithp@keithp.com>
1798 Date: Sun Apr 12 20:25:39 2009 -0700
1800 Initial AltOS import
1802 commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
1803 Author: Keith Packard <keithp@keithp.com>
1804 Date: Sun Apr 12 12:38:58 2009 -0700
1808 commit ee110425fb814780476d1d3d8a257af126f41763
1809 Author: Keith Packard <keithp@keithp.com>
1810 Date: Mon Apr 6 17:09:23 2009 -0700
1812 Bump buffer pointer as data is written to cc-usb
1814 commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
1815 Author: Keith Packard <keithp@keithp.com>
1816 Date: Mon Apr 6 11:31:49 2009 -0700
1818 Add support for a serial-connected custom debug dongle
1820 This uses the cc1111 board as a custom debug dongle with faster
1821 methods for communicating with the debug target.
1823 commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
1824 Author: Keith Packard <keithp@keithp.com>
1825 Date: Wed Apr 1 17:50:47 2009 -0700
1827 Reset cc1111 on s51 exit
1829 commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
1830 Author: Keith Packard <keithp@keithp.com>
1831 Date: Wed Apr 1 00:06:45 2009 -0700
1833 Add timer-based beep test
1835 commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
1836 Author: Keith Packard <keithp@keithp.com>
1837 Date: Thu Mar 26 22:41:47 2009 -0700
1839 Add readline support to s51
1841 commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
1842 Author: Keith Packard <keithp@keithp.com>
1843 Date: Wed Mar 25 11:37:48 2009 -0700
1845 Deal with MSB-outputing DMA engine
1847 commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
1848 Author: Keith Packard <keithp@keithp.com>
1849 Date: Wed Mar 25 11:14:03 2009 -0700
1851 Flip ADC bytes around
1853 commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
1854 Author: Keith Packard <keithp@keithp.com>
1855 Date: Wed Mar 25 11:01:30 2009 -0700
1857 Add spacing for serial adc data
1859 commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
1860 Author: Keith Packard <keithp@keithp.com>
1861 Date: Wed Mar 25 10:58:57 2009 -0700
1863 Inc only one on dest addr
1865 commit 378227d869a3e8787c532c8c4e1563b44002c4b5
1866 Author: Keith Packard <keithp@keithp.com>
1867 Date: Wed Mar 25 10:55:17 2009 -0700
1869 Dump remaining inputs
1871 commit f54a41e37d6897db2e24fbc82880076b78a0ae41
1872 Author: Keith Packard <keithp@keithp.com>
1873 Date: Wed Mar 25 10:50:36 2009 -0700
1875 Remove poll for ti demo button
1877 commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
1878 Author: Keith Packard <keithp@keithp.com>
1879 Date: Wed Mar 25 10:50:14 2009 -0700
1881 Add adc to serial conversion
1883 commit d9fd548db15232e3a8823815962b252c7a5e7cba
1884 Author: Keith Packard <keithp@keithp.com>
1885 Date: Wed Mar 25 10:04:50 2009 -0700
1887 Add ADC via DMA example
1889 commit 61faf2b773300988fe27cfde5bc045be9950a1b0
1890 Author: Keith Packard <keithp@keithp.com>
1891 Date: Wed Mar 25 09:45:14 2009 -0700
1895 commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
1896 Author: Keith Packard <keithp@keithp.com>
1897 Date: Wed Mar 25 01:05:36 2009 -0700
1901 commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
1902 Author: Keith Packard <keithp@keithp.com>
1903 Date: Wed Mar 25 01:03:08 2009 -0700
1905 Make radio test compile again
1907 commit 9ce713fdd19bf1a51370dacba3670504356c5c11
1908 Author: Keith Packard <keithp@keithp.com>
1909 Date: Wed Mar 25 01:02:07 2009 -0700
1911 Wait for xtal to stabilize
1913 commit ffd43886dc902f3bb7407294018e3d62cac39480
1914 Author: Keith Packard <keithp@keithp.com>
1915 Date: Wed Mar 25 00:55:11 2009 -0700
1919 commit 029963cc94fbb47560118b5de73c537e2c14ed7c
1920 Author: Keith Packard <keithp@keithp.com>
1921 Date: Wed Mar 25 00:50:02 2009 -0700
1923 Eliminate array walking
1925 commit 019456a17d36f8f9f9b72cfbc980492175086d32
1926 Author: Keith Packard <keithp@keithp.com>
1927 Date: Wed Mar 25 00:41:49 2009 -0700
1929 Add a per-char delay
1931 commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
1932 Author: Keith Packard <keithp@keithp.com>
1933 Date: Wed Mar 25 00:36:35 2009 -0700
1935 Use UTX1IF to wait for serial TX complete
1937 commit 006124529b243c7657a94312d2c868a82878d8bb
1938 Author: Keith Packard <keithp@keithp.com>
1939 Date: Wed Mar 25 00:29:29 2009 -0700
1941 Send more interesting text
1943 commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
1944 Author: Keith Packard <keithp@keithp.com>
1945 Date: Wed Mar 25 00:24:56 2009 -0700
1947 More random serial bit frobbing
1949 commit 50bdc2407c674a4770912d3a626f36820a7f1527
1950 Author: Keith Packard <keithp@keithp.com>
1951 Date: Wed Mar 25 00:13:15 2009 -0700
1953 Flip serial TX code around a bit
1955 commit 7b7617e376afe0df1d505375b76198358330370c
1956 Author: Keith Packard <keithp@keithp.com>
1957 Date: Wed Mar 25 00:09:47 2009 -0700
1959 Try serial polarity high/high
1961 commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
1962 Author: Keith Packard <keithp@keithp.com>
1963 Date: Wed Mar 25 00:06:32 2009 -0700
1965 Make serial test simpler
1967 commit 62744c186792739c3bf5798c80ff87c69fbe2b65
1968 Author: Keith Packard <keithp@keithp.com>
1969 Date: Wed Mar 25 00:03:45 2009 -0700
1971 Flip start/stop bits around
1973 commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
1974 Author: Keith Packard <keithp@keithp.com>
1975 Date: Tue Mar 24 23:57:12 2009 -0700
1979 commit c41ceb9a488b2209d1d3c09967d1473ce608030f
1980 Author: Keith Packard <keithp@keithp.com>
1981 Date: Tue Mar 24 23:24:01 2009 -0700
1983 Change radio to -30dBm
1985 commit c35de083ca3d4f362063b056a0fd74ffe629d168
1986 Author: Keith Packard <keithp@keithp.com>
1987 Date: Tue Mar 24 23:11:48 2009 -0700
1989 Add serial test program
1991 commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
1992 Author: Keith Packard <keithp@keithp.com>
1993 Date: Tue Mar 24 22:37:38 2009 -0700
1995 Wait for xtal to stabilize after changing to 24MHz
1997 commit e120269fc0f8e14ddf1755337b1d092173e16da2
1998 Author: Keith Packard <keithp@keithp.com>
1999 Date: Tue Mar 24 22:21:31 2009 -0700
2001 Actually return byte read from SPI
2003 commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
2004 Author: Keith Packard <keithp@keithp.com>
2005 Date: Tue Mar 24 22:12:51 2009 -0700
2007 Clear UxCSR_TX_BYTE after transmitting a byte
2009 commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
2010 Author: Keith Packard <keithp@keithp.com>
2011 Date: Tue Mar 24 20:04:58 2009 -0700
2015 commit 91b3a6ae74184692f45702587c4d678b2799ad8c
2016 Author: Keith Packard <keithp@keithp.com>
2017 Date: Tue Mar 24 19:55:04 2009 -0700
2019 actually write and compare SPI test bits
2021 commit 7de3a43887485c3c6cf52960376ccde33fb33985
2022 Author: Keith Packard <keithp@keithp.com>
2023 Date: Tue Mar 24 19:54:02 2009 -0700
2025 Add USART-based SPI test code
2027 commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
2028 Author: Keith Packard <keithp@keithp.com>
2029 Date: Tue Mar 24 17:22:36 2009 -0700
2031 Change spi test string
2033 commit 8131389ee5018c05b721146a98367150cf500fdf
2034 Author: Keith Packard <keithp@keithp.com>
2035 Date: Tue Mar 24 17:15:09 2009 -0700
2037 Oops, not merging in the bit read for SPI test
2039 commit 3429016d1359ec650993d2fb0596184e3f717871
2040 Author: Keith Packard <keithp@keithp.com>
2041 Date: Tue Mar 24 17:04:45 2009 -0700
2043 Adjust clock/data phase for spi test
2045 commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
2046 Author: Keith Packard <keithp@keithp.com>
2047 Date: Tue Mar 24 16:35:13 2009 -0700
2049 MISO needs to be an input
2051 commit f0c233f25a208a636833312b1766825815735304
2052 Author: Keith Packard <keithp@keithp.com>
2053 Date: Tue Mar 24 15:41:55 2009 -0700
2055 Add bit-banging spi eeprom test program
2057 commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
2058 Author: Bdale Garbee <bdale@gag.com>
2059 Date: Wed Mar 18 02:58:33 2009 -0600
2061 working beep at around 4khz
2063 commit 4726317de811c20e8d6754762437b5c9cbb3a48c
2064 Author: Keith Packard <keithp@keithp.com>
2065 Date: Wed Mar 18 01:54:34 2009 -0700
2067 Add simple test program to light up the transmitter at 434.550MHz
2069 This starts a transmit sequence, but doesn't send any data so the
2070 transmitter just locks on.
2072 commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
2073 Author: Keith Packard <keithp@keithp.com>
2074 Date: Sun Mar 15 18:14:21 2009 -0700
2076 Correctly comment which bit the beep program uses
2078 commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
2079 Author: Keith Packard <keithp@keithp.com>
2080 Date: Sun Mar 15 18:11:53 2009 -0700
2082 Add telemetrum beeper example
2084 commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
2085 Author: Keith Packard <keithp@keithp.com>
2086 Date: Sun Mar 15 18:11:20 2009 -0700
2088 sdcc gets the lib path correct based on the model
2090 commit 04a316133af93b79bfbebb91f05eec1015ec2abc
2091 Author: Keith Packard <keithp@keithp.com>
2092 Date: Sun Mar 15 18:10:43 2009 -0700
2094 Bump debug speed back up
2096 commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
2097 Author: Keith Packard <keithp@keithp.com>
2098 Date: Sat Mar 7 21:05:40 2009 -0800
2100 Only flip changing bits in async mode
2102 commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
2103 Author: Keith Packard <keithp@keithp.com>
2104 Date: Sat Mar 7 21:05:06 2009 -0800
2106 The debug port only works if reset is higher than clock. weird
2108 commit ade11f88754b4ab0386ebf86afc5257e59238f62
2109 Author: Keith Packard <keithp@keithp.com>
2110 Date: Sat Mar 7 21:04:38 2009 -0800
2112 Make manual bit flipping sync after every transaction
2114 commit e63b5271bb54afc36e4b9891e51e053ff6011092
2115 Author: Keith Packard <keithp@keithp.com>
2116 Date: Sat Mar 7 14:49:22 2009 -0800
2120 commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
2121 Author: Keith Packard <keithp@keithp.com>
2122 Date: Sat Mar 7 14:48:49 2009 -0800
2124 Sync after manual bit reading
2126 commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
2127 Author: Keith Packard <keithp@keithp.com>
2128 Date: Sat Mar 7 14:48:35 2009 -0800
2130 Flip debug pins around to match telemetrum
2132 commit cc0495b7028f4b1189a00707d828a68534d1dea2
2133 Author: Keith Packard <keithp@keithp.com>
2134 Date: Fri Mar 6 22:52:35 2009 -0800
2136 Wait for a while when switching the RESET_N line
2138 The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
2139 RESET_N line to filter out noise. This increases the time necessary to reset
2140 the chip to several microseconds which is longer than the interval between
2141 two USB packets. Flush the USB packet queue and sleep for a while after
2142 changing the value on the RESET_N line to make sure the chip sees the state
2145 Signed-off-by: Keith Packard <keithp@keithp.com>
2147 commit 41289e6d8f1767547a33fea349866e928e44910f
2148 Author: Bdale Garbee <bdale@gag.com>
2149 Date: Mon Mar 2 07:46:20 2009 -0700
2151 minor s51.1 formatting fixes
2153 Signed-off-by: Keith Packard <keithp@keithp.com>
2155 commit fdee231ed097a4348aee78fbd4aa92826b80de03
2156 Author: Keith Packard <keithp@keithp.com>
2157 Date: Sun Mar 1 23:12:31 2009 -0800
2161 This documents (briefly) the s51 hex debugging interface program, including
2162 some simple commands to test the operation of the system interactively.
2164 Signed-off-by: Keith Packard <keithp@keithp.com>
2166 commit f7d91bd23b8214e09deae0aafb516331e934c49b
2167 Author: Keith Packard <keithp@keithp.com>
2168 Date: Sun Mar 1 18:43:03 2009 -0800
2170 Sometimes the link breaks and the GET_PC command returns garbage
2172 commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
2173 Author: Keith Packard <keithp@keithp.com>
2174 Date: Sun Jan 25 08:38:48 2009 -0800
2176 Support 'set' command
2178 The 'set' command modifies target memory and registers
2180 Signed-off-by: Keith Packard <keithp@keithp.com>
2182 commit 60940b4be23962db79b8e914ec943d0636dd68ad
2183 Author: Keith Packard <keithp@keithp.com>
2184 Date: Mon Jan 5 21:45:21 2009 -0800
2186 Expose ccdbg_set_clock API
2188 This allows applications to change the debug port clock
2191 Signed-off-by: Keith Packard <keithp@keithp.com>
2193 commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
2194 Author: Keith Packard <keithp@keithp.com>
2195 Date: Mon Jan 5 21:44:44 2009 -0800
2197 Use custom sdcc libraries (this needs to be configured...)
2199 Signed-off-by: Keith Packard <keithp@keithp.com>
2201 commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
2202 Author: Keith Packard <keithp@keithp.com>
2203 Date: Mon Jan 5 21:43:44 2009 -0800
2205 Have S51 ignore SIGINT while running under sdcdb.
2207 This prevents keyboard interrupts from accidentally stopping
2210 Signed-off-by: Keith Packard <keithp@keithp.com>
2212 commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
2213 Author: Keith Packard <keithp@keithp.com>
2214 Date: Tue Dec 30 22:40:13 2008 -0800
2216 Add simple and timer sample programs
2218 Signed-off-by: Keith Packard <keithp@keithp.com>
2220 commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
2221 Author: Keith Packard <keithp@keithp.com>
2222 Date: Tue Dec 30 22:35:53 2008 -0800
2224 Save/restore registers to host during memory operations. Cache ROM data.
2226 Because the debug port uses instructions for most operations, the debug code
2227 will clobber registers used by the running program. Save and restore these
2228 to avoid corrupting application data.
2230 If the ROM file is known, use that to return data instead of fetching it
2231 from the target to improve performance.
2233 Signed-off-by: Keith Packard <keithp@keithp.com>
2235 commit ea366058aa467a8a7caf17e7014758f3741ea7f7
2236 Author: Keith Packard <keithp@keithp.com>
2237 Date: Mon Dec 29 12:35:11 2008 -0800
2239 Fix flashing less than a full page of data. Verify page at a time.
2241 The 8051 flashing code requires special help with counts with non-zero low
2242 byte. Also, instead of verifying the entire flash contents at the end,
2243 verify each page as it goes.
2245 Signed-off-by: Keith Packard <keithp@keithp.com>
2247 commit e0697186a2f9b6139636ff5d5c162879c85caf9c
2248 Author: Keith Packard <keithp@keithp.com>
2249 Date: Sun Dec 28 00:11:13 2008 -0800
2251 Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
2253 Not all SFRs are visible in the unified address space, so the SFR-specific
2254 accessors are required.
2256 The dump command is the same as the various 'd*'
2257 commands, but also supports dumping program memory.
2259 The new -m (monitor) flag watches the command stream between s51 and sdcdb.
2261 Signed-off-by: Keith Packard <keithp@keithp.com>
2263 commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
2264 Author: Keith Packard <keithp@keithp.com>
2265 Date: Sun Dec 28 00:09:30 2008 -0800
2267 Save/restore regs when reading/writing memory. Add SFR access.
2269 The DPL and ACC registers are used by the memory access code,
2270 so they need to be saved and restored. Stuff them up high in ram for now;
2271 this should probably be fixed to pull them back to the host instead.
2273 Special SFR access is required as not all SFRs are visible in the unified
2276 Signed-off-by: Keith Packard <keithp@keithp.com>
2278 commit 1405838160b69e2cda456e21502a1d03b3aa7548
2279 Author: Keith Packard <keithp@keithp.com>
2280 Date: Sat Dec 27 11:25:58 2008 -0800
2282 s51: get start address from ihx file. re-enable breakpoints after reset.
2284 Use the start of the ihx file when asked to run from 0x0, this lets
2285 sdcdb run programs from ram.
2287 The reset command clears all hw breakpoints, so reset them afterwards.
2289 Signed-off-by: Keith Packard <keithp@keithp.com>
2291 commit 1264c3676e95427bba5d01e05c303d036a7f9eca
2292 Author: Keith Packard <keithp@keithp.com>
2293 Date: Fri Dec 26 23:05:04 2008 -0800
2295 Switch to libusb-1.0 and use async interface.
2297 The async libusb interface offers substantial performance benefits by not
2298 making each command wait for the reply. This makes talking over this
2299 interface almost reasonable.
2301 Signed-off-by: Keith Packard <keithp@keithp.com>
2303 commit d2d9cfd74fd66836c913c02276e09136d83b35dc
2304 Author: Keith Packard <keithp@keithp.com>
2305 Date: Fri Dec 26 17:58:48 2008 -0800
2307 s51: add breakpoints and the ability to block awaiting a breakpoint.
2309 Signed-off-by: Keith Packard <keithp@keithp.com>
2311 commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
2312 Author: Keith Packard <keithp@keithp.com>
2313 Date: Mon Dec 22 19:11:56 2008 -0800
2315 Add more commands to s51 assembly-language debugger
2317 Signed-off-by: Keith Packard <keithp@keithp.com>
2319 commit 55eba4fa08b022197106245d36a70f575a070b0a
2320 Author: Keith Packard <keithp@keithp.com>
2321 Date: Mon Dec 22 19:10:27 2008 -0800
2323 Make read_memory debug output use ccdbg_debug.
2325 This makes it default to not being presented, which makes s51 much happier
2327 Signed-off-by: Keith Packard <keithp@keithp.com>
2329 commit e75918f3667a5c8ad294bec4acef6fe81682edf6
2330 Author: Keith Packard <keithp@keithp.com>
2331 Date: Sun Dec 21 23:33:35 2008 -0800
2333 Add preliminary version of s51, a UI clone of the 8051 emulator.
2335 sdcdb provides source-level debugging using the 8051 emulator, s51. By
2336 emulating that emulator a the UI level, we should be able to get source
2337 debugging right on our target platform.
2339 This is just the preliminary structure for the program with most commands
2340 not yet implemented.
2342 commit f7d49868aeae80d515b12a7e339628f1296754a6
2343 Author: Keith Packard <keithp@keithp.com>
2344 Date: Sat Dec 20 23:30:06 2008 -0800
2346 Cleanup work; separating out the cp interface to be more abstract.
2348 Signed-off-by: Keith Packard <keithp@keithp.com>
2350 commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
2351 Author: Keith Packard <keithp@keithp.com>
2352 Date: Fri Dec 19 21:13:04 2008 -0800
2354 Clean up autotools stuff.
2356 Signed-off-by: Keith Packard <keithp@keithp.com>
2358 commit 9025eb792861930e6af918d2727c4f5d97a69936
2359 Author: Keith Packard <keithp@keithp.com>
2360 Date: Fri Dec 19 21:11:45 2008 -0800
2364 Signed-off-by: Keith Packard <keithp@keithp.com>
2366 commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
2367 Author: Keith Packard <keithp@keithp.com>
2368 Date: Fri Dec 19 19:08:13 2008 -0800
2372 commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
2373 Author: Keith Packard <keithp@keithp.com>
2374 Date: Fri Dec 19 19:07:37 2008 -0800
2376 Move blink example to subdir
2378 Signed-off-by: Keith Packard <keithp@keithp.com>
2380 commit 82e2d7ebed6682062dc400478c736bd6c91195c9
2381 Author: Keith Packard <keithp@keithp.com>
2382 Date: Fri Dec 19 19:04:26 2008 -0800
2384 Clean up makefiles, move ihx files to .ihx
2386 commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
2387 Author: Keith Packard <keithp@keithp.com>
2388 Date: Fri Dec 19 14:39:57 2008 -0800
2392 commit 4ecfc33f16aa36b315519e6f279da65374b67aba
2393 Author: Keith Packard <keithp@keithp.com>
2394 Date: Fri Dec 19 14:37:53 2008 -0800
2396 Add cc1111 isr stub example
2398 commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
2399 Author: Keith Packard <keithp@keithp.com>
2400 Date: Fri Dec 19 14:37:29 2008 -0800
2402 Add blink-tiny flash and ram versions
2404 commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
2405 Author: Keith Packard <keithp@keithp.com>
2406 Date: Fri Dec 19 14:19:29 2008 -0800
2408 Flash multiple pages. Eliminate off-by-one error in hex_image length.
2410 Signed-off-by: Keith Packard <keithp@keithp.com>
2412 commit 55995515b9d4fc1e193039eab697c5d03db417c2
2413 Author: Keith Packard <keithp@keithp.com>
2414 Date: Fri Dec 19 11:04:16 2008 -0800
2416 Add flash writing code.
2418 Signed-off-by: Keith Packard <keithp@keithp.com>
2420 commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
2421 Author: Keith Packard <keithp@keithp.com>
2422 Date: Thu Dec 18 12:37:32 2008 -0800
2426 Signed-off-by: Keith Packard <keithp@keithp.com>
2428 commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
2429 Author: Keith Packard <keithp@keithp.com>
2430 Date: Thu Dec 18 12:17:41 2008 -0800
2434 Signed-off-by: Keith Packard <keithp@keithp.com>
2436 commit dc03adc179669d41e3551d74b3c5a60db41ff217
2437 Author: Keith Packard <keithp@keithp.com>
2438 Date: Thu Dec 18 12:07:06 2008 -0800
2440 Add ability to load Intel HEX files. Add sample sdcc LED blinker.
2442 Signed-off-by: Keith Packard <keithp@keithp.com>
2444 commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
2445 Author: Keith Packard <keithp@keithp.com>
2446 Date: Thu Dec 18 00:18:50 2008 -0800
2448 Add ability to read/write arbitrary memory. Write LED blinker program.
2450 Signed-off-by: Keith Packard <keithp@keithp.com>
2452 commit 8c879bf51c14a5928135d59211facd72f6a32808
2453 Author: Keith Packard <keithp@keithp.com>
2454 Date: Wed Dec 17 23:15:47 2008 -0800
2456 Move manual bit-banging debug code to separate file
2458 Signed-off-by: Keith Packard <keithp@keithp.com>
2460 commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
2461 Author: Keith Packard <keithp@keithp.com>
2462 Date: Wed Dec 17 23:15:19 2008 -0800
2464 reduce clock to 50us
2466 Signed-off-by: Keith Packard <keithp@keithp.com>
2468 commit fa168f963f8b00144d12aa2770e9c0917cfae123
2469 Author: Keith Packard <keithp@keithp.com>
2470 Date: Wed Dec 17 23:12:59 2008 -0800
2472 Fill out ccdbg-command to support all debug commands.
2474 Signed-off-by: Keith Packard <keithp@keithp.com>
2476 commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
2477 Author: Keith Packard <keithp@keithp.com>
2478 Date: Wed Dec 17 22:24:59 2008 -0800
2480 Clean up bitbanging layer. Add debug printfs.
2482 Signed-off-by: Keith Packard <keithp@keithp.com>
2484 commit 584e28bac8af38de433767e017977ed1adddeb36
2485 Author: Keith Packard <keithp@keithp.com>
2486 Date: Wed Dec 17 12:32:15 2008 -0800
2488 Clean up sample debug files
2490 Signed-off-by: Keith Packard <keithp@keithp.com>
2492 commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
2493 Author: Keith Packard <keithp@keithp.com>
2494 Date: Mon Dec 8 17:25:28 2008 -0800
2496 Add support for input-only lines (-)
2498 commit 4f38974a9941cddaba27c17c5a46f923db386c94
2499 Author: Keith Packard <keithp@keithp.com>
2500 Date: Sat Dec 6 16:32:27 2008 -0800
2504 commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
2505 Author: Keith Packard <keithp@keithp.com>
2506 Date: Sat Dec 6 16:32:12 2008 -0800
2508 Add libusb support and lots more examples
2510 commit 39801e6e9fb9388072ee414a447f74095a6ac960
2511 Author: Keith Packard <keithp@keithp.com>
2512 Date: Fri Nov 28 22:57:07 2008 -0800
2516 commit 01cb2799875e086ee6096627c058ee235bbc33d5
2517 Author: Keith Packard <keithp@keithp.com>
2518 Date: Thu Nov 27 17:07:15 2008 -0800
2520 Add prototypes, add stub mainline, add .gitignore
2522 commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
2523 Author: Keith Packard <keithp@keithp.com>
2524 Date: Thu Nov 27 12:33:40 2008 -0800
2526 cc1111 debug port access through cp2103 serial chip