1 commit 82fdbfe1229d1ea5e6906ea240d54b3da73d9a69
2 Author: Keith Packard <keithp@keithp.com>
3 Date: Sat Feb 20 21:35:43 2010 -0800
5 Must install .map files for ao-load to work
7 ao-load uses the .map files to rewrite the serial number and other
8 config parameters into the program flash.
10 Signed-off-by: Keith Packard <keithp@keithp.com>
12 commit a5215c2bd9249a285fc834db0c453fb3e7daed87
13 Author: Keith Packard <keithp@keithp.com>
14 Date: Sat Feb 20 21:20:05 2010 -0800
16 Add back stack size checking to altos linking phase
18 This verifies that the stack start specified during the compile
19 will work with the resulting program
21 Signed-off-by: Keith Packard <keithp@keithp.com>
23 commit 18eeb79026f7e5c54bf99435537c024427011a36
24 Author: Keith Packard <keithp@keithp.com>
25 Date: Sat Feb 20 21:05:45 2010 -0800
29 This borrows ideas from the notmuch project to reduce the command line
30 clutter seen when compiling or linking stuff.
32 Signed-off-by: Keith Packard <keithp@keithp.com>
34 commit 004c2a9b7a4b44ef71ca60482573e8e9d8c6ce93
35 Author: Keith Packard <keithp@keithp.com>
36 Date: Sat Feb 20 20:36:08 2010 -0800
38 Update .gitignore files
40 commit 84c93bb2fc4558a5e4654794ba90e730a84eaf67
41 Author: Keith Packard <keithp@keithp.com>
42 Date: Sat Feb 20 20:22:16 2010 -0800
44 Change altos build process to support per-product compile-time changes
46 This creates per-product subdirectories and recompiles everything for
47 each product, allowing per-product compile-time changes for things
48 like peripheral pin assignments and attached serial devices.
50 Signed-off-by: Keith Packard <keithp@keithp.com>
52 commit fd0a42e0e96dcb8ecc9e999f70bcf70692692af9
53 Author: Keith Packard <keithp@keithp.com>
54 Date: Sat Feb 20 20:21:07 2010 -0800
56 Change barometer conversion code to shrink conversion table
58 commit 876e9a10b9096ead85fbe08ec9a6a0329cf7cbd4
59 Author: Keith Packard <keithp@keithp.com>
60 Date: Sat Feb 13 16:42:27 2010 -0800
62 Log GPS data on pad after boost detect.
64 This wakes up the two GPS reporting tasks and gets them to report out
65 any existing GPS data to the log file. To make sure the timestamps in
66 that GPS data are accurate, this also records GPS time on receipt of
67 the GPS data instead of when that is logged.
69 Signed-off-by: Keith Packard <keithp@keithp.com>
71 commit c83615567b4567f3dc45a7f7b894943b45fbb65c
72 Author: Keith Packard <keithp@keithp.com>
73 Date: Sun Feb 7 00:25:22 2010 -0800
75 Pull in a bit more data for filtering the start of the boost
77 commit f8967607b3dda0c0ce7afe8bb077da2da5ed3dcd
78 Author: Keith Packard <keithp@keithp.com>
79 Date: Sun Feb 7 00:24:56 2010 -0800
81 Compute daytime using GPS as time base
83 commit 2a6350149407c7d2e7d143906c40c5e331248aeb
84 Author: Keith Packard <keithp@keithp.com>
85 Date: Thu Feb 11 18:48:56 2010 -0800
87 Missing ao_mutex_put in gps_dump
89 commit 9856b7c4397afcecc8f541af9a83824e817b3612
90 Author: Keith Packard <keithp@keithp.com>
91 Date: Sun Jan 10 16:31:50 2010 -0800
93 Switch to using internal cc1111 temperature sensor
95 v0.2 has no temperature sensor, and several of the v0.1 boards didn't
96 get a temperature sensor loaded. Use the internal temperature sensor
97 on the cc1111 in all cases instead.
99 Signed-off-by: Keith Packard <keithp@keithp.com>
101 commit 0c2533be15858774ef9381aa8c8344356fd5b971
102 Author: Keith Packard <keithp@keithp.com>
103 Date: Sat Jan 9 22:06:19 2010 -0800
105 Force idle mode by shorting the SPI clock to ground at boot time.
107 This allows you to override the flight mode detection code in case the
108 accelerometer calibration is broken somehow. Hold the SPI clock shoted
109 to ground until the LED comes on, then remove it.
111 Signed-off-by: Keith Packard <keithp@keithp.com>
113 commit 28346736a7799c0767e54511d9949cd61d35e471
114 Author: Keith Packard <keithp@keithp.com>
115 Date: Sat Jan 9 20:57:48 2010 -0800
117 Add simple gps dump command 'g'
119 This just dumps out the data in a very simple format to verify the GPS
122 Signed-off-by: Keith Packard <keithp@keithp.com>
124 commit a6082a8b4501ac4cb18584ace1f0c40e088e5484
125 Author: Keith Packard <keithp@keithp.com>
126 Date: Sat Jan 9 20:57:29 2010 -0800
128 Remove flash debugging printfs
130 Signed-off-by: Keith Packard <keithp@keithp.com>
132 commit 05bb953830604721c9a49dd56256b86f3666b5ff
133 Author: Keith Packard <keithp@keithp.com>
134 Date: Sat Jan 9 20:42:57 2010 -0800
136 Don't set ao_flash_setup_done until we're actually done.
138 Because we're accessing this variable outside of the mutex, we need to
139 make sure it isn't set until the data it covers has been initialized.
141 Signed-off-by: Keith Packard <keithp@keithp.com>
143 commit 327e5e782958e516a7b7a786ab6c176b0decb8b8
144 Author: Keith Packard <keithp@keithp.com>
145 Date: Sat Jan 9 20:04:42 2010 -0800
147 Dump config block from read/write config and flash_status commands
149 commit 05e5bb2d330b755967d06fb859585c81f5f5fbb5
150 Author: Keith Packard <keithp@keithp.com>
151 Date: Sat Jan 9 19:46:46 2010 -0800
153 Dump more flash parameters for the flash_status command
155 commit d4c8895b349998e02e03ed83466a0ca7afb3d99b
156 Author: Keith Packard <keithp@keithp.com>
157 Date: Sat Jan 9 17:57:52 2010 -0800
159 Add 'f' command to display flash status register contents
161 Signed-off-by: Keith Packard <keithp@keithp.com>
163 commit c1334f712f01543adb10809bc1a3ca120e27290b
164 Author: Keith Packard <keithp@keithp.com>
165 Date: Sat Jan 9 09:55:04 2010 -0800
167 Add at45db161d.h header file for new flash part.
169 Forgot to add this when I added the driver.
171 Signed-off-by: Keith Packard <keithp@keithp.com>
173 commit a0d4c1b06d27e850d233f8ddf8fe32912bf0ec8f
174 Author: Keith Packard <keithp@keithp.com>
175 Date: Sat Jan 9 01:29:41 2010 -0800
177 Remove green LED and temp sensor from v0.2 code
179 Signed-off-by: Keith Packard <keithp@keithp.com>
181 commit dc8d18736239b14c2ec48a40a01515912c5c25e6
182 Author: Keith Packard <keithp@keithp.com>
183 Date: Sat Jan 9 01:22:06 2010 -0800
185 Add AT45DBxx1D driver
187 This driver supports the AT45DB011D through AT45DB321D DataFlash
188 parts as found in TeleMetrum v0.2
190 Signed-off-by: Keith Packard <keithp@keithp.com>
192 commit 3bab7e66d25988f5d63ec139c8814a85b983f8f3
193 Author: Keith Packard <keithp@keithp.com>
194 Date: Sat Dec 19 20:32:18 2009 -0800
196 Remove dbg driver code from telemetrum/teledongle
198 The only board with debug outputs is the TI dongle at this point, so
199 the debug modules were disabled in TM and TD some time
200 ago. Unfortunately, the code was not removed then.
202 Signed-off-by: Keith Packard <keithp@keithp.com>
204 commit eddb82390a0ecb07ef83c04861993842906b03ab
205 Author: Keith Packard <keithp@keithp.com>
206 Date: Sat Dec 19 15:31:36 2009 -0800
208 Ensure that ao_alarm waits at least the specified time
210 Because the timer tick may happen soon, it's important to delay by
211 another tick to ensure that we don't wake up early.
213 Signed-off-by: Keith Packard <keithp@keithp.com>
215 commit 598d168bd6552c3756e4b0267de44147eadab9f6
216 Author: Keith Packard <keithp@keithp.com>
217 Date: Sat Dec 19 14:03:11 2009 -0800
219 Disable monitor mode before attempting radio test.
221 If monitor mode is left active, then the radio lock will not be able
222 to be acquired for the radio test.
224 Signed-off-by: Keith Packard <keithp@keithp.com>
226 commit d4cf1446680d8b47396bcda338e8df7af395d102
227 Author: Bdale Garbee <bdale@gag.com>
228 Date: Sat Dec 19 13:53:38 2009 -0700
230 update changelogs for Debian build
232 commit 10d1bbcd9709a5eee8d50989215242b16feb7232
233 Author: Keith Packard <keithp@keithp.com>
234 Date: Sat Dec 19 11:34:16 2009 -0800
236 Use ao_radio_get/ao_radio_put in packet code.
238 The ao_radio_get function both acquires the mutex *and* configures the
239 radio channel and frequency. Failing to use this in the packet code
240 would leave the radio frequency unconfigured.
242 Signed-off-by: Keith Packard <keithp@keithp.com>
244 commit a15abc1882a3bdd2c980eed169f3b80337528390
245 Author: Bdale Garbee <bdale@gag.com>
246 Date: Sat Dec 19 12:15:29 2009 -0700
248 update changelogs for Debian build
250 commit bbb152c712801653374a8f82869e2e8bf41f7279
251 Author: Bdale Garbee <bdale@gag.com>
252 Date: Sat Dec 19 12:05:40 2009 -0700
254 update changelogs for Debian build
256 commit 7ac8efea5d60b81adccdc1e38ac4c13facfae7c9
257 Author: Keith Packard <keithp@keithp.com>
258 Date: Tue Dec 15 23:58:29 2009 -0800
260 Add --cal to man page
262 commit 5481082b18226a0de6b377215b3b330bdbc4a6c6
263 Author: Keith Packard <keithp@keithp.com>
264 Date: Sat Dec 5 19:50:38 2009 -0800
266 Allow radio calibration to be set from ao-load
268 This moves the initial radio calibration value into const memory where
269 it will be used if no eeprom configuration value is available, either
270 on an unprogrammed board with eeprom or a device without an eeprom.
272 Signed-off-by: Keith Packard <keithp@keithp.com>
274 commit 46f03ab3145a61139c8ca6fc99e8f2798728b5a9
275 Author: Keith Packard <keithp@keithp.com>
276 Date: Sat Dec 5 15:36:12 2009 -0800
278 Re-order config values. Change frequency to cal
280 Place more often used values at top, and consistently call the radio
281 value 'calibration' instead of 'frequency'.
283 Signed-off-by: Keith Packard <keithp@keithp.com>
285 commit bf29a62532fec12e6af2d2f3a6624882c863e933
286 Author: Bdale Garbee <bdale@gag.com>
287 Date: Sat Dec 5 11:03:42 2009 -0700
289 update changelogs for Debian build
291 commit cd49847f3125df1733f298b56a43e8027ab5ce05
292 Author: Keith Packard <keithp@keithp.com>
293 Date: Fri Dec 4 23:38:26 2009 -0800
295 Add radio calibration configuration.
297 The crystal we use is only good for 20ppm, which generates a fairly
298 significant error bounds at our RF frequency. This commit adds a
299 configuration variable that sets the RF frequency control variable so
300 that the output frequency can be adjusted.
302 Signed-off-by: Keith Packard <keithp@keithp.com>
304 commit c671a3f31f54715284beef5baa4a72ca922e4018
305 Author: Keith Packard <keithp@keithp.com>
306 Date: Fri Dec 4 23:36:54 2009 -0800
308 Make ao_cmd_decimal produce both 32 and 16 bit values.
310 ao_cmd_lex_u32 is produced in addition to ao_cmd_lex_i so that
311 functions can easily read 32-bit values from the command line.
313 Signed-off-by: Keith Packard <keithp@keithp.com>
315 commit e6d6ad66ce177eb6e49eaa04b1ecc6426f4bbdbf
316 Author: Keith Packard <keithp@keithp.com>
317 Date: Fri Dec 4 23:35:40 2009 -0800
319 Remove send_serial and serial_baud commands.
321 No longer useful, and they take up space.
323 Signed-off-by: Keith Packard <keithp@keithp.com>
325 commit ce7325cefbbe91054c1e8174cf40a6c687f6694b
326 Author: Bdale Garbee <bdale@gag.com>
327 Date: Fri Dec 4 21:02:07 2009 -0700
329 update changelogs for Debian build
331 commit 9a1d7dd78c07d18954ef620b6ed25d6701df21e2
332 Author: Keith Packard <keithp@keithp.com>
333 Date: Fri Dec 4 14:35:39 2009 -0800
335 Change default callsign to "N0CALL"
337 commit 291e2004e77debdc1543912cf11043c849305de8
338 Author: Bdale Garbee <bdale@gag.com>
339 Date: Thu Nov 26 11:18:37 2009 -0700
341 update changelogs for Debian build
343 commit 40533095a96b6c6364eebdc4b7d53c4eabe72e9a
344 Author: Bdale Garbee <bdale@gag.com>
345 Date: Thu Nov 26 11:16:04 2009 -0700
347 update changelogs for Debian build
349 commit ab1075e7219b02258c1613d93379582be4168947
350 Author: Bdale Garbee <bdale@gag.com>
351 Date: Thu Nov 26 11:15:13 2009 -0700
353 change home URL in control file to be the AltOS page
355 commit d34dcc5f3616e59ee90ed172770fe2a3eb1e0cac
356 Author: Bdale Garbee <bdale@gag.com>
357 Date: Thu Nov 26 10:40:07 2009 -0700
359 fix absolute path in debian/dirs, add Suggests for slim-altusmetrum
361 commit ea40561b36519a5dcabedabe18672b79ea5e9993
362 Author: Bdale Garbee <bdale@gag.com>
363 Date: Sun Nov 22 10:18:44 2009 -0700
365 update changelogs for Debian build
367 commit d6ba07e885bdc62ba64719c9d8cc42fcecbcb09d
368 Author: Keith Packard <keithp@keithp.com>
369 Date: Sun Nov 22 01:10:44 2009 -0800
371 Automatically extract flight number for eeprom and telem filenames.
373 Extract flight number from either telemetry or eeprom files and use
374 that in the resulting filenames. To ensure that files remain unique,
375 add a new field, -seq-%03d. This is appended only when the sequence
376 number is non-zero as it shouldn't occur in normal usage.
378 This also eliminates some duplicate filename creation code in the
379 library and aoview sources.
381 Signed-off-by: Keith Packard <keithp@keithp.com>
383 commit 06cebd1026dc1bd6ee51526fa2d02905df3b3b37
384 Author: Keith Packard <keithp@keithp.com>
385 Date: Sun Nov 22 00:52:58 2009 -0800
387 ao-postflight: don't try to use missing gps sat data
389 Signed-off-by: Keith Packard <keithp@keithp.com>
391 commit a9ada1b538af3308e1b22bd024d9204521184173
392 Author: Keith Packard <keithp@keithp.com>
393 Date: Sat Nov 21 22:12:21 2009 -0800
395 ao-postflight: compute barometric alt for each GPS position
397 Print that to the --gps file, and use that in the --kml file for the
398 altitude. Gives a very different picture of our flight tracks,
399 presumably far more accurate (at least in altitude).
401 Signed-off-by: Keith Packard <keithp@keithp.com>
403 commit b84b634d9ae8ce6ab1c02833a3ed8514404e1ca3
404 Author: Keith Packard <keithp@keithp.com>
405 Date: Sat Nov 21 22:11:45 2009 -0800
407 Don't crash if --plot isn't passed on ao-postflight command line
409 Crashing is not nice.
411 Signed-off-by: Keith Packard <keithp@keithp.com>
413 commit 2d77c18b15834046b7b79d49d87211828f2409e9
414 Author: Keith Packard <keithp@keithp.com>
415 Date: Sat Nov 21 21:10:09 2009 -0800
417 Convert telemetry file GPS satellite information in cc_log_read
419 The satellite info wasn't being correctly converted from telemetry
420 files to the data log structure, so ao-postflight was not seeing it.
422 Signed-off-by: Keith Packard <keithp@keithp.com>
424 commit 1e7fb61700f1f6f2ed5fdbc4380d7187b0cd187b
425 Author: Keith Packard <keithp@keithp.com>
426 Date: Sat Nov 21 21:09:03 2009 -0800
428 Fix --plot arg handling. Add -all option.
430 The --plot file name handing is special as the library wants a
431 filename instead of a stdio file pointer.
433 Add a --all option that just creates all of the possible outputs.
435 Signed-off-by: Keith Packard <keithp@keithp.com>
437 commit 199f0cecae22645140185238682b9e1aba0e5715
438 Author: Keith Packard <keithp@keithp.com>
439 Date: Sat Nov 21 20:36:20 2009 -0800
441 Make TD print 0000-00-00 for invalid dates.
443 This 'shouldn't' happen, but in case it does, I want to know about it.
445 Signed-off-by: Keith Packard <keithp@keithp.com>
447 commit 238d03462a56dc1b7c871608cb00f961a88c1b97
448 Author: Keith Packard <keithp@keithp.com>
449 Date: Sat Nov 21 20:35:22 2009 -0800
451 Make ao-postflight create filenames using input filenames.
453 Instead of requiring the user to provide names for the various output
454 options, just create them from the input name by replacing the extension.
456 Signed-off-by: Keith Packard <keithp@keithp.com>
458 commit 1a3b4c02a01187f8b7b9a9c97712476d0007ab35
459 Author: Keith Packard <keithp@keithp.com>
460 Date: Sat Nov 21 19:52:26 2009 -0800
462 Document ao-postflight --gps and --kml options.
464 These were missing from the man page, but included in the --help output.
466 Signed-off-by: Keith Packard <keithp@keithp.com>
468 commit 80b23f3044a654d61212891a61fadb8a3a4e5572
469 Author: Keith Packard <keithp@keithp.com>
470 Date: Sat Nov 21 18:57:45 2009 -0800
472 Decode HDOP data from skytraq GPS
474 The hdop data was getting dropped on the floor, but is rather useful
475 when deciding if the GPS position is crazy or not. This reports HDOP *
476 5 (giving a useful range of .2-50).
478 Signed-off-by: Keith Packard <keithp@keithp.com>
480 commit 8f036ee7cd30ce3ed2e5cc8501914a4c19b73875
481 Author: Bdale Garbee <bdale@gag.com>
482 Date: Fri Nov 20 13:19:02 2009 -0700
484 update changelogs for Debian build
486 commit 87e6f3e5c1688503ab8595912d8d6eb7139830b7
487 Author: Keith Packard <keithp@keithp.com>
488 Date: Fri Nov 20 12:16:37 2009 -0800
490 Eliminate SiRF state values from ao-view.
492 With Skytraq not having any visible GPS state information, just
493 remove this from the display.
495 Signed-off-by: Keith Packard <keithp@keithp.com>
497 commit 8065b8146a31438e66f83c13b99281ec47439a73
498 Author: Keith Packard <keithp@keithp.com>
499 Date: Fri Nov 20 11:56:48 2009 -0800
501 Add GPS date/time output to ao-postflight.
503 GPS date/time information was already being stored in the log, it just
504 wasn't getting displayed by ao-postflight.
506 Signed-off-by: Keith Packard <keithp@keithp.com>
508 commit 6894541e0ee144bfc689cc02d4ed333711d3b500
509 Author: Keith Packard <keithp@keithp.com>
510 Date: Fri Nov 20 11:55:28 2009 -0800
512 Reduce igniter firing time from 500ms to 50ms.
514 Given that the system will brown-out with the longer pulse, it doesn't
515 make sense to even try; failure at 50ms probably indicates a short.
517 Signed-off-by: Keith Packard <keithp@keithp.com>
519 commit b75aa1c825b84bd7fa1578320fbc7e904c373a7d
520 Author: Bdale Garbee <bdale@gag.com>
521 Date: Thu Nov 19 21:43:13 2009 -0700
525 commit c2f661b75ec035f6a3f700962290ef297f9ab0af
526 Author: Bdale Garbee <bdale@gag.com>
527 Date: Fri Nov 20 11:44:06 2009 -0700
529 update changelogs for Debian build
531 commit b0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa
532 Author: Keith Packard <keithp@keithp.com>
533 Date: Sun Nov 15 16:20:18 2009 -0800
535 Stop using SiRF state info.
537 With the switch to the skytraq GPS unit, we don't have the same level
538 of detail in the GPS stream, so stop reporting that in the telemetry
539 stream, in the UI and writing it to eeprom.
541 Signed-off-by: Keith Packard <keithp@keithp.com>
543 commit 524665fc221b0d483453c67b7211e282cebc8980
544 Author: Keith Packard <keithp@keithp.com>
545 Date: Sun Nov 15 16:04:41 2009 -0800
547 Add date to GPS data, captured from GPRMC packet.
549 Pull the date out of the GPS stream and send it over the telemetry
550 link and write it to the eeprom.
552 Signed-off-by: Keith Packard <keithp@keithp.com>
554 commit 3ee279ba76c2a79d142c466f19ef758cf4c01d70
555 Author: Keith Packard <keithp@keithp.com>
556 Date: Sun Nov 15 15:59:01 2009 -0800
558 Add flight number to telemetry stream.
560 This makes it easier to tie the telemetry and eeprom files together as
561 they're now both labeled with serial and flight numbers, which should
564 Signed-off-by: Keith Packard <keithp@keithp.com>
566 commit 6391c89bd5b89f5f46255b8365c658a873e5959a
567 Author: Keith Packard <keithp@keithp.com>
568 Date: Sun Nov 15 15:53:01 2009 -0800
570 Switch order of serial/flight in ao-postflight summary
572 commit 9b06e294e2777f69bcf5e98789c3f5477097d53b
573 Author: Keith Packard <keithp@keithp.com>
574 Date: Sun Nov 15 15:51:58 2009 -0800
576 Enable telemetry receive in ao_view
578 commit 4cffc9c4b079e39c8196ddbaf91129cda6df7f8b
579 Author: Keith Packard <keithp@keithp.com>
580 Date: Sat Nov 14 22:24:37 2009 -0800
582 Share telemetry parsing code in cc library.
584 ao-view had a private copy of the telemetry parsing code which
585 included the ability to parse the newer version of that file. Those
586 changes have been moved to the library version and the private copy removed.
588 Signed-off-by: Keith Packard <keithp@keithp.com>
590 commit 0e0db8ca3af4c07bae909938486766c646bf580b
591 Author: Keith Packard <keithp@keithp.com>
592 Date: Sat Nov 14 22:24:09 2009 -0800
594 Provide a dummy 'uninstall' target in the src directory.
596 Signed-off-by: Keith Packard <keithp@keithp.com>
598 commit 1c654a9369294c9b8066c33f91161d8005b96680
599 Author: Keith Packard <keithp@keithp.com>
600 Date: Sat Nov 14 22:17:24 2009 -0800
602 Loosen tolerances for main->landed transition
604 Detecting that the rocket has landed is required for the system to
605 flush the eeprom log and re-enable the RDF beacon. This patch changes
606 the landed state entry requirements for the accelerometer to require
607 only that the accelerometer stay within a quarter of a g (down from
608 1/10g) and changes the testing interval from 20 seconds to 5
611 The requirement that the barometric altitude be within 1000m of the
612 launch altitude and that the barometer change by no more than 0.05kPa
615 Signed-off-by: Keith Packard <keithp@keithp.com>
617 commit 03092d1a72a9651711e22c58dca6d6aba5705c5e
618 Author: Keith Packard <keithp@keithp.com>
619 Date: Sat Nov 14 16:35:12 2009 -0800
621 ao-postflight: fix sloppy gps sat data realloc code (was crashing).
623 Realloc'ing the wrong data, and failing to set the realloc'ed size was
624 causing ao-postflight to crash while reading long logs.
626 Signed-off-by: Keith Packard <keithp@keithp.com>
628 commit adf656192441eb7f44792955c86e469145477e29
629 Author: Keith Packard <keithp@keithp.com>
630 Date: Thu Nov 5 22:11:59 2009 -0800
632 Return radio to telemetry settings when packet system closed.
634 To receive telemetry after disabling the packet system, the radio must
635 be reconfigured for telemetry mode.
637 Signed-off-by: Keith Packard <keithp@keithp.com>
639 commit 83afdbdc154fe013bfe35ce5ecf1d61570b04ed6
640 Author: Keith Packard <keithp@keithp.com>
641 Date: Thu Nov 5 21:45:00 2009 -0800
645 This resets the processor using the watchdog timer.
647 Signed-off-by: Keith Packard <keithp@keithp.com>
649 commit 0358988ac0ee25a564d48af79b1c3fb0c0fe0a88
650 Author: Keith Packard <keithp@keithp.com>
651 Date: Thu Nov 5 21:44:31 2009 -0800
653 Add Watchdog Timer Control register definitions
655 Signed-off-by: Keith Packard <keithp@keithp.com>
657 commit 4114210e0b813f4af99d0cb7755ad2ac2c4b120e
658 Author: Keith Packard <keithp@keithp.com>
659 Date: Thu Nov 5 21:43:21 2009 -0800
661 Move ao_match_word from ao_ignite.c to ao_cmd.c
663 This is a generally useful command line utility.
665 Signed-off-by: Keith Packard <keithp@keithp.com>
667 commit 5a79a04ddb0b3ee64de34e366f71a0f6db509c01
668 Author: Keith Packard <keithp@keithp.com>
669 Date: Wed Nov 4 21:59:51 2009 -0800
671 Stop recording in ao-dumplog after receiving an invalid block
673 If no samples in a block are valid, assume the flight log is over.
675 Signed-off-by: Keith Packard <keithp@keithp.com>
677 commit 843ee489aac34ad6d81f55f1c85fb9eecc42d86b
678 Author: Keith Packard <keithp@keithp.com>
679 Date: Wed Nov 4 21:59:12 2009 -0800
681 Flush pending input when switching to remote packet mode
683 Any pending input would just confuse the application, so pull it off
684 the link and dump it.
686 Signed-off-by: Keith Packard <keithp@keithp.com>
688 commit 036400a2db303f3db3be7cc0426f88359c6bd2b1
689 Author: Keith Packard <keithp@keithp.com>
690 Date: Wed Nov 4 21:42:51 2009 -0800
692 Explicitly use USB I/O routines in packet code
694 Using the implicit stdio functions (putchar/getchar/flush) would
695 result in essentially random redirection of each, depending on whether
696 the packet code had characters available when getchar was called. This
697 would cause lockups in putchar.
699 Signed-off-by: Keith Packard <keithp@keithp.com>
701 commit 3ece984f4d72b4f720a5efdfaad7cff77a93d676
702 Author: Keith Packard <keithp@keithp.com>
703 Date: Wed Nov 4 21:32:07 2009 -0800
705 In USB pollchar, wait for packet before re-checking USB out len
707 This probably wouldn't actually cause a problem, but it seems more
708 reliable to wait for a packet interrupt before re-reading the packet
709 OUT len register. This could avoid spinning while waiting for a USB
710 packet, which seems like a good thing.
712 Signed-off-by: Keith Packard <keithp@keithp.com>
714 commit bc62bb254085cc705203b57260c04ac5e14c6611
715 Author: Keith Packard <keithp@keithp.com>
716 Date: Wed Nov 4 21:29:37 2009 -0800
718 In packet master, move USB flush from packet thread to echo thread
720 This keeps the packet thread from blocking on USB and also makes the
721 flush happen after every packet (slightly more USB traffic, but
722 packets are slow anyway).
724 Signed-off-by: Keith Packard <keithp@keithp.com>
726 commit 27ebaf8e13aed06bb1ea6e770f767495a02be6c5
727 Author: Keith Packard <keithp@keithp.com>
728 Date: Tue Nov 3 01:27:37 2009 -0800
730 Add ability to dump eeprom data over radio link.
732 This adds a '-R' option to ao-dumplog to redirect the connection
733 through a USB attached TeleDongle over the radio link to a remote
736 Signed-off-by: Keith Packard <keithp@keithp.com>
738 commit 1de322b960005c9a16051afa1881fadb00f4bcd6
739 Author: Keith Packard <keithp@keithp.com>
740 Date: Tue Nov 3 00:40:38 2009 -0800
742 Pass accel calibration over telemetry stream. Telemetry data format change.
744 This allows the ground station to convert the accelerometer sensor
745 values into acceleration and speed data. This requires a new telemetry
746 data structure, and so TeleMetrum and TeleDongle units must be updated
747 synchronously. ao-view will parse either telemetry stream, and the
748 serial format from TeleDongle now has a version number to allow for
751 Signed-off-by: Keith Packard <keithp@keithp.com>
753 commit b529e5e8998702986909111a457f3ce9932e1ccf
754 Author: Keith Packard <keithp@keithp.com>
755 Date: Mon Nov 2 23:48:29 2009 -0800
757 ao_flight_test was using accel value for pressure too
759 commit f57bea012d4fbca097df0d98fcd30eb4abd9701a
760 Author: Keith Packard <keithp@keithp.com>
761 Date: Mon Nov 2 21:47:41 2009 -0800
763 Reformat ADC values to show all 16 bits
765 commit 79718e798e96567f0ba11c61f187e432fdcf95ee
766 Author: Keith Packard <keithp@keithp.com>
767 Date: Mon Nov 2 21:48:16 2009 -0800
771 commit a4137263b69864c524d39c6ff88a0225fd06e79b
772 Author: Keith Packard <keithp@keithp.com>
773 Date: Mon Nov 2 21:47:15 2009 -0800
777 commit 47f510464907d2b9488109c96ade87a41d878842
778 Author: Keith Packard <keithp@keithp.com>
779 Date: Mon Nov 2 21:46:39 2009 -0800
781 Remove "l" command as ao-dumplong no longer uses it
783 commit 144db05f6b286a0450d486f69ce192632a2c0656
784 Author: Keith Packard <keithp@keithp.com>
785 Date: Mon Nov 2 21:38:18 2009 -0800
787 Add two-point accelerometer calibration.
789 Calibration now uses two values, one upside right and the other upside
790 down instead of a single horizontal value. This allows the use of
791 other accelerometers and compensates for variations in the divider
792 circuit to provide more accurate data.
794 commit 17611788aadc9460287145a340a7c18bf63766aa
795 Author: Bdale Garbee <bdale@gag.com>
796 Date: Mon Nov 2 16:54:06 2009 -0700
798 update changelogs for Debian build
800 commit 7db9d86178ecfd58cc1c17ac9fcbdcfd2f13aaec
801 Merge: b219801 f9de200
802 Author: Keith Packard <keithp@keithp.com>
803 Date: Mon Nov 2 15:47:40 2009 -0800
805 Merge remote branch 'origin/master'
807 commit b219801fb0e5eaff7778d21701da977104522da3
808 Author: Keith Packard <keithp@keithp.com>
809 Date: Mon Nov 2 15:45:58 2009 -0800
811 Add ao_usb_pollchar to ao.h
813 commit b92333ff5e75bf96804359e9fbf464d3b518bd95
814 Author: Keith Packard <keithp@keithp.com>
815 Date: Mon Nov 2 15:45:42 2009 -0800
817 Disable interrupts while removing tasks from task list
819 commit d519564fd08d2defe1211de83ccbdfa3c7cfe702
820 Author: Keith Packard <keithp@keithp.com>
821 Date: Mon Nov 2 15:45:07 2009 -0800
823 Add more docs to the README file
825 commit f9de20000794c97a04d5bc2476191864bd2af371
826 Author: Bdale Garbee <bdale@gag.com>
827 Date: Mon Nov 2 16:00:11 2009 -0700
829 update changelogs for Debian build
831 commit 127c3125e5a4b86b8f304bc2889e313688c3d83e
832 Author: Bdale Garbee <bdale@gag.com>
833 Date: Mon Nov 2 15:59:12 2009 -0700
835 update changelogs for Debian build
837 commit 6b1e77569e2fed3c44606ed268421df5d3ed4020
838 Author: Bdale Garbee <bdale@gag.com>
839 Date: Mon Nov 2 15:57:41 2009 -0700
841 update changelogs for Debian build
843 commit 8203bfa58af32a1d07a44c1c151b200df0b65f15
844 Author: Bdale Garbee <bdale@gag.com>
845 Date: Mon Nov 2 15:56:42 2009 -0700
847 de-version the libreadline-dev build dependency
849 commit 0b483233118673cbc2cda1be6acd379df82bc95a
850 Merge: ca5d323 550482d
851 Author: Keith Packard <keithp@keithp.com>
852 Date: Sun Nov 1 20:59:02 2009 -0800
854 Merge remote branch 'origin/master' into skytraq
856 commit ca5d323a3d206050d95f52a61e92c69e1f54e7b5
857 Author: Keith Packard <keithp@keithp.com>
858 Date: Sun Nov 1 20:57:03 2009 -0800
860 Enable packet-based communcation to command processor
862 This splits the packet code into master/slave halves and hooks the
863 slave side up to the getchar/putchar/flush logic in ao_stdio.c
865 Signed-off-by: Keith Packard <keithp@keithp.com>
867 commit 6c1a9ce16b966a21c885bf3be31cbcb85368b3fa
868 Author: Keith Packard <keithp@keithp.com>
869 Date: Sat Oct 31 01:30:22 2009 -0700
871 No need to wakeup &ao_tick_count now
873 commit cd0d495d7ef276956e730196476daa70a4359918
874 Author: Keith Packard <keithp@keithp.com>
875 Date: Sat Oct 31 01:20:26 2009 -0700
877 Poke master to speed up packet rate when things are busy
879 commit 442b1ef18c8320d4e5329dc92bb5268a36058fc5
880 Author: Keith Packard <keithp@keithp.com>
881 Date: Sat Oct 31 01:19:41 2009 -0700
883 Use ao_alarm for ao_delay so it can be easily interrupted
885 commit 4f7ed9ff484778381db647c27d2a34d0cadec41e
886 Author: Keith Packard <keithp@keithp.com>
887 Date: Fri Oct 30 23:53:03 2009 -0700
889 Do more flushing in packet test code
891 commit 6a7aa1810a90a9216160aec55ec4bd02b3240e1b
892 Author: Keith Packard <keithp@keithp.com>
893 Date: Fri Oct 30 23:52:44 2009 -0700
897 commit bf65e0b2a1299b49adc2d339ab9d9c7599aded9e
898 Author: Keith Packard <keithp@keithp.com>
899 Date: Fri Oct 30 23:52:22 2009 -0700
901 Send SYN packet to set sequence numbers
903 commit d46797e5c08d4955d516458185e2cfb51ee2d567
904 Author: Keith Packard <keithp@keithp.com>
905 Date: Fri Oct 30 23:51:38 2009 -0700
907 Use ao_radio_done to wait for TX to completely finish with packet
909 commit c5ec6fcfa1bd17aad0f85d2fbe603f1d125836e6
910 Author: Keith Packard <keithp@keithp.com>
911 Date: Fri Oct 30 23:50:54 2009 -0700
913 Switch packet code from timer thread to ao_alarm
915 commit b428faf74ae145126ec1da972028fcfe0b4b2b18
916 Author: Keith Packard <keithp@keithp.com>
917 Date: Fri Oct 30 23:48:36 2009 -0700
919 Remove reason from ao_dma_abort
921 commit 73db30b2f9128c37dc7fa075793a8862814ce044
922 Author: Keith Packard <keithp@keithp.com>
923 Date: Fri Oct 30 23:46:21 2009 -0700
927 commit 251b0971f049cbf2f8db79a32729d47441ce65f3
928 Author: Keith Packard <keithp@keithp.com>
929 Date: Fri Oct 30 23:45:43 2009 -0700
931 Wait for TX to finish sending data
933 commit 9b31f07fe3556896b3e997bba156e30ef5777a80
934 Author: Keith Packard <keithp@keithp.com>
935 Date: Fri Oct 30 23:43:52 2009 -0700
937 Add radio carrier command
939 commit 7b14c3e609749f4fc00dbd660541375048535218
940 Author: Keith Packard <keithp@keithp.com>
941 Date: Fri Oct 30 16:39:15 2009 -0700
943 Initial packet bits. Just testing transmission
945 commit 690fc263516d8beb6b24e86fbcd6588f42ce4e5c
946 Author: Keith Packard <keithp@keithp.com>
947 Date: Wed Oct 21 17:18:49 2009 +0900
949 Add keyhole-markup generation for ao-postflight.
951 This lets you see the flight path in googleearth.
953 Signed-off-by: Keith Packard <keithp@keithp.com>
955 commit b657aa209b9ea3b3efd33a940283b3ba60a169af
956 Author: Keith Packard <keithp@keithp.com>
957 Date: Fri Oct 16 12:59:53 2009 +0900
959 Add ao_wake_task and ao_exit
961 ao_wake_task signals a specific task to wake up.
962 ao_exit terminates the current task.
964 Signed-off-by: Keith Packard <keithp@keithp.com>
966 commit d709a0688eff84e25e24d755850ef045d6b0c3de
967 Author: Keith Packard <keithp@keithp.com>
968 Date: Fri Oct 16 12:56:45 2009 +0900
970 Save some DSEG space by marking cmd functions __reentrant
972 __reentrant causes the compiler to place args and locals on the stack
973 instead of in the data segment.
975 Signed-off-by: Keith Packard <keithp@keithp.com>
977 commit 550482d953c491a5ede9f2d243493afb13289898
978 Author: Bdale Garbee <bdale@gag.com>
979 Date: Mon Oct 12 16:58:46 2009 -0600
981 update changelogs for Debian build
983 commit 2de548f45d0f50b558acc83f57e1e2fc1223ab92
984 Author: Bdale Garbee <bdale@gag.com>
985 Date: Mon Oct 12 16:58:19 2009 -0600
987 oops, forgot to specify the repo to push to
989 commit 68008ac11c2735ca53a1b474324df43f2f1d5cdd
990 Author: Bdale Garbee <bdale@gag.com>
991 Date: Mon Oct 12 16:57:33 2009 -0600
993 update changelogs for Debian build
995 commit 513328ac5f7c25f9ee144ab6befbea60d69eed1a
996 Author: Bdale Garbee <bdale@gag.com>
997 Date: Mon Oct 12 16:56:50 2009 -0600
999 automate push of updated and tagged master branch during debian/rules prebuild
1001 commit 67bf7d388a6dd2dbf65575bf4f0423ad355b4f2f
1002 Author: Bdale Garbee <bdale@gag.com>
1003 Date: Mon Oct 12 16:54:44 2009 -0600
1005 update changelogs for Debian build
1007 commit 23bc21a93ccb9f35917f283ac5df6ce0870df71a
1008 Author: Bdale Garbee <bdale@gag.com>
1009 Date: Mon Oct 12 16:54:16 2009 -0600
1011 undue damage from partial build
1013 commit 7da56ad8576ef212ffb6cb573bdaf578453e3fe0
1014 Author: Bdale Garbee <bdale@gag.com>
1015 Date: Mon Oct 12 16:52:52 2009 -0600
1017 add support for tagging git repository on each Debian package build
1019 commit 8d4aa4ee54f85f4951cdd7293d58aaa405cfcdc5
1020 Author: Bdale Garbee <bdale@gag.com>
1021 Date: Mon Oct 12 16:49:34 2009 -0600
1023 update changelogs for Debian build
1025 commit 241a860fe856b1dfad6e792736313648300d5c24
1026 Author: Bdale Garbee <bdale@gag.com>
1027 Date: Mon Oct 12 16:48:43 2009 -0600
1029 flush repetitive junk out of debian/changelog, and update the prebuild target
1030 in debian/rules to put git commit details into the Debian changelog
1032 commit 6c4cdc927b43736b39be29d23ac3dc723f69e4d6
1033 Author: Bdale Garbee <bdale@gag.com>
1034 Date: Mon Oct 12 15:57:19 2009 -0600
1036 update changelogs for Debian build
1038 commit c57bd7fd2f80e50b0b4c87fccb024ab07c93773d
1039 Merge: adf8764 2b76572
1040 Author: Bdale Garbee <bdale@gag.com>
1041 Date: Mon Oct 12 15:57:08 2009 -0600
1043 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1045 commit 69b6f6bb465163cf767bb68e0e4a716d8ad2b39c
1046 Merge: bc77da6 2b76572
1047 Author: Keith Packard <keithp@keithp.com>
1048 Date: Sat Oct 10 17:16:21 2009 -0700
1050 Merge branch 'master' into skytraq
1052 commit 2b765728ce177e26899f6feef00bfdf6aeaf2678
1053 Author: Keith Packard <keithp@keithp.com>
1054 Date: Sat Oct 10 17:15:38 2009 -0700
1056 Add apogee igniter delay.
1058 Provide for a delay after apogee before the drogue charge is
1059 fired. This allows TM to be used as a back-up altimeter.
1061 Signed-off-by: Keith Packard <keithp@keithp.com>
1063 commit bc77da68c9cb7d4cca483eadbbb7e9ccf71c0060
1064 Merge: 46cccf6 8f7ea3d
1065 Author: Keith Packard <keithp@keithp.com>
1066 Date: Sat Oct 10 15:09:48 2009 -0700
1068 Merge branch 'master' into skytraq
1070 commit 8f7ea3de7037f40b0ff462b60d503c19431ae62b
1071 Author: Keith Packard <keithp@keithp.com>
1072 Date: Sat Oct 10 15:08:14 2009 -0700
1074 Report igniter continuity in pad/idle mode via beeper
1076 one short beep = drogue
1077 two short beeps = main
1078 three short beeps = both
1079 one long warble = neither
1081 In idle mode, it does this just once. In pad mode, it keeps testing
1084 Signed-off-by: Keith Packard <keithp@keithp.com>
1086 commit adf8764bc4591795ba4e618ccbd6393fc6ce6450
1087 Author: Bdale Garbee <bdale@gag.com>
1088 Date: Sat Oct 10 15:11:23 2009 -0600
1090 update changelogs for Debian build
1092 commit 541da6f3bbf81be93dfe3c01f7c8cfd757b28a2b
1093 Merge: dfc73cb 5f26ad6
1094 Author: Bdale Garbee <bdale@gag.com>
1095 Date: Sat Oct 10 15:05:50 2009 -0600
1097 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1099 commit 46cccf62fb40514b5930fcb2ffdaf2735415c764
1100 Merge: fb8f3fe 5f26ad6
1101 Author: Keith Packard <keithp@keithp.com>
1102 Date: Sat Oct 10 14:00:03 2009 -0700
1104 Merge branch 'master' into skytraq
1106 commit 5f26ad663b3f60dddc9d967206e365f45dc4acd1
1107 Author: Keith Packard <keithp@keithp.com>
1108 Date: Sat Oct 10 13:58:16 2009 -0700
1110 ao-dumplog: switch to 'e' command, display progress
1112 Using the 'e' command allows additional checking of the data,
1113 including end-to-end checksums and detection of missing data.
1115 Progress is displayed by showing the recorded flight state along with
1116 a '.' for each eeprom block read.
1118 Signed-off-by: Keith Packard <keithp@keithp.com>
1120 commit fb8f3fee6a1bab1e46d782e84405845cee2dadb4
1121 Merge: 22856cf b8fc397
1122 Author: Keith Packard <keithp@keithp.com>
1123 Date: Sat Oct 10 13:41:00 2009 -0700
1125 Merge branch 'master' into skytraq
1127 commit b8fc3975bd92037a0cf53b0ff2b0e05ce0ba668f
1128 Author: Keith Packard <keithp@keithp.com>
1129 Date: Sat Oct 10 13:39:01 2009 -0700
1131 Send 0-length IN packet to flush USB after full packet
1133 USB bulk transfers are a sequence of maximum-sized packets followed by
1134 a short packet, which signals the end of the transfer. When the last
1135 packet of the transfer would be a full-sized packet, an additional
1136 packet of zero length is sent to signal the transfer end.
1138 Signed-off-by: Keith Packard <keithp@keithp.com>
1140 commit 22856cf8bb0f5e1f37c9b774132d9ef6934526ed
1141 Merge: 2f76034 e29961f
1142 Author: Keith Packard <keithp@keithp.com>
1143 Date: Sat Oct 10 11:44:20 2009 -0700
1145 Merge branch 'master' into skytraq
1147 commit e29961fdb2a48874c895829880eadbf13e094c0c
1148 Author: Keith Packard <keithp@keithp.com>
1149 Date: Sat Oct 10 11:43:31 2009 -0700
1151 Add channel menu to ao-view.
1153 Sets radio channel when TD is connected, saves selected channel in
1156 Signed-off-by: Keith Packard <keithp@keithp.com>
1158 commit 2f7603490a169df8f18b565db4fa967832ffc9bd
1159 Author: Keith Packard <keithp@keithp.com>
1160 Date: Fri Oct 9 22:48:29 2009 -0700
1162 Build two versions of TM, one for SiRF, one for SkyTraq
1164 This creates two separate images, depending on which GPS unit is
1167 Signed-off-by: Keith Packard <keithp@keithp.com>
1169 commit 33b0b6f2f2e07de105619a7b463226d2813152ab
1170 Author: Keith Packard <keithp@keithp.com>
1171 Date: Fri Oct 9 22:02:40 2009 -0700
1173 Add support for the SkyTraq GPS unit
1175 This is a build-time option selected by hacking the Makefile at present.
1177 Signed-off-by: Keith Packard <keithp@keithp.com>
1179 commit a3771bfc5ce740f9d89193e9f8b1d7987aa57264
1180 Author: Keith Packard <keithp@keithp.com>
1181 Date: Tue Oct 6 20:06:00 2009 -0700
1183 ao-view: fix snd_pcm_open return checking
1185 I don't know how this code was supposed to work before...
1187 Signed-off-by: Keith Packard <keithp@keithp.com>
1189 commit ac4b8a73848f434999a532eab4665253c267c597
1190 Author: Keith Packard <keithp@keithp.com>
1191 Date: Tue Oct 6 20:05:36 2009 -0700
1193 ao-postflight: dump out GPS signal data
1195 Signed-off-by: Keith Packard <keithp@keithp.com>
1197 commit dfc73cba1bee8b121e00e8cba45e7dfaaf79e9d8
1198 Author: Bdale Garbee <bdale@gag.com>
1199 Date: Mon Sep 21 22:46:59 2009 -0700
1201 update changelogs for Debian build
1203 commit 459ff3d377297f80ee2fba0df0a29ff6603467a1
1204 Author: Bdale Garbee <bdale@gag.com>
1205 Date: Mon Sep 21 11:00:32 2009 -0700
1207 update changelogs for Debian build
1209 commit 327c64305a59f48ababf19875874a550af6b9cef
1210 Merge: c8a81a4 74f0fb4
1211 Author: Bdale Garbee <bdale@gag.com>
1212 Date: Mon Sep 21 11:00:22 2009 -0700
1214 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1216 commit 74f0fb4dd189abc1d5027c64fa5a648a6003285a
1217 Author: Keith Packard <keithp@keithp.com>
1218 Date: Sun Sep 20 13:33:59 2009 -0700
1220 make bit-banging reset script actually reset
1222 commit 7ea371a09385e2a93199f78685e8cb86793ed104
1223 Author: Keith Packard <keithp@keithp.com>
1224 Date: Sun Sep 20 13:33:26 2009 -0700
1226 Add --gps option to ao-postflight
1228 commit bc7ccb339e538a0e6120db0e5c0d9130c565e0dd
1229 Author: Keith Packard <keithp@keithp.com>
1230 Date: Sun Sep 20 13:32:59 2009 -0700
1232 ao_rawload: Don't reset after we finish loading
1234 commit c8a81a419f7f2331624f90bd6c107a86f6b04451
1235 Author: Bdale Garbee <bdale@gag.com>
1236 Date: Sun Sep 20 09:21:00 2009 -0600
1238 update changelogs for Debian build
1240 commit df42ccaaf468cdc5d93cbd1c001f58df58419722
1241 Merge: 0b24e40 078e9cd
1242 Author: Bdale Garbee <bdale@gag.com>
1243 Date: Sun Sep 20 09:19:28 2009 -0600
1245 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1247 commit 078e9cdbdb388b22c6151f76ff0660fc14b8ef55
1248 Author: Keith Packard <keithp@keithp.com>
1249 Date: Thu Sep 10 11:53:06 2009 -0700
1251 Plot raw accel data for the motor accel section.
1253 This shows a short sequence of accelerometer data without any filtering.
1255 Signed-off-by: Keith Packard <keithp@keithp.com>
1257 commit 8b485d937ff148848ebda7f9ca6be29bb1de1f16
1258 Author: Keith Packard <keithp@keithp.com>
1259 Date: Sun Sep 6 21:02:48 2009 -0700
1261 Show acceleration only during boost phase.
1263 We're interested in motor performance; the rest of the flight is
1266 Signed-off-by: Keith Packard <keithp@keithp.com>
1268 commit 9e660315e1bd2bf71ab1c0574e895e1f7608a58f
1269 Author: Keith Packard <keithp@keithp.com>
1270 Date: Sun Sep 6 21:01:44 2009 -0700
1272 Fix cc_period_make to not get stuck on samples with matching time
1274 When two samples have matching times, step to the second one;
1275 otherwise, we'll get stuck forever.
1277 Signed-off-by: Keith Packard <keithp@keithp.com>
1279 commit 932f1539b38567e565fd484171c13539b1467308
1280 Author: Keith Packard <keithp@keithp.com>
1281 Date: Sun Sep 6 20:26:17 2009 -0700
1283 Color plots, integrate only flight portion of data.
1285 Telemetry files have piles of pad data which shouldn't be integrated
1286 into the velocity data as it tends to generate huge values from the
1287 noise of the sensor.
1289 Also make the data lines colored to keep them visually distinct from
1290 the rest of the plot image.
1292 Signed-off-by: Keith Packard <keithp@keithp.com>
1294 commit 9177f5f4e9d832558ddd9ab227c4511f6201e7e5
1295 Author: Keith Packard <keithp@keithp.com>
1296 Date: Sun Sep 6 18:11:24 2009 -0700
1298 Update usage and man page for ao-postflight
1300 commit 0b24e4034f93010372a3d084668d10f0e4a2c2e1
1301 Author: Bdale Garbee <bdale@gag.com>
1302 Date: Sun Sep 6 18:01:20 2009 -0600
1304 update changelogs for Debian build
1306 commit a5e94aa0677070a051714443cf7fd7e2b5e90269
1307 Author: Bdale Garbee <bdale@gag.com>
1308 Date: Sun Sep 6 17:59:47 2009 -0600
1310 need a run-time dependency to pull in the cairo module
1312 commit 97acef95cc9843998963921459fdd71dd7eaa6b4
1313 Author: Bdale Garbee <bdale@gag.com>
1314 Date: Sun Sep 6 17:48:23 2009 -0600
1316 update changelogs for Debian build
1318 commit 3f95a5abbf8ada70328ced45fbb2781ed1cb3d29
1319 Author: Bdale Garbee <bdale@gag.com>
1320 Date: Sun Sep 6 17:48:10 2009 -0600
1322 more build deps for plotting lib
1324 commit 9d7e96e323d652de08b2f2a73e0eb3c321080185
1325 Author: Bdale Garbee <bdale@gag.com>
1326 Date: Sun Sep 6 17:47:56 2009 -0600
1328 update changelogs for Debian build
1330 commit ae4e131b61244e06020b82919e31e05dd7dba88f
1331 Author: Bdale Garbee <bdale@gag.com>
1332 Date: Sun Sep 6 17:46:39 2009 -0600
1334 update changelogs for Debian build
1336 commit 37e6c9a492a1d51373bf9333fb3172e0c377720f
1337 Merge: d256f82 2e6686b
1338 Author: Bdale Garbee <bdale@gag.com>
1339 Date: Sun Sep 6 17:46:10 2009 -0600
1341 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1343 commit 2e6686b1e183c66188ea447b8a54e4c29402443b
1344 Author: Keith Packard <keithp@keithp.com>
1345 Date: Sun Sep 6 16:45:47 2009 -0700
1347 Use plplotd instead of plplotd-gnome2
1349 commit d256f8204e9fce53ae4309562bb4c0cde1fae43e
1350 Merge: 0fc344d 32d3536
1351 Author: Bdale Garbee <bdale@gag.com>
1352 Date: Sun Sep 6 17:34:08 2009 -0600
1354 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1356 commit 32d3536706324808df6cd02248a236302b831571
1357 Author: Keith Packard <keithp@keithp.com>
1358 Date: Sun Sep 6 16:24:35 2009 -0700
1360 Add plots to ao-postflight using the plplot library
1362 It's not perfect, but it generates .svg plot output.
1364 Signed-off-by: Keith Packard <keithp@keithp.com>
1366 commit 0fc344dfc031a8b1eef7cc40efb1d5ba7782269d
1367 Author: Bdale Garbee <bdale@gag.com>
1368 Date: Sun Sep 6 14:15:57 2009 -0600
1370 update changelogs for Debian build
1372 commit 4b0de757874c0ecaf38e3dfd3beefc398150e3d5
1373 Merge: 773c4ff d0eac98
1374 Author: Bdale Garbee <bdale@gag.com>
1375 Date: Sun Sep 6 14:15:53 2009 -0600
1377 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1379 commit d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b
1380 Author: Keith Packard <keithp@keithp.com>
1381 Date: Sun Sep 6 13:15:10 2009 -0700
1383 Don't look at NULL strings (summary_name)
1385 Signed-off-by: Keith Packard <keithp@keithp.com>
1387 commit 73f4a57239f770aff603b961169c0e2cfe2c276b
1388 Author: Keith Packard <keithp@keithp.com>
1389 Date: Sun Sep 6 13:08:54 2009 -0700
1391 Use pressure speed for drogue and beyond states. Fix differentiation time.
1393 Drogue state should always use pressure speeds.
1395 Differentiation code was using centi-seconds instead of seconds.
1397 Signed-off-by: Keith Packard <keithp@keithp.com>
1399 commit 773c4ffbc1d2e02eb02cfa543a077a408986da30
1400 Author: Bdale Garbee <bdale@gag.com>
1401 Date: Sun Sep 6 14:05:55 2009 -0600
1403 update changelogs for Debian build
1405 commit 45ede4a4b203ef9da5bf05c49cb9c5a2e6382ec5
1406 Merge: 45e2938 e35e485
1407 Author: Bdale Garbee <bdale@gag.com>
1408 Date: Sun Sep 6 14:05:51 2009 -0600
1410 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1412 commit e35e485ffe6b26034788ab295121bc2693b7eec1
1413 Author: Keith Packard <keithp@keithp.com>
1414 Date: Sun Sep 6 13:04:31 2009 -0700
1416 Initialize summary_name and detail_name so stuff appears on stdout.
1418 Uninitialized variables lead to mysterious results.
1420 Signed-off-by: Keith Packard <keithp@keithp.com>
1422 commit 45e2938121411d1fc9b3aec3fdeaaeb3c90db5ed
1423 Author: Bdale Garbee <bdale@gag.com>
1424 Date: Sun Sep 6 14:02:14 2009 -0600
1426 update changelogs for Debian build
1428 commit d42ebf0661ecf15455e5051de1e16ae66f8dd857
1429 Merge: 384dbe9 7a19aac
1430 Author: Bdale Garbee <bdale@gag.com>
1431 Date: Sun Sep 6 14:02:09 2009 -0600
1433 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1435 commit 7a19aac5e881e635962a64fff73027ca2143b96f
1436 Author: Keith Packard <keithp@keithp.com>
1437 Date: Sun Sep 6 12:51:48 2009 -0700
1439 Add DSP code to filter data, allowing for integration/differentiation
1441 This adds the computation of speed from both accelerometer and
1442 barometer measurements and then presents a periodic flight profile
1443 using filtered data as a detailed flight record.
1445 Signed-off-by: Keith Packard <keithp@keithp.com>
1447 commit 384dbe9fc7fa8e4e5dceec5e150f0f1d3383bbdc
1448 Author: Bdale Garbee <bdale@gag.com>
1449 Date: Sun Sep 6 10:40:06 2009 -0600
1451 update changelogs for Debian build
1453 commit 35c54b3a278fa9bc2bc7f4b5ee04866697c93ba0
1454 Merge: 4f8eff7 6d018ab
1455 Author: Bdale Garbee <bdale@gag.com>
1456 Date: Sun Sep 6 10:39:23 2009 -0600
1458 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1460 commit 6d018ab933832e2d80bb1564c339d9fb18b57be2
1461 Author: Keith Packard <keithp@keithp.com>
1462 Date: Sat Sep 5 22:45:49 2009 -0700
1464 Handle vageries of .telem files in ao-postflight
1466 Telem files have multiple entries of the same state, and sometimes
1467 long gaps between recordings. Deal with this as best as possible.
1469 Signed-off-by: Keith Packard <keithp@keithp.com>
1471 commit c46e832b28820d7c5be4efaacbbd7c0607927fe5
1472 Author: Keith Packard <keithp@keithp.com>
1473 Date: Sat Sep 5 22:03:31 2009 -0700
1475 Add simple post-flight analysis tool (ao-postflight)
1477 This tool reads either an eeprom or telem log file and displays some
1478 rudimentary data (max accel/alt for each flight stage).
1480 Signed-off-by: Keith Packard <keithp@keithp.com>
1482 commit 26f56b51bd11aa91f1d77b81827b49c28cb6ec5f
1483 Author: Keith Packard <keithp@keithp.com>
1484 Date: Sat Sep 5 00:29:26 2009 -0700
1486 Add ao-dumplog to capture flight log from command line
1488 This duplicates the functionality of the flight log stuf in ao-view,
1489 except from the command line where it belongs.
1491 Signed-off-by: Keith Packard <keithp@keithp.com>
1493 commit 73adae3661160d410dcc802873b530d255c210e5
1494 Author: Keith Packard <keithp@keithp.com>
1495 Date: Fri Sep 4 15:30:22 2009 -0700
1497 Add --device/-D support to the command line tools and manuals
1499 Use the new cc_usbdevs_find_by_arg function to locate suitable target
1500 devices connected via USB.
1502 Signed-off-by: Keith Packard <keithp@keithp.com>
1504 commit 4f8eff7401ee2d8092ab36fa33411f9b23dda880
1505 Author: Bdale Garbee <bdale@gag.com>
1506 Date: Fri Sep 4 16:03:55 2009 -0600
1508 update changelogs for Debian build
1510 commit 332b056459b1352e233a8bf5f08498df12d32160
1511 Author: Keith Packard <keithp@keithp.com>
1512 Date: Fri Sep 4 15:01:32 2009 -0700
1514 'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.
1516 The kernel appears to leave serial data undelivered at times. Reading
1517 two blocks at once appears to make it relinquish the queued data.
1519 Signed-off-by: Keith Packard <keithp@keithp.com>
1521 commit df88ae4c5f229efcc0ea5cb0a81fc2bb8f96fea2
1522 Author: Keith Packard <keithp@keithp.com>
1523 Date: Fri Sep 4 14:23:02 2009 -0700
1525 Add 'ao-list' utility to show attached AltOS devices
1527 Signed-off-by: Keith Packard <keithp@keithp.com>
1529 commit 0935d6a7e907e20381a42882ae728051f9bece02
1530 Author: Keith Packard <keithp@keithp.com>
1531 Date: Fri Sep 4 14:21:19 2009 -0700
1533 Parse the USB serial number as an integer.
1535 AltOS devices use simple integer serial numbers, so parse the USB
1536 value as such to make matching values more forgiving.
1538 Signed-off-by: Keith Packard <keithp@keithp.com>
1540 commit 0c771d999914f9d17c723900f2987acc45fd0fbb
1541 Author: Keith Packard <keithp@keithp.com>
1542 Date: Fri Sep 4 13:00:02 2009 -0700
1544 Move usb scanning code to ao-tools library
1546 This will allow the scanning code to be used by the command line tools
1547 as well as the ao-view GUI.
1549 Now that ao-view depends on the ao-tools library, it has been moved to
1550 the ao-tools directory as well.
1552 Signed-off-by: Keith Packard <keithp@keithp.com>
1554 commit 15341b6e6dcf52df083d6aa37ef881ea6ad48ee5
1555 Author: Keith Packard <keithp@keithp.com>
1556 Date: Fri Sep 4 12:25:37 2009 -0700
1558 Set all of the values to reset the radio for telemetry
1560 Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
1561 resetting the radio back to telemetry data mode from rdf mode. With
1562 the length value removed from the rdf config, these two arrays are no
1563 longer the same length, and so the last config value was not set
1564 leaving the radio sending garbage.
1566 Signed-off-by: Keith Packard <keithp@keithp.com>
1568 commit fee46389b70a624ab5b1128a8b4c3083c7747bcb
1569 Author: Keith Packard <keithp@keithp.com>
1570 Date: Fri Sep 4 11:46:55 2009 -0700
1572 Make RDF beacon only run on pad and after landing.
1574 It's pretty much impossible to RDF the rocket during flight, and it
1575 interferes with the telemetry data stream. Leave it enabled on the pad
1576 so that radios can be tested, and then re-enable it once the rocket
1579 This patch also turns the rdf 'on' time into a parameter so it can be
1580 changed, and then sets that parameter to 500ms, once every 5 seconds.
1582 Signed-off-by: Keith Packard <keithp@keithp.com>
1584 commit 54545640b0db7747137655f84bc67fd290ecb904
1585 Author: Keith Packard <keithp@keithp.com>
1586 Date: Fri Sep 4 11:45:52 2009 -0700
1588 Add back the RDF tone generator
1590 Tracking the rocket on the ground may be easier using tones than using
1591 the digital data stream, so we'll try that and see what we think.
1593 This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9.
1595 Signed-off-by: Keith Packard <keithp@keithp.com>
1597 commit 9fafee109e96435c96639b21211cac0500673a63
1598 Author: Bdale Garbee <bdale@gag.com>
1599 Date: Wed Sep 2 23:18:15 2009 -0600
1601 update changelogs for Debian build
1603 commit cb4a73f3b65ba72f645fd37ab8712829c9537bf8
1604 Merge: 9ddd869 e2e449d
1605 Author: Bdale Garbee <bdale@gag.com>
1606 Date: Wed Sep 2 23:17:37 2009 -0600
1608 Merge commit 'origin/master'
1610 commit e2e449d5c23356e913f312de1fb2611a9dd5a352
1611 Author: Keith Packard <keithp@keithp.com>
1612 Date: Wed Sep 2 22:01:52 2009 -0700
1614 Remove bit-banging debug support from TM board builds
1616 Our current TM boards don't have the wires to do bit-banging to
1617 another cc1111 board, so it doesn't make sense to fill up their flash
1618 with useless code (and the 'help' text with useless commands). Leave
1619 this to the TI board until we have boards that can serve as debug dongles.
1621 Signed-off-by: Keith Packard <keithp@keithp.com>
1623 commit acea083d80e1ecc4287083519ea666964016b257
1624 Author: Keith Packard <keithp@keithp.com>
1625 Date: Wed Sep 2 22:00:37 2009 -0700
1627 Make the ao_log_record structures 8 bytes again.
1629 When the GPS signal strength data was added, the structure was
1630 accidentally extended to 9 bytes, making all log records 9 bytes
1631 long. While not a serious problem, this left log records spanning
1632 across eeprom block boundaries, which seems like a bad plan.
1634 Signed-off-by: Keith Packard <keithp@keithp.com>
1636 commit 7d39f17684feb49ac8a0017902158f298696e37c
1637 Author: Keith Packard <keithp@keithp.com>
1638 Date: Wed Sep 2 21:57:54 2009 -0700
1640 Make eeprom reads and writes across block boundary work
1642 Reading and writing across the block boundary was not stepping the
1643 eeprom position after the partial i/o operation at the end of the
1644 first block. This meant that the operation would re-use the end of the
1645 previous block, either re-reading or re-writing it.
1647 Signed-off-by: Keith Packard <keithp@keithp.com>
1649 commit 9ddd8696b4004ccc03238d95a8c2a1d07075e0fb
1650 Author: Bdale Garbee <bdale@gag.com>
1651 Date: Mon Aug 31 16:48:03 2009 -0600
1653 update changelogs for Debian build
1655 commit 6926c4ab5d87a8f2eb4fcde2c673fb3a4639e115
1656 Author: Bdale Garbee <bdale@gag.com>
1657 Date: Mon Aug 31 16:47:44 2009 -0600
1659 pixmap file should not be executable
1661 commit 1495e2f27acde3743c3764a0c31ee082224d6c64
1662 Author: Bdale Garbee <bdale@gag.com>
1663 Date: Mon Aug 31 16:42:55 2009 -0600
1665 update changelogs for Debian build
1667 commit c8c5b7963babe8eb16e2651fba9cd2c8d1cba74e
1668 Author: Bdale Garbee <bdale@gag.com>
1669 Date: Mon Aug 31 16:42:37 2009 -0600
1671 deliver an icon for the Debian menu system
1673 commit 591b99c232e780246fc07841c09c8c4e7835facb
1674 Author: Bdale Garbee <bdale@gag.com>
1675 Date: Mon Aug 31 16:26:00 2009 -0600
1677 update changelogs for Debian build
1679 commit b34474c1f3083e73b7184d519f54d4c8031836fd
1680 Merge: 8df1697 0d65bff
1681 Author: Bdale Garbee <bdale@gag.com>
1682 Date: Mon Aug 31 16:25:32 2009 -0600
1684 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1686 commit 6358041f846ba9a20fa650c367d907dc4336e54c
1687 Author: Keith Packard <keithp@keithp.com>
1688 Date: Sat Aug 22 13:38:56 2009 -0700
1690 Enable GPS degraded mode, set 10 sec degraded timeout.
1692 No reason not to let the GPS report solutions whenever it likes, let's
1695 Signed-off-by: Keith Packard <keithp@keithp.com>
1697 commit 0d65bff443c17d4d98c18b620ec075ab66b30efd
1698 Author: Keith Packard <keithp@keithp.com>
1699 Date: Fri Aug 21 10:47:46 2009 -0700
1701 Turn off GPS tracking data when not present in data stream
1703 Signed-off-by: Keith Packard <keithp@keithp.com>
1705 commit 8df169791835510d96c11a3b0aa3cc5b79fa7fde
1706 Author: Bdale Garbee <bdale@gag.com>
1707 Date: Wed Aug 19 02:21:23 2009 -0600
1709 update changelogs for Debian build
1711 commit 42ab6d52540d0326ef89e9d57954b08248558468
1712 Author: Bdale Garbee <bdale@gag.com>
1713 Date: Wed Aug 19 02:21:06 2009 -0600
1715 fix location for delivery of sources.list fragment
1717 commit 977f5dc0bc7c666dcc1f21db77416efca0d696aa
1718 Author: Bdale Garbee <bdale@gag.com>
1719 Date: Wed Aug 19 02:11:11 2009 -0600
1721 update changelogs for Debian build
1723 commit 8d4d6655f1b4c2fbc522fd255bfb75406e5ddaef
1724 Author: Bdale Garbee <bdale@gag.com>
1725 Date: Wed Aug 19 02:11:00 2009 -0600
1727 oops, aoview is now ao-view!
1729 commit b9a97aea65f871fd287bc0bb566d8664766f4afd
1730 Author: Bdale Garbee <bdale@gag.com>
1731 Date: Wed Aug 19 02:07:16 2009 -0600
1733 update changelogs for Debian build
1735 commit 21e3dd0affac89919e5d0e29c6e9eb1eacb51801
1736 Author: Bdale Garbee <bdale@gag.com>
1737 Date: Wed Aug 19 02:06:49 2009 -0600
1739 enable support for Debian menus
1741 commit 0087c1776e0253fc2bd3b86f15bf9d1b32bdc45a
1742 Author: Bdale Garbee <bdale@gag.com>
1743 Date: Wed Aug 19 00:52:57 2009 -0600
1745 update changelogs for Debian build
1747 commit 4486d9156e19e4280b42bcd422d81d04f2d04a92
1748 Merge: dd09f0b 33edd62
1749 Author: Bdale Garbee <bdale@gag.com>
1750 Date: Wed Aug 19 00:49:24 2009 -0600
1752 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1754 commit 33edd62992a32b0ec8ca66d879fa300871db5937
1755 Author: Keith Packard <keithp@keithp.com>
1756 Date: Tue Aug 18 23:38:16 2009 -0700
1758 Update ao-view to add GPS satellite tracking data
1760 This adds another column to the display to hold per-satellite GPS
1761 tracking data and a count of the visible and locked sats.
1763 Signed-off-by: Keith Packard <keithp@keithp.com>
1765 commit 29687cbd462a332d9a36ed87500c5b737dcae3f4
1766 Author: Keith Packard <keithp@keithp.com>
1767 Date: Tue Aug 18 22:35:15 2009 -0700
1769 Handle GPS satellite tracking data
1771 SiRF message #4 includes signal strength and GPS engine state for each
1772 of the satellites being tracked. This data is now parsed and sent to
1773 eeprom and the radio.
1775 Signed-off-by: Keith Packard <keithp@keithp.com>
1777 commit dd09f0bc2b950c00f3b489878cd69ad8a003f46c
1778 Author: Bdale Garbee <bdale@gag.com>
1779 Date: Tue Aug 18 21:57:01 2009 -0600
1781 update changelogs for Debian build
1783 commit cd5ce661e2a8f9694933358ccb5b916fbed089c2
1784 Author: Bdale Garbee <bdale@gag.com>
1785 Date: Tue Aug 18 21:49:39 2009 -0600
1787 add support for building Debian package
1789 commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
1790 Merge: b3b2d3c 7d4ceb7
1791 Author: Bdale Garbee <bdale@gag.com>
1792 Date: Tue Aug 18 18:56:09 2009 -0600
1794 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1796 commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
1797 Author: Keith Packard <keithp@keithp.com>
1798 Date: Tue Aug 18 17:55:22 2009 -0700
1800 Add ao-ejection.1 man page
1802 Document the input requirements and output format
1804 Signed-off-by: Keith Packard <keithp@keithp.com>
1806 commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
1807 Merge: 4685fc5 da12b89
1808 Author: Bdale Garbee <bdale@gag.com>
1809 Date: Tue Aug 18 18:36:03 2009 -0600
1811 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1813 commit da12b89fb056a68e65ba363fef91d266727cb685
1814 Author: Keith Packard <keithp@keithp.com>
1815 Date: Tue Aug 18 17:30:43 2009 -0700
1817 Create ChangeLog from git log
1819 commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
1820 Author: Keith Packard <keithp@keithp.com>
1821 Date: Tue Aug 18 17:29:29 2009 -0700
1823 Fix ao-bitbang examples to not have . in the first column
1825 commit 4685fc541466afbeefc151bcb64cd054739c048b
1826 Merge: 1c2a0b6 c29275b
1827 Author: Bdale Garbee <bdale@gag.com>
1828 Date: Tue Aug 18 18:09:38 2009 -0600
1830 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1833 ao-tools/ao-bitbang/Makefile.am
1834 ao-tools/ao-eeprom/Makefile.am
1835 ao-tools/ao-load/Makefile.am
1836 ao-tools/ao-load/ao-load.c
1837 ao-tools/ao-rawload/Makefile.am
1839 commit c29275b72438637d46d7a50742882d2736eb176a
1840 Author: Keith Packard <keithp@keithp.com>
1841 Date: Tue Aug 18 15:21:57 2009 -0700
1843 Add manual pages for remaining commands.
1845 Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
1848 Manual for ao-dbg updated to reflect program name change.
1850 Signed-off-by: Keith Packard <keithp@keithp.com>
1852 commit 9b03d620722dc54630539afba40720c30de69b2d
1853 Author: Keith Packard <keithp@keithp.com>
1854 Date: Tue Aug 18 12:19:31 2009 -0700
1856 Use --tty/-T on command line to specify target device
1858 Also, use the ALTOS_TTY environment variable in all tools. Note that
1859 the magic value of "BITBANG" switches the library to connecting
1860 through a CP2103 instead.
1862 Signed-off-by: Keith Packard <keithp@keithp.com>
1864 commit 7c790fe859dff062692964338091ffbbcdf63257
1865 Author: Keith Packard <keithp@keithp.com>
1866 Date: Tue Aug 18 12:40:24 2009 -0700
1868 Rename tools to ao-<foo>
1870 Use a consistent prefix to make it easier to remember which programs
1871 belong to this package
1873 Signed-off-by: Keith Packard <keithp@keithp.com>
1875 commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
1876 Author: Keith Packard <keithp@keithp.com>
1877 Date: Tue Aug 18 13:36:54 2009 -0700
1879 re-add debugger sources
1881 commit 9a9cce5510b87252f863239ac807b9fb4395b288
1882 Author: Keith Packard <keithp@keithp.com>
1883 Date: Tue Aug 18 12:19:31 2009 -0700
1885 Start working on using getopt for the tty name
1887 commit 9789ca5e8caa9a013e804f307b9da380e147bd75
1888 Author: Keith Packard <keithp@keithp.com>
1889 Date: Tue Aug 18 12:40:24 2009 -0700
1891 Rename tools to ao-<foo>
1893 Use a consistent prefix to make it easier to remember which programs
1894 belong to this package
1896 Signed-off-by: Keith Packard <keithp@keithp.com>
1898 commit a5782398d968e7cb11f7203afada7c216f233b3b
1899 Author: Keith Packard <keithp@keithp.com>
1900 Date: Tue Aug 18 11:34:28 2009 -0700
1902 Remove unused cctools code paths for old libusb and cp2103 ioctls.
1904 Communication with the CP2103 board has gone through three revisions,
1905 first using ioctls supported by the CP2103 kernel driver, then using
1906 the old synchronous usb library and now using the newer libusb
1907 asynchronous interface. There's no reason to keep shipping the old
1908 stale code now that the new stuff works reliably.
1910 Signed-off-by: Keith Packard <keithp@keithp.com>
1912 commit 7cba411de0780c65e3490ab67186a514f0ea42ec
1913 Author: Keith Packard <keithp@keithp.com>
1914 Date: Mon Aug 17 20:47:31 2009 -0700
1916 test for sdcc, nickle and readline
1918 Signed-off-by: Keith Packard <keithp@keithp.com>
1920 commit f48dcffae761700355a17b59345d55a60703f0c4
1921 Author: Keith Packard <keithp@keithp.com>
1922 Date: Sun Aug 9 20:43:10 2009 -0700
1924 Sync USB data after each memory write command
1926 This makes sure we flush the USB link often enough for the other end to keep
1929 Signed-off-by: Keith Packard <keithp@keithp.com>
1931 commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
1932 Author: Keith Packard <keithp@keithp.com>
1933 Date: Sun Aug 9 16:08:07 2009 -0700
1935 Handle partial ALSA PCM writes
1937 The ALSA spec says that snd_pcm_writei will not return a partial write, but
1938 at least on the OLPC, that's not true. Deal with this.
1940 Signed-off-by: Keith Packard <keithp@keithp.com>
1942 commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
1943 Author: Keith Packard <keithp@keithp.com>
1944 Date: Sun Aug 9 15:55:19 2009 -0700
1946 Check more alsa return statuses
1948 commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
1949 Author: Keith Packard <keithp@keithp.com>
1950 Date: Sat Jul 18 01:47:34 2009 -0700
1952 Don't report distance to rocket without valid GPS
1954 When there's no valid GPS data, don't try to report the distance and bearing
1955 to the rocket after landing.
1957 Signed-off-by: Keith Packard <keithp@keithp.com>
1959 commit fbcb7b20fa701a6e534d38e307839466545668e3
1960 Author: Keith Packard <keithp@keithp.com>
1961 Date: Sat Jul 18 01:05:33 2009 -0700
1963 Add B command to set serial baud rate
1965 Signed-off-by: Keith Packard <keithp@keithp.com>
1967 commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
1968 Author: Keith Packard <keithp@keithp.com>
1969 Date: Sat Jul 18 01:05:13 2009 -0700
1971 Get rid of spaces after minus sign in climb value
1973 commit 28be20cf914fb34dc3c776519708d0f02091764e
1974 Author: Keith Packard <keithp@keithp.com>
1975 Date: Sat Jul 18 01:04:39 2009 -0700
1977 Switch to 57600 baud for GPS data
1979 commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
1980 Author: Keith Packard <keithp@keithp.com>
1981 Date: Sat Jul 18 01:04:17 2009 -0700
1983 Drain serial port before changing speed
1985 Signed-off-by: Keith Packard <keithp@keithp.com>
1987 commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
1988 Author: Keith Packard <keithp@keithp.com>
1989 Date: Sat Jul 18 00:44:42 2009 -0700
1991 Display last known GPS coord while unlocked
1993 Signed-off-by: Keith Packard <keithp@keithp.com>
1995 commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
1996 Author: Keith Packard <keithp@keithp.com>
1997 Date: Sat Jul 18 00:44:01 2009 -0700
1999 use g_source_destroy instead of free on serial object
2001 commit 1e5e98bd8f5ea0bc15592de454e3629383462371
2002 Author: Keith Packard <keithp@keithp.com>
2003 Date: Sat Jul 18 00:43:22 2009 -0700
2005 Trim aoview_serial_set_callback args down to just port and callback
2007 commit 08f37056deec25d77062bc411a04033401b033a5
2008 Author: Keith Packard <keithp@keithp.com>
2009 Date: Fri Jul 17 22:11:03 2009 -0700
2011 Reset GPS at boot time
2013 commit 1150aa850f5a025b849556e32c4dddb27937d9af
2014 Author: Keith Packard <keithp@keithp.com>
2015 Date: Fri Jul 17 22:10:43 2009 -0700
2017 Fix up serial debug output
2019 commit 2a7956a64935246475f92d44c08369e0230b676a
2020 Author: Keith Packard <keithp@keithp.com>
2021 Date: Fri Jul 17 21:34:13 2009 -0700
2023 Allow the GPS port to run at 4800 baud if desired
2025 commit 8d650769c319261c97f5e68eff9138207b95c0f8
2026 Author: Keith Packard <keithp@keithp.com>
2027 Date: Fri Jul 17 21:33:53 2009 -0700
2029 Initialize the GPS serial protocol state
2031 Signed-off-by: Keith Packard <keithp@keithp.com>
2033 commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
2034 Author: Keith Packard <keithp@keithp.com>
2035 Date: Fri Jul 17 21:33:18 2009 -0700
2037 Use uint8_t for comparisons to avoid int conversions
2039 Signed-off-by: Keith Packard <keithp@keithp.com>
2041 commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
2042 Author: Keith Packard <keithp@keithp.com>
2043 Date: Fri Jul 17 21:30:53 2009 -0700
2045 Add AO_GPS_RUNNING state.
2047 This tracks whether the GPS receiver has ever sent a valid report to the
2048 flight computer, allowing the user to tell whether the GPS receiver is
2051 Signed-off-by: Keith Packard <keithp@keithp.com>
2053 commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
2054 Author: Keith Packard <keithp@keithp.com>
2055 Date: Fri Jul 17 21:25:35 2009 -0700
2057 Add M command to monitor serial bytes
2059 commit ddfa2308c0be4c002f982ae9da6032ee7854117d
2060 Author: Keith Packard <keithp@keithp.com>
2061 Date: Fri Jul 17 21:24:45 2009 -0700
2063 Support the not-connected GPS state
2065 commit 34f148500df427c148188c0ada20bf914a7c74ba
2066 Author: Keith Packard <keithp@keithp.com>
2067 Date: Fri Jul 17 19:23:10 2009 -0700
2069 Use 57600 baud for GPS. Clean up gps init.
2071 Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
2072 to get from 4800 NMEA to 5760 SiRF.
2074 Also, eliminate threads from the gps test program.
2076 Signed-off-by: Keith Packard <keithp@keithp.com>
2078 commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
2079 Author: Keith Packard <keithp@keithp.com>
2080 Date: Fri Jul 17 17:09:20 2009 -0700
2082 Try harder to get the GPS receiver serial link sync'd up.
2084 We cannot assume that the GPS receiver is in any particular state when it
2085 boots, so we try to send the serial configuration at several rates and hope
2086 that it eventually sees something that it likes.
2088 Signed-off-by: Keith Packard <keithp@keithp.com>
2090 commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
2091 Author: Keith Packard <keithp@keithp.com>
2092 Date: Fri Jul 17 17:06:18 2009 -0700
2094 Rolling average for pad location. Say 'GPS ready'.
2096 Use a rolling average for the pad location, instead of just averaging all
2097 positions. This filters out old (presumably less accurate) values eventually.
2099 When enough GPS samples have been acquired, say 'GPS ready'.
2101 Signed-off-by: Keith Packard <keithp@keithp.com>
2103 commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
2104 Author: Keith Packard <keithp@keithp.com>
2105 Date: Fri Jul 17 16:22:51 2009 -0700
2107 Split GPS data into a separate column
2109 Signed-off-by: Keith Packard <keithp@keithp.com>
2111 commit 5f0179652e8bb85add9067e5253e981c60f2c51e
2112 Author: Keith Packard <keithp@keithp.com>
2113 Date: Fri Jul 17 16:03:35 2009 -0700
2115 Fix up SiRF parsing and test code so that it actually works
2117 Signed-off-by: Keith Packard <keithp@keithp.com>
2119 commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
2120 Author: Keith Packard <keithp@keithp.com>
2121 Date: Fri Jul 17 13:58:14 2009 -0700
2123 Add host-side gps protocol testing program
2125 commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
2126 Author: Keith Packard <keithp@keithp.com>
2127 Date: Sat Jul 11 00:56:13 2009 -0700
2129 Hook aoview directly to alsa
2131 This skips the flite internal audio stuff which opened and closed the audio
2132 device for each phrase. This caused the first part of some phrases to be
2133 missed when using an external audio device.
2135 Signed-off-by: Keith Packard <keithp@keithp.com>
2137 commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
2138 Author: Keith Packard <keithp@keithp.com>
2139 Date: Thu Jul 9 20:55:10 2009 -0700
2141 Show speed. Format numbers. Timeout and report final status.
2143 The speed value is now shown in the top label bar. Ascent shows
2144 accelerometer-derived data, otherwise it's baro derived.
2146 All of the numbers displayed are now given sensible printf formats so they
2147 don't contain way too many digits.
2149 Instead of doing periodic reporting based on flight tick count, data is
2150 reported every 10 seconds based on wall time. After landing, or when no data
2151 have been received for a while, final flight information is spoken.
2153 Signed-off-by: Keith Packard <keithp@keithp.com>
2155 commit 19630ef084866f4230e68ccf11284b30c68128b1
2156 Author: Keith Packard <keithp@keithp.com>
2157 Date: Sun Jul 5 08:35:28 2009 -0700
2159 Dont smash aoview_monitor_parse input buffer
2161 commit e506ed4b6efb86eab50204658fcd433b987e3831
2162 Author: Keith Packard <keithp@keithp.com>
2163 Date: Tue Jun 30 15:25:52 2009 -0700
2165 Integrate flite into aoview directly. Fix great circle computation.
2167 Use a separate thread for flite rather than a separate program.
2168 Save voice state to gconf.
2169 Add filters for replay file selection
2171 Signed-off-by: Keith Packard <keithp@keithp.com>
2173 commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
2174 Author: Keith Packard <keithp@keithp.com>
2175 Date: Tue Jun 30 15:24:53 2009 -0700
2179 commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
2180 Author: Keith Packard <keithp@keithp.com>
2181 Date: Tue Jun 30 15:24:31 2009 -0700
2185 commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
2186 Author: Keith Packard <keithp@keithp.com>
2187 Date: Tue Jun 30 11:58:30 2009 -0700
2189 Add telem replay and larger labels
2191 Replays telemetry files in real time
2192 Shows height/state/rssi in big values at the top.
2194 Signed-off-by: Keith Packard <keithp@keithp.com>
2196 commit 566dde161385263700eaae51095eecfa9b5972ee
2197 Author: Keith Packard <keithp@keithp.com>
2198 Date: Mon Jun 29 23:06:47 2009 -0700
2200 Update aoview/.gitignore
2202 Signed-off-by: Keith Packard <keithp@keithp.com>
2204 commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
2205 Author: Keith Packard <keithp@keithp.com>
2206 Date: Mon Jun 29 23:05:27 2009 -0700
2208 Use flite to announce flight state
2210 This uses the flite voice synthesis library from festival to announce
2211 altitude and speed information during the rocket flight.
2213 Signed-off-by: Keith Packard <keithp@keithp.com>
2215 commit 527d7c803ed9597b210634018cb2eb9d048d9846
2216 Author: Keith Packard <keithp@keithp.com>
2217 Date: Mon Jun 29 23:03:58 2009 -0700
2219 Add GPS speed and error data to telemetry and aoview
2221 Having switched to the SiRF binary GPS format, the velocity and error data
2222 can now be displayed.
2224 Signed-off-by: Keith Packard <keithp@keithp.com>
2226 commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
2227 Author: Keith Packard <keithp@keithp.com>
2228 Date: Mon Jun 29 13:54:00 2009 -0700
2230 Convert GPS to SiRF binary protocol.
2232 This switches the GPS unit from NMEA to SiRF protocol at startup and then
2233 parses the binary data. The binary data uses a different encoding of lat/lon
2234 than the NMEA strings, and so the telemetry and eeprom data formats change
2237 Signed-off-by: Keith Packard <keithp@keithp.com>
2239 commit 49bf37767d2453869f2ca2c0832d1124322c66e0
2240 Author: Keith Packard <keithp@keithp.com>
2241 Date: Wed Jun 17 23:22:25 2009 -0700
2243 Add ejection computation utility
2245 Signed-off-by: Keith Packard <keithp@keithp.com>
2247 commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
2248 Author: Keith Packard <keithp@keithp.com>
2249 Date: Wed Jun 17 13:55:23 2009 -0700
2251 Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
2253 None of our boards have a 32kHz xtal oscillator, instead we use those pins
2254 (on Telemetrum) for the deployment firing circuits. The old clock
2255 initialization code was switching from the 32kHz RC oscillator to the 32kHz
2256 crystal and overriding our use of those pins.
2258 Signed-off-by: Keith Packard <keithp@keithp.com>
2260 commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
2261 Author: Keith Packard <keithp@keithp.com>
2262 Date: Sun Jun 14 17:25:34 2009 -0700
2264 Some kernels reference USB ttys as tty/tty* instead of tty:tty*
2266 Signed-off-by: Keith Packard <keithp@keithp.com>
2268 commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
2269 Author: Keith Packard <keithp@keithp.com>
2270 Date: Sun Jun 14 16:45:19 2009 -0700
2272 Rename state apogee -> coast
2274 commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
2275 Author: Keith Packard <keithp@keithp.com>
2276 Date: Sun Jun 14 16:39:28 2009 -0700
2278 rename states. launchpad -> pad, coast -> fast
2280 commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
2281 Author: Keith Packard <keithp@keithp.com>
2282 Date: Sun Jun 14 16:36:29 2009 -0700
2284 Disable monitor mode when communicating via usb
2286 commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
2287 Author: Keith Packard <keithp@keithp.com>
2288 Date: Thu Jun 4 14:38:45 2009 -0700
2290 Format GPS seconds as %02d.%04d to avoid spaces in the value
2292 The aoview GPS parsing code doesn't deal well with spaces in the middle of
2293 the value, so pad the seconds field with a zero as needed.
2295 Signed-off-by: Keith Packard <keithp@keithp.com>
2297 commit a0e6bfee635b64092262936c858542318f6fc6dc
2298 Author: Bdale Garbee <bdale@gag.com>
2299 Date: Thu Jun 4 13:11:48 2009 -0600
2301 newer INSTALL file pulled in by autogen.sh
2303 commit cf1e258d52b878df10b51a047709b10ecd51a68e
2304 Author: Bdale Garbee <bdale@gag.com>
2305 Date: Thu Jun 4 13:09:29 2009 -0600
2307 add a distclean target to src/Makefile
2309 commit 176052b7c14fcad067835ecb550778faf67cf4da
2310 Author: Bdale Garbee <bdale@gag.com>
2311 Date: Thu Jun 4 13:07:10 2009 -0600
2313 add lib to the front of the subdir list
2315 commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
2316 Author: Keith Packard <keithp@keithp.com>
2317 Date: Thu Jun 4 11:20:10 2009 -0700
2319 Move build and debug tools to 'cctools' directory.
2321 These tools were merged in from the ccdbg package.
2323 Signed-off-by: Keith Packard <keithp@keithp.com>
2325 commit 17d2432a8b9c15963cd3b821f025ad33972ef477
2326 Merge: 210dbaa 8a9a3f0
2327 Author: Keith Packard <keithp@keithp.com>
2328 Date: Thu Jun 4 11:13:15 2009 -0700
2330 Merge ccdbg and altos sources into one giant repository
2332 Keeping these separate isn't making things any easier.
2334 Signed-off-by: Keith Packard <keithp@keithp.com>
2336 commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
2337 Author: Keith Packard <keithp@keithp.com>
2338 Date: Thu Jun 4 10:41:34 2009 -0700
2340 Use autotools, move altos to src subdir
2342 Signed-off-by: Keith Packard <keithp@keithp.com>
2344 commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
2345 Author: Keith Packard <keithp@keithp.com>
2346 Date: Thu Jun 4 10:25:30 2009 -0700
2348 Make menu seperator insensitive
2350 commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
2351 Author: Keith Packard <keithp@keithp.com>
2352 Date: Wed Jun 3 17:07:34 2009 -0700
2354 aoview: Add eeprom data fetching
2356 Fetches the last flight data from a TM device connected via USB and writes
2357 it to the flight log directory.
2359 Signed-off-by: Keith Packard <keithp@keithp.com>
2361 commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
2362 Author: Keith Packard <keithp@keithp.com>
2363 Date: Wed Jun 3 10:57:46 2009 -0700
2365 Stop log dumping at flight end. Print 'end' at end of log.
2367 No reason to continue dumping data past the end of the flight now that the
2368 logging stuff has been demonstrated to work reliably. Also, to make
2369 automated log dumping easier, this prints out 'end' after the log data so
2370 that aoview knows when to stop reading.
2372 Signed-off-by: Keith Packard <keithp@keithp.com>
2374 commit 35ac66969abe24ca23776618306a59fc17770e06
2375 Author: Keith Packard <keithp@keithp.com>
2376 Date: Sun May 31 09:22:01 2009 -0700
2378 Start adding bi-directional packet link
2380 commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
2381 Author: Keith Packard <keithp@keithp.com>
2382 Date: Thu May 28 23:17:33 2009 -0700
2384 Eliminate RDF tone generation.
2386 Now that we have a viable telemetry-signal based RDF device via TeleDongle,
2387 there's no reason to continue to waste power and bandwidth with a NFM tone.
2389 Signed-off-by: Keith Packard <keithp@keithp.com>
2391 commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
2392 Author: Keith Packard <keithp@keithp.com>
2393 Date: Thu May 28 23:17:25 2009 -0700
2395 Change .gitignore to match new aoload procedure
2397 commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
2398 Author: Keith Packard <keithp@keithp.com>
2399 Date: Wed May 27 22:01:37 2009 -0700
2401 Leave serial number writing to aoload
2403 Instead of building per-serial hex files, leave that
2404 process to the new aoload program
2406 Signed-off-by: Keith Packard <keithp@keithp.com>
2408 commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
2409 Author: Keith Packard <keithp@keithp.com>
2410 Date: Wed May 27 21:53:15 2009 -0700
2412 Add aoload to load serial-numbered altos binaries.
2414 aoload is a custom version of ccload which edits the data before sending it
2415 to the target machine, writing the target serial number into the data.
2417 Signed-off-by: Keith Packard <keithp@keithp.com>
2419 commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
2420 Author: Keith Packard <keithp@keithp.com>
2421 Date: Sat May 23 21:20:12 2009 -0700
2423 Fix aoview telemetry GPS parsing code to use correct columns
2425 This code was trying to pull the GPS data from the wrong columns, causing
2426 aoview to fail to display GPS information.
2428 Signed-off-by: Keith Packard <keithp@keithp.com>
2430 commit 26988c3e7acb2fa832810475e43e08fd2867459c
2431 Author: Keith Packard <keithp@keithp.com>
2432 Date: Sat May 23 21:18:57 2009 -0700
2434 Parse both telemetry or log data ao_flight_test
2436 Change the way data is fed from files to the flight test rig to handle
2437 either kind of input file.
2439 Signed-off-by: Keith Packard <keithp@keithp.com>
2441 commit d6f5a0689023546464a71561f53fa2c943077c88
2442 Author: Keith Packard <keithp@keithp.com>
2443 Date: Sat May 23 21:16:22 2009 -0700
2445 Avoid 16-bit overflow in velocity computation.
2447 Adding two 16 bit integers together can wrap around to negative numbers,
2448 this resulted in velocity values which never decreased, making the switch
2449 from coast to apogee state not occur.
2451 Signed-off-by: Keith Packard <keithp@keithp.com>
2453 commit aa6d87aeb616dd62f0debaded297232022b4f8bd
2454 Author: Keith Packard <keithp@keithp.com>
2455 Date: Wed May 20 09:44:55 2009 -0700
2457 Make file handling more general so it can be reused.
2459 The log file handling stuff will be useful for saving eeprom data, so pull
2460 it out of the real-time log handling code and make a general interface.
2462 Signed-off-by: Keith Packard <keithp@keithp.com>
2464 commit b730c8bcbce649cdddba935e1112aaae538bc526
2465 Author: Keith Packard <keithp@keithp.com>
2466 Date: Sun May 17 23:54:44 2009 -0700
2468 Ignore aoview_glade.h
2470 commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
2471 Author: Keith Packard <keithp@keithp.com>
2472 Date: Sun May 17 23:36:21 2009 -0700
2474 Transmit computed ground pressure and acceleration values
2476 These are the last two values relevant to figuring out the state of the
2477 flight computer, and as they are computed by averaging 10 seconds of 100Hz
2478 sample data, they're a lot more accurate than anything the receiver could do
2481 Signed-off-by: Keith Packard <keithp@keithp.com>
2483 commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
2484 Author: Keith Packard <keithp@keithp.com>
2485 Date: Sun May 17 23:18:09 2009 -0700
2487 Provide install target
2489 commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
2490 Author: Keith Packard <keithp@keithp.com>
2491 Date: Sun May 17 23:13:20 2009 -0700
2493 Embed glade file in executable
2495 This eliminates install issues nicely.
2497 Signed-off-by: Keith Packard <keithp@keithp.com>
2499 commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
2500 Author: Keith Packard <keithp@keithp.com>
2501 Date: Sun May 17 23:05:23 2009 -0700
2503 Add About dialog to aoview.
2505 Signed-off-by: Keith Packard <keithp@keithp.com>
2507 commit 0f3233c49f43cd4e372e613303919ce4d50255b2
2508 Author: Keith Packard <keithp@keithp.com>
2509 Date: Sun May 17 22:44:19 2009 -0700
2511 USB device names can contain '.' too
2513 Depending on the hierarchy of devices, names can contain '.', so allow those
2516 Signed-off-by: Keith Packard <keithp@keithp.com>
2518 commit 33221277690e6ee30387c506c3f2b8237ed48efd
2519 Author: Keith Packard <keithp@keithp.com>
2520 Date: Sun May 17 22:43:34 2009 -0700
2522 scandir returns -1 on error
2524 In which case, the namelist is invalid, so don't look at it, and don't free
2527 Signed-off-by: Keith Packard <keithp@keithp.com>
2529 commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
2530 Author: Keith Packard <keithp@keithp.com>
2531 Date: Sun May 17 22:29:54 2009 -0700
2533 Send computed accel/vel/pres values over the radio
2535 These computed values reflect what the flight computer is actually refering
2536 to for state changes, and will be useful in debugging the flight software as
2537 well as provide a filtered view of the data.
2539 Signed-off-by: Keith Packard <keithp@keithp.com>
2541 commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
2542 Author: Keith Packard <keithp@keithp.com>
2543 Date: Sun May 17 22:29:06 2009 -0700
2545 Handle disappearing serial devices
2547 Put up a dialog when the serial open fails, and shut down monitoring when
2548 the serial device disappears while running.
2550 Signed-off-by: Keith Packard <keithp@keithp.com>
2552 commit 69616104813fc5ba89fb3128d04fb9328961c59c
2553 Author: Keith Packard <keithp@keithp.com>
2554 Date: Sun May 17 22:24:53 2009 -0700
2556 While on the pad, zero out velocity every second
2558 We integrate acceleration to get velocity, but that means sitting on the pad
2559 for a long time can add substantial error to the velocity value. Each
2560 second, take the velocity value from a full second ago and subtract that out
2561 of the current velocity. Once we detect boost, this will stop, which means
2562 that as long as we detect boost within a second, we won't have subtracted
2563 out any "real" velocity.
2565 This keeps the pad velocity hovering around zero, which is pretty useful.
2567 Signed-off-by: Keith Packard <keithp@keithp.com>
2569 commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
2570 Author: Keith Packard <keithp@keithp.com>
2571 Date: Sun May 17 01:29:06 2009 -0700
2573 Clear table, reset log on disconnect
2575 commit 4316b6af86b37522038e642235c163fcaad52e96
2576 Author: Keith Packard <keithp@keithp.com>
2577 Date: Sun May 17 01:28:16 2009 -0700
2579 Add pad lat/lon, max accel, max height
2581 Signed-off-by: Keith Packard <keithp@keithp.com>
2583 commit 4348281bd788a13ea700413537f12da3c00356e4
2584 Author: Keith Packard <keithp@keithp.com>
2585 Date: Sun May 17 00:46:09 2009 -0700
2587 Clean up GPS display
2589 Signed-off-by: Keith Packard <keithp@keithp.com>
2591 commit ff68e38770351ddac3285ce275cd85adab01fd3d
2592 Author: Keith Packard <keithp@keithp.com>
2593 Date: Sun May 17 00:45:38 2009 -0700
2595 Make aoview window taller
2597 Signed-off-by: Keith Packard <keithp@keithp.com>
2599 commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
2600 Author: Keith Packard <keithp@keithp.com>
2601 Date: Sun May 17 00:13:45 2009 -0700
2603 Add lots more aoview UI bits
2605 Logs data to files, displays current state in window.
2607 Signed-off-by: Keith Packard <keithp@keithp.com>
2609 commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
2610 Author: Keith Packard <keithp@keithp.com>
2611 Date: Sat May 16 20:45:26 2009 -0700
2613 When logging starts up, right the whole ring to the log.
2615 This preserves the data pre boost-detect for later analysis.
2617 Signed-off-by: Keith Packard <keithp@keithp.com>
2619 commit fec4212a59a7b3321536b25707dcabc43c797c33
2620 Author: Keith Packard <keithp@keithp.com>
2621 Date: Sat May 16 20:04:31 2009 -0700
2623 Abandon use of accelerometer for apogee detect.
2625 Integrating the accelerometer data to compute velocity worked for one rocket
2626 flight, but additional testing shows that it doesn't work in other
2627 airframes. Until we figure out how this should work, we'll rely on the
2628 altimeter to detect apogee.
2630 Signed-off-by: Keith Packard <keithp@keithp.com>
2632 commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
2633 Author: Keith Packard <keithp@keithp.com>
2634 Date: Sat May 16 02:25:04 2009 -0700
2636 Add preliminary aoview code
2638 AoView connects with TeleDongle to present telemetry information in a
2639 reasonable form. Right now, it just displays information to stdout, but it
2640 does have fancy dialogs for finding the USB devices.
2642 Signed-off-by: Keith Packard <keithp@keithp.com>
2644 commit 37250b00f6286aee4b3b28604f5d463db3079a89
2645 Author: Keith Packard <keithp@keithp.com>
2646 Date: Wed May 13 20:41:54 2009 -0700
2648 Discard usb output before connection. Handle USB reset.
2650 Discarding output before USB is plugged in allows threads that send output
2651 and do other things to work without a USB connection. Unfortuantely, there
2652 doesn't appear to be any way to detect when the USB link is disconnected,
2653 which means that once USB is enabled, future writes will continue to block.
2655 USB reset causes the USB interrupts to all be reconfigured back to power-on
2658 Signed-off-by: Keith Packard <keithp@keithp.com>
2660 commit 9b974217958b1017e62d6c4f4568f547ccc30c58
2661 Author: Keith Packard <keithp@keithp.com>
2662 Date: Wed May 13 20:40:42 2009 -0700
2664 Enable radio monitor by default in teleterra, teledongle and tidongle
2666 These ground loads want to monitor the radio constantly, and not require use
2667 of the 'm' command before listening.
2669 Signed-off-by: Keith Packard <keithp@keithp.com>
2671 commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
2672 Author: Keith Packard <keithp@keithp.com>
2673 Date: Wed May 13 20:39:28 2009 -0700
2675 Remove monitor/rssi functions from telemetrum load
2677 Telemetrum is now a flight-only load, use teleterra or teledongle for ground
2680 Signed-off-by: Keith Packard <keithp@keithp.com>
2682 commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
2683 Author: Keith Packard <keithp@keithp.com>
2684 Date: Wed May 13 20:38:11 2009 -0700
2686 Split out ao_state_names to separate file
2688 Allows state names to be used in programs without monitoring enabled.
2690 Signed-off-by: Keith Packard <keithp@keithp.com>
2692 commit d085d43701e3cdd2119e947a9ae45baa78c80318
2693 Author: Keith Packard <keithp@keithp.com>
2694 Date: Wed May 13 14:29:30 2009 -0700
2696 Indicate RSSI with a blinking LED
2698 Blink the red LED at a rate proportional to the RSSI value.
2700 Signed-off-by: Keith Packard <keithp@keithp.com>
2702 commit 055331d5f7d5adc40c348c3efd331a562dcda82a
2703 Author: Keith Packard <keithp@keithp.com>
2704 Date: Wed May 13 11:19:13 2009 -0700
2706 Make ao_flight_test show AGL altitude and positive acceleration under boost
2708 This makes the output more readable
2710 Signed-off-by: Keith Packard <keithp@keithp.com>
2712 commit d91208fbf5fc7797b93087ef8619454c4bed0130
2713 Author: Keith Packard <keithp@keithp.com>
2714 Date: Wed May 13 11:18:24 2009 -0700
2716 Make ao_flight_test able to read raw logging data
2718 Protect ao_flight_test reading functions so that a simple
2719 'script' output can be fed to the program and have it work correctly.
2721 Signed-off-by: Keith Packard <keithp@keithp.com>
2723 commit d3dbd8949e1102220ad5fd0863f493c819b96e46
2724 Author: Keith Packard <keithp@keithp.com>
2725 Date: Wed May 13 11:16:53 2009 -0700
2727 Print only RSSI when packet CRC is invalid
2729 Packets with invalid CRC usually contain bogus data, so don't print that,
2730 just print out the RSSI which may contain useful data.
2732 Signed-off-by: Keith Packard <keithp@keithp.com>
2734 commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
2735 Author: Keith Packard <keithp@keithp.com>
2736 Date: Wed May 13 11:00:43 2009 -0700
2738 Accelerometer-based velocity values are invalid after apogee
2740 Because the orientation of the flight computer relative to the ground is
2741 unknown after apogee, the accelerometer data cannot be integrated to compute
2742 velocity. Main deploy is now based purely on barometric altitude and landing
2743 detection no longer checks for a low velocity value.
2745 Signed-off-by: Keith Packard <keithp@keithp.com>
2747 commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
2748 Author: Keith Packard <keithp@keithp.com>
2749 Date: Wed May 13 10:59:04 2009 -0700
2751 Add velocity check for boost detect via accelerometer
2753 Bumping the rocket can cause a brief period of high acceleration, which may
2754 cause a mistaken boost detection. Require both a high acceleration and
2755 reasonable velocity to trigger boost phase.
2757 Signed-off-by: Keith Packard <keithp@keithp.com>
2759 commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
2760 Author: Keith Packard <keithp@keithp.com>
2761 Date: Wed May 13 10:58:30 2009 -0700
2765 commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
2766 Author: Keith Packard <keithp@keithp.com>
2767 Date: Sun May 10 23:11:06 2009 -0700
2769 Use recorded accelerometer baseline data in ao_flight_test
2771 With the flight computer recording a long-term average value for the
2772 accelerometer in the flight record, use that to prime the flight test code
2773 when running a log file through the simulator.
2775 Signed-off-by: Keith Packard <keithp@keithp.com>
2777 commit ba3c53636e485450f48093d0a88a6629775f7c3a
2778 Author: Keith Packard <keithp@keithp.com>
2779 Date: Sun May 10 23:01:16 2009 -0700
2781 Don't re-initialize the landing range data at each apogee detect sample
2783 The landing range values are used only after apogee detect, so we need only
2784 initialize them on the transition from apogee to drogue.
2786 Signed-off-by: Keith Packard <keithp@keithp.com>
2788 commit b623b1098bc7a10d471730259438fb82804221d0
2789 Author: Keith Packard <keithp@keithp.com>
2790 Date: Sun May 10 23:00:06 2009 -0700
2792 Initialize ao_min_vel with |ao_flight_vel|
2794 As ao_min_vel is stored as an absolute value, it's important to preserve
2795 that invariant, even though we don't expect ao_flight_vel to be negative at
2798 Signed-off-by: Keith Packard <keithp@keithp.com>
2800 commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
2801 Author: Keith Packard <keithp@keithp.com>
2802 Date: Sun May 10 22:58:31 2009 -0700
2804 Decrease telemetry rate on the pad to 1/sec instead of 20/sec
2806 Transmitting telemetry through the radio consumes a significant amount of
2807 battery; reducing the rate to 1/sec will reduce power usage while waiting
2810 Signed-off-by: Keith Packard <keithp@keithp.com>
2812 commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
2813 Author: Keith Packard <keithp@keithp.com>
2814 Date: Sun May 10 22:57:19 2009 -0700
2816 Increase the initial accel/baro average to 1000 samples
2818 To get an accurate baseline of the launchpad state, take a longer average of
2819 the two sensors as the unit boots up.
2821 Signed-off-by: Keith Packard <keithp@keithp.com>
2823 commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
2824 Author: Keith Packard <keithp@keithp.com>
2825 Date: Sun May 10 22:54:14 2009 -0700
2827 Record average accelerometer value in flight start log record
2829 The average accelerometer value cannot be extracted from the log as the
2830 record starts after that is computed. As that drives much of the
2831 accelerometer-based state transition logic, it is an important value to
2832 have, so we log it as part of the flight start record now.
2834 Signed-off-by: Keith Packard <keithp@keithp.com>
2836 commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
2837 Author: Keith Packard <keithp@keithp.com>
2838 Date: Sat May 9 10:24:10 2009 -0700
2840 Add version command to show product information
2842 commit e80b87f5e3ccf152d67a2e87bdefda161c455599
2843 Author: Keith Packard <keithp@keithp.com>
2844 Date: Sat May 9 10:23:49 2009 -0700
2846 Pad callsign with nuls
2848 commit beae3360828da21eb1a3c4f88e930f242d4e36b7
2849 Author: Keith Packard <keithp@keithp.com>
2850 Date: Fri May 1 08:14:57 2009 -0700
2852 USB spec limits bulk endpoints to 64 byte payload max.
2854 For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
2857 commit de7814c738488c2c16c6216c93fa78128895e5d5
2858 Author: Keith Packard <keithp@keithp.com>
2859 Date: Wed Apr 29 17:46:56 2009 -0700
2861 Use 'char' instead of 'uint8_t' for character data
2863 String and character constants are of char type, so using uint8_t causes
2864 promotion to 16-bit types when comparing the two.
2866 commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
2867 Author: Keith Packard <keithp@keithp.com>
2868 Date: Wed Apr 29 17:46:36 2009 -0700
2870 Eliminate incorrect cast in printf string argument
2872 char * is a pointer to a string in the default address space, not a generic pointer
2873 to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
2876 commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
2877 Author: Keith Packard <keithp@keithp.com>
2878 Date: Wed Apr 29 17:44:41 2009 -0700
2880 Correct radio frequency shown in config display.
2882 Radio frequency base is 434.550, not 435.550
2884 commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
2885 Author: Keith Packard <keithp@keithp.com>
2886 Date: Wed Apr 29 17:42:26 2009 -0700
2888 Reset landing interval tests at apogee
2890 This moves all of the interval management into the landing test code and
2891 out of the main loop. The interval is reset at apogee to make sure the
2892 sensors produce a stable reading for at least 20 seconds
2894 commit 7a1b77c2d7253a681389f32b70e2460aac188807
2895 Author: Bdale Garbee <bdale@gag.com>
2896 Date: Sun Apr 26 17:53:13 2009 -0600
2898 clean up host programs, too
2900 commit 5df80c346d65a9d56a8699b056dc44924acb31fe
2901 Author: Keith Packard <keithp@keithp.com>
2902 Date: Sun Apr 26 16:04:07 2009 -0700
2904 Was missing v_batt in adc dump command
2906 commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
2907 Author: Keith Packard <keithp@keithp.com>
2908 Date: Sun Apr 26 15:38:28 2009 -0700
2910 Add manual ignition and igniter test commands
2912 commit 819f1de8dd6010fae050bcef930943c7923929f9
2913 Author: Keith Packard <keithp@keithp.com>
2914 Date: Sun Apr 26 15:38:03 2009 -0700
2916 Clean up commands a bit
2918 commit 178abb5c8439509926a5507911d7148b84f051b8
2919 Author: Keith Packard <keithp@keithp.com>
2920 Date: Sun Apr 26 15:08:58 2009 -0700
2922 Clear more files on make clean
2924 commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
2925 Author: Keith Packard <keithp@keithp.com>
2926 Date: Sun Apr 26 15:05:29 2009 -0700
2928 Label binaries with product and serial info
2930 commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
2931 Author: Keith Packard <keithp@keithp.com>
2932 Date: Sun Apr 26 01:37:02 2009 -0700
2934 Make sure full log is written and flushed on landing.
2936 The final state change to landing is recorded in the logging thread, so have
2937 that turn off logging once it has recorded that state. Then make it go to
2940 commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
2941 Author: Keith Packard <keithp@keithp.com>
2942 Date: Sun Apr 26 01:36:53 2009 -0700
2944 Clean up monitor output a bit
2946 commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
2947 Author: Keith Packard <keithp@keithp.com>
2948 Date: Sun Apr 26 00:11:32 2009 -0700
2950 Add configuration support
2952 Current config variables:
2953 Main deploy altitude above launch (in meters)
2954 Acceleration zero g calibration (manual or automatic)
2955 Radio channel (freq = 435.550MHz + channel * 100kHz)
2956 Callsign (max 8 characters)
2958 Supporting this involved shuffling code around so that the
2959 non-telemetrum builds could include only the stuff they needed.
2961 commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
2962 Author: Keith Packard <keithp@keithp.com>
2963 Date: Sat Apr 25 14:44:33 2009 -0700
2965 Allow for slower ADC operation. Add power saving code.
2967 This tries to make the flight computer use less power by disabling USB in
2968 flight mode, lowering the telemetry rate after ascent. It also disables the
2969 RDF beacon during ascent and re-enables it once descent has started.
2971 commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
2972 Author: Keith Packard <keithp@keithp.com>
2973 Date: Sat Apr 25 14:44:04 2009 -0700
2975 Allow ADC to be disabled
2977 commit 7bc3d9962872850e7b420221cf689db16b4305cc
2978 Author: Keith Packard <keithp@keithp.com>
2979 Date: Sat Apr 25 14:43:23 2009 -0700
2981 Place CPU in P0 state while idle
2983 commit e45fce7f82d704d677f84c69b0e07588d109d780
2984 Author: Keith Packard <keithp@keithp.com>
2985 Date: Sat Apr 25 14:42:20 2009 -0700
2987 Add RDF beacon and callsign to telemetry
2989 commit 61510f98404bca6861b2da98f6cd9ba9deb76968
2990 Author: Keith Packard <keithp@keithp.com>
2991 Date: Sat Apr 25 14:40:51 2009 -0700
2993 Add radio code to emit a 1kHz tone
2995 commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
2996 Author: Keith Packard <keithp@keithp.com>
2997 Date: Sat Apr 25 13:18:37 2009 -0700
2999 Allow the USB system to be disabled/enabled at run-time
3001 commit 45976af820fc41099928df71ea8304c56eb9fc7c
3002 Author: Keith Packard <keithp@keithp.com>
3003 Date: Sat Apr 25 13:16:27 2009 -0700
3005 Make LED usage depend on target device
3007 commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
3008 Author: Keith Packard <keithp@keithp.com>
3009 Date: Sat Apr 25 13:13:24 2009 -0700
3011 Make some functions reentrant to save DSEG space
3013 commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
3014 Author: Keith Packard <keithp@keithp.com>
3015 Date: Fri Apr 24 19:17:37 2009 -0700
3017 Add monitor task to flight software
3019 Allows the use of telemetrum in teledongle mode.
3021 commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
3022 Author: Keith Packard <keithp@keithp.com>
3023 Date: Fri Apr 24 19:17:19 2009 -0700
3025 Report difference from ground to max altitude at landing
3027 commit f94ab879ff6f97708827c74facd11003a2d8b590
3028 Author: Keith Packard <keithp@keithp.com>
3029 Date: Fri Apr 24 19:16:29 2009 -0700
3031 Display data with units while running simulation
3033 commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
3034 Author: Keith Packard <keithp@keithp.com>
3035 Date: Fri Apr 24 19:13:31 2009 -0700
3037 Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
3039 This change ensures that we actually got going fairly fast, and then slowed
3040 down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
3041 right off the pad as we're not going very fast at that point...
3043 This also adds the 'f' command to show the current flight status on the USB
3046 commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
3047 Author: Keith Packard <keithp@keithp.com>
3048 Date: Fri Apr 24 19:12:28 2009 -0700
3050 configure igniter ports, set values to measured ones
3052 commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
3053 Author: Keith Packard <keithp@keithp.com>
3054 Date: Fri Apr 24 19:11:40 2009 -0700
3056 Move ao_led_init to end of file to be consistent with other files
3058 commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
3059 Author: Keith Packard <keithp@keithp.com>
3060 Date: Fri Apr 24 19:10:20 2009 -0700
3062 Define ao_state_names in ao.h so other people can share
3064 commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
3065 Author: Keith Packard <keithp@keithp.com>
3066 Date: Fri Apr 24 19:09:31 2009 -0700
3070 commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
3071 Author: Keith Packard <keithp@keithp.com>
3072 Date: Fri Apr 24 19:09:09 2009 -0700
3074 Move beep_init to end of file to be consistent with other files
3076 commit b99315cee4ab796376458a2442cf36806fa4aed3
3077 Author: Keith Packard <keithp@keithp.com>
3078 Date: Fri Apr 24 10:19:31 2009 -0700
3080 Update flight algorithm based on data collected from SN-1 Flight 1
3082 This now correctly sequences through the flight data collected from the
3083 first TeleMetrum test flight.
3085 This also completes up the flight algorithm test harness (ao_flight_test),
3086 which runs the flight algorithm on the Linux host from a captured data log.
3088 commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
3089 Author: Keith Packard <keithp@keithp.com>
3090 Date: Thu Apr 23 22:17:44 2009 -0700
3092 Add igniters and update flight control algorithm
3094 commit f155333ae18a25068644792e8940269d9fb28033
3095 Author: Keith Packard <keithp@keithp.com>
3096 Date: Fri Apr 24 00:15:09 2009 -0700
3098 Avoid ram from 0xfda2 through feff, its funky
3100 commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
3101 Author: Keith Packard <keithp@keithp.com>
3102 Date: Thu Apr 23 22:18:33 2009 -0700
3104 remove ao_flight_test until its ready
3106 commit 86e73c009f78dc4664883353124fc891fbb01dce
3107 Author: Keith Packard <keithp@keithp.com>
3108 Date: Thu Apr 23 20:50:07 2009 -0700
3110 Add teledongle module
3112 commit 204daac71ad56926730f5d6860bd70c645302e19
3113 Author: Keith Packard <keithp@keithp.com>
3114 Date: Thu Apr 23 14:26:01 2009 -0700
3116 Set telemetry rate to 100ms
3118 commit 306b28f632e21b42ab165e7944283cf9764b590e
3119 Author: Keith Packard <keithp@keithp.com>
3120 Date: Thu Apr 23 14:23:26 2009 -0700
3122 Wrong license on ao_monitor.c
3124 commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
3125 Author: Keith Packard <keithp@keithp.com>
3126 Date: Thu Apr 23 14:23:00 2009 -0700
3128 Crank up radio to 10dBm
3130 commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
3131 Author: Keith Packard <keithp@keithp.com>
3132 Date: Wed Apr 22 16:03:28 2009 -0700
3136 commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
3137 Author: Keith Packard <keithp@keithp.com>
3138 Date: Wed Apr 22 15:55:01 2009 -0700
3140 Clean up TeleTerra files
3142 commit 61cee50c86e275f9fde875bd317c3e74255394ec
3143 Author: Keith Packard <keithp@keithp.com>
3144 Date: Wed Apr 22 15:53:55 2009 -0700
3146 simplify ao_time function
3148 commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
3149 Author: Keith Packard <keithp@keithp.com>
3150 Date: Wed Apr 22 15:53:46 2009 -0700
3152 One line radio status
3154 commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
3155 Author: Keith Packard <keithp@keithp.com>
3156 Date: Wed Apr 22 15:49:16 2009 -0700
3158 Add new binaries to .gitignore
3160 commit 00d5610caff61559eb24c24beaa56629d6bb03be
3161 Author: Keith Packard <keithp@keithp.com>
3162 Date: Wed Apr 22 15:49:00 2009 -0700
3164 Speed up dbg port bit frobbing
3166 commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
3167 Author: Keith Packard <keithp@keithp.com>
3168 Date: Wed Apr 22 15:48:28 2009 -0700
3172 commit ada6dea04b94be016598566c4c13e6105aaec353
3173 Author: Keith Packard <keithp@keithp.com>
3174 Date: Wed Apr 22 15:48:14 2009 -0700
3176 Clean up task list formatting
3178 commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
3179 Author: Keith Packard <keithp@keithp.com>
3180 Date: Wed Apr 22 15:47:57 2009 -0700
3182 Control radio monitoring with the M command
3184 commit 837c620f07b63efc171be3ac14c78bc99adf7592
3185 Author: Keith Packard <keithp@keithp.com>
3186 Date: Wed Apr 22 14:25:43 2009 -0700
3188 Shrink USB output buffers, work around USB packet errors
3190 commit d87e9c25947d7cc2eba8894a524977f2c55a089a
3191 Author: Keith Packard <keithp@keithp.com>
3192 Date: Tue Apr 21 02:07:24 2009 -0700
3194 Clean up telemetry now that all packets are the same
3196 commit 1b333def5052d2ed47fdeaef23a897fe326f6340
3197 Author: Keith Packard <keithp@keithp.com>
3198 Date: Tue Apr 21 02:07:08 2009 -0700
3200 Add longer debug delays to reset/debug_mode entry
3202 commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
3203 Author: Keith Packard <keithp@keithp.com>
3204 Date: Tue Apr 21 01:17:03 2009 -0700
3206 Fix up fancy dbg stuff. Add teleterra initial bits.
3208 The dbg stuff needed a bit of help to actually walk the tables; it appears
3209 that complex expressions confuse sdcc.
3211 This also adds primitive teleterra bits, but no UI, etc.
3213 Signed-off-by: Keith Packard <keithp@keithp.com>
3215 commit 43c8f7012102cdb591ace899420c10e4a78385ad
3216 Author: Keith Packard <keithp@keithp.com>
3217 Date: Mon Apr 20 23:33:41 2009 -0700
3219 Add radio support. Build separate executables for TeleMetrum and the TI dongle
3221 Ok, way too big a patch, but things were in rough shape.
3222 This patch adds support for the radio, both transmit and receive.
3223 Then, because I could no longer run the TeleMetrum code on the TI
3224 dongle, I ended up building a separate image for the TI board, which
3225 involved creating a mechanism for having multiple command sets and splitting
3226 code for different functions into different files.
3228 commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
3229 Author: Keith Packard <keithp@keithp.com>
3230 Date: Sat Apr 18 23:19:24 2009 -0700
3232 Start using pdata area for less-frequently used data
3234 commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
3235 Author: Keith Packard <keithp@keithp.com>
3236 Date: Sat Apr 18 23:19:05 2009 -0700
3238 Slow down panic presentation
3240 commit c4e983daa4579896b227fdcb2be43fad75e94307
3241 Author: Keith Packard <keithp@keithp.com>
3242 Date: Sat Apr 18 23:17:45 2009 -0700
3244 Parse GPS data locally. Add 'g' command to display recent GPS results.
3246 This parses the GPS GGA message and stores it in a global variable,
3247 protected by a mutex.
3249 commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
3250 Author: Keith Packard <keithp@keithp.com>
3251 Date: Sat Apr 18 23:16:01 2009 -0700
3253 Add task names and 'T' command to show task status.
3255 The T command shows the current wchan and PC for each task in the system.
3257 commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
3258 Author: Keith Packard <keithp@keithp.com>
3259 Date: Sat Apr 18 19:32:18 2009 -0700
3261 Fix GPL version at 2
3263 Signed-off-by: Keith Packard <keithp@keithp.com>
3265 commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
3266 Author: Keith Packard <keithp@keithp.com>
3267 Date: Fri Apr 17 23:38:14 2009 -0700
3269 Add gps, debug dongle support and pressure alt tables
3271 GPS also pulled in serial support. The altitude tables take raw 11-bit
3272 pressure sample numbers and convert them to standard pressure altitude
3275 Signed-off-by: Keith Packard <keithp@keithp.com>
3277 commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
3278 Author: Keith Packard <keithp@keithp.com>
3279 Date: Fri Apr 17 10:32:45 2009 -0700
3281 Enable FEC in radio packets
3283 commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
3284 Author: Keith Packard <keithp@keithp.com>
3285 Date: Fri Apr 17 10:29:42 2009 -0700
3287 Add CRC to radio packets
3289 commit 20834caf01ddf481e8362b0d2627ef383a82e09d
3290 Author: Keith Packard <keithp@keithp.com>
3291 Date: Fri Apr 17 10:23:10 2009 -0700
3295 commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
3296 Author: Keith Packard <keithp@keithp.com>
3297 Date: Fri Apr 17 10:19:25 2009 -0700
3299 Add packet status byte defines
3301 commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
3302 Author: Keith Packard <keithp@keithp.com>
3303 Date: Fri Apr 17 10:11:31 2009 -0700
3305 Add separate xmit/recv programs to radio demo
3307 commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
3308 Author: Keith Packard <keithp@keithp.com>
3309 Date: Fri Apr 17 10:11:11 2009 -0700
3311 Get env var for debug method selection
3313 commit 26095fc0511ee0d5213f038986032f7c59964cf0
3314 Author: Keith Packard <keithp@keithp.com>
3315 Date: Fri Apr 17 10:10:47 2009 -0700
3317 Run-time selection between cp2103 and cc1111
3319 commit 543bedde83cbce5145668e72965e02d892187b59
3320 Author: Keith Packard <keithp@keithp.com>
3321 Date: Thu Apr 16 20:38:14 2009 -0700
3325 commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
3326 Author: Keith Packard <keithp@keithp.com>
3327 Date: Wed Apr 15 14:25:26 2009 -0700
3329 Move a bunch of variables from __data to __xdata
3331 commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
3332 Author: Keith Packard <keithp@keithp.com>
3333 Date: Tue Apr 14 21:25:15 2009 -0700
3335 Slow down panic code, disable interrupts
3337 commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
3338 Author: Keith Packard <keithp@keithp.com>
3339 Date: Tue Apr 14 21:24:25 2009 -0700
3341 Keep reporting flight state while it changes
3343 commit 9605045164882b4ca3d1317ac860b02513a51f30
3344 Author: Keith Packard <keithp@keithp.com>
3345 Date: Tue Apr 14 21:23:55 2009 -0700
3347 use red LED to indicate system startup
3349 commit dc844ee7e49a3b6145b3165252a592ed070d600f
3350 Author: Keith Packard <keithp@keithp.com>
3351 Date: Tue Apr 14 21:23:13 2009 -0700
3353 Use ao_ee_flush_internal while holding mutex
3355 commit 5e45d1c89b00e74d5b2730345843f43aab516af2
3356 Author: Keith Packard <keithp@keithp.com>
3357 Date: Tue Apr 14 21:22:56 2009 -0700
3359 Leave beeping and lights to the flight code
3361 commit 902c342289c1d13a4d55b9224acb6d67578b7a60
3362 Author: Keith Packard <keithp@keithp.com>
3363 Date: Tue Apr 14 21:22:31 2009 -0700
3365 Make mutex functions reentrant
3367 commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
3368 Author: Keith Packard <keithp@keithp.com>
3369 Date: Tue Apr 14 19:08:01 2009 -0700
3371 Add in existing flight pieces: flight/report/log
3373 These pieces come from the old telemetrum firmware.
3375 Signed-off-by: Keith Packard <keithp@keithp.com>
3377 commit ac99982b10fd5772218660137ee21db9b90cd885
3378 Author: Keith Packard <keithp@keithp.com>
3379 Date: Tue Apr 14 14:21:56 2009 -0700
3381 Add eeprom driver and command loop
3383 This involved adding dma control and a mutex implementation.
3385 Signed-off-by: Keith Packard <keithp@keithp.com>
3387 commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
3388 Author: Keith Packard <keithp@keithp.com>
3389 Date: Tue Apr 14 11:04:09 2009 -0700
3391 Switch from --model-large to --model-small
3393 This shrinks the application quite a bit, and should make it faster as well.
3395 Signed-off-by: Keith Packard <keithp@keithp.com>
3397 commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
3398 Author: Keith Packard <keithp@keithp.com>
3399 Date: Tue Apr 14 10:02:19 2009 -0700
3401 Add comments, clean up white space, etc.
3403 Various clean ups now that the basic code appears to work.
3405 Signed-off-by: Keith Packard <keithp@keithp.com>
3407 commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
3408 Author: Keith Packard <keithp@keithp.com>
3409 Date: Mon Apr 13 21:58:07 2009 -0700
3411 Switch USB to double-buffered
3413 commit b56a44e48552bc32dbba9ff21770c370219a684a
3414 Author: Keith Packard <keithp@keithp.com>
3415 Date: Mon Apr 13 21:51:59 2009 -0700
3417 Fix USB input/output by reloading packet limits.
3419 The USB controller is reset during the connection process, which clears the
3420 packet limits set in the controller at initialization time. Reload those
3421 values when the configuration is set.
3423 Signed-off-by: Keith Packard <keithp@keithp.com>
3425 commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
3426 Author: Keith Packard <keithp@keithp.com>
3427 Date: Mon Apr 13 20:39:46 2009 -0700
3429 USB working up through reading strings
3431 commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
3432 Author: Keith Packard <keithp@keithp.com>
3433 Date: Mon Apr 13 13:51:08 2009 -0700
3437 This offers a single CDC ACM device over USB.
3439 Signed-off-by: Keith Packard <keithp@keithp.com>
3441 commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
3442 Author: Keith Packard <keithp@keithp.com>
3443 Date: Sun Apr 12 23:53:55 2009 -0700
3445 Add beep/led support.
3447 Support our P2_0 connected buzzer, and formalize LED output support.
3449 Signed-off-by: Keith Packard <keithp@keithp.com>
3451 commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
3452 Author: Keith Packard <keithp@keithp.com>
3453 Date: Sun Apr 12 23:17:16 2009 -0700
3457 Sample A/D at the timer tick, placing data in a ring
3460 Signed-off-by: Keith Packard <keithp@keithp.com>
3462 commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
3463 Author: Keith Packard <keithp@keithp.com>
3464 Date: Sun Apr 12 22:52:47 2009 -0700
3468 Use Timer 1 to generate a 100Hz timer interrupt
3470 commit 650a77e209dbb54c8d8fd9824cee430985564973
3471 Author: Keith Packard <keithp@keithp.com>
3472 Date: Sun Apr 12 21:58:49 2009 -0700
3476 commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
3477 Author: Keith Packard <keithp@keithp.com>
3478 Date: Sun Apr 12 21:52:56 2009 -0700
3482 commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
3483 Author: Keith Packard <keithp@keithp.com>
3484 Date: Sun Apr 12 21:47:32 2009 -0700
3486 Add load command to s51
3488 commit 55402ba3e87fd699c51079843309f1f0d1534724
3489 Author: Keith Packard <keithp@keithp.com>
3490 Date: Sun Apr 12 21:33:55 2009 -0700
3492 Make test more complicated
3494 commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
3495 Author: Keith Packard <keithp@keithp.com>
3496 Date: Sun Apr 12 21:33:46 2009 -0700
3498 SP points at last pushed byte
3500 commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
3501 Author: Keith Packard <keithp@keithp.com>
3502 Date: Sun Apr 12 20:27:03 2009 -0700
3506 commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
3507 Author: Keith Packard <keithp@keithp.com>
3508 Date: Sun Apr 12 20:25:39 2009 -0700
3510 Initial AltOS import
3512 commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
3513 Author: Keith Packard <keithp@keithp.com>
3514 Date: Sun Apr 12 12:38:58 2009 -0700
3518 commit ee110425fb814780476d1d3d8a257af126f41763
3519 Author: Keith Packard <keithp@keithp.com>
3520 Date: Mon Apr 6 17:09:23 2009 -0700
3522 Bump buffer pointer as data is written to cc-usb
3524 commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
3525 Author: Keith Packard <keithp@keithp.com>
3526 Date: Mon Apr 6 11:31:49 2009 -0700
3528 Add support for a serial-connected custom debug dongle
3530 This uses the cc1111 board as a custom debug dongle with faster
3531 methods for communicating with the debug target.
3533 commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
3534 Author: Keith Packard <keithp@keithp.com>
3535 Date: Wed Apr 1 17:50:47 2009 -0700
3537 Reset cc1111 on s51 exit
3539 commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
3540 Author: Keith Packard <keithp@keithp.com>
3541 Date: Wed Apr 1 00:06:45 2009 -0700
3543 Add timer-based beep test
3545 commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
3546 Author: Keith Packard <keithp@keithp.com>
3547 Date: Thu Mar 26 22:41:47 2009 -0700
3549 Add readline support to s51
3551 commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
3552 Author: Keith Packard <keithp@keithp.com>
3553 Date: Wed Mar 25 11:37:48 2009 -0700
3555 Deal with MSB-outputing DMA engine
3557 commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
3558 Author: Keith Packard <keithp@keithp.com>
3559 Date: Wed Mar 25 11:14:03 2009 -0700
3561 Flip ADC bytes around
3563 commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
3564 Author: Keith Packard <keithp@keithp.com>
3565 Date: Wed Mar 25 11:01:30 2009 -0700
3567 Add spacing for serial adc data
3569 commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
3570 Author: Keith Packard <keithp@keithp.com>
3571 Date: Wed Mar 25 10:58:57 2009 -0700
3573 Inc only one on dest addr
3575 commit 378227d869a3e8787c532c8c4e1563b44002c4b5
3576 Author: Keith Packard <keithp@keithp.com>
3577 Date: Wed Mar 25 10:55:17 2009 -0700
3579 Dump remaining inputs
3581 commit f54a41e37d6897db2e24fbc82880076b78a0ae41
3582 Author: Keith Packard <keithp@keithp.com>
3583 Date: Wed Mar 25 10:50:36 2009 -0700
3585 Remove poll for ti demo button
3587 commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
3588 Author: Keith Packard <keithp@keithp.com>
3589 Date: Wed Mar 25 10:50:14 2009 -0700
3591 Add adc to serial conversion
3593 commit d9fd548db15232e3a8823815962b252c7a5e7cba
3594 Author: Keith Packard <keithp@keithp.com>
3595 Date: Wed Mar 25 10:04:50 2009 -0700
3597 Add ADC via DMA example
3599 commit 61faf2b773300988fe27cfde5bc045be9950a1b0
3600 Author: Keith Packard <keithp@keithp.com>
3601 Date: Wed Mar 25 09:45:14 2009 -0700
3605 commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
3606 Author: Keith Packard <keithp@keithp.com>
3607 Date: Wed Mar 25 01:05:36 2009 -0700
3611 commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
3612 Author: Keith Packard <keithp@keithp.com>
3613 Date: Wed Mar 25 01:03:08 2009 -0700
3615 Make radio test compile again
3617 commit 9ce713fdd19bf1a51370dacba3670504356c5c11
3618 Author: Keith Packard <keithp@keithp.com>
3619 Date: Wed Mar 25 01:02:07 2009 -0700
3621 Wait for xtal to stabilize
3623 commit ffd43886dc902f3bb7407294018e3d62cac39480
3624 Author: Keith Packard <keithp@keithp.com>
3625 Date: Wed Mar 25 00:55:11 2009 -0700
3629 commit 029963cc94fbb47560118b5de73c537e2c14ed7c
3630 Author: Keith Packard <keithp@keithp.com>
3631 Date: Wed Mar 25 00:50:02 2009 -0700
3633 Eliminate array walking
3635 commit 019456a17d36f8f9f9b72cfbc980492175086d32
3636 Author: Keith Packard <keithp@keithp.com>
3637 Date: Wed Mar 25 00:41:49 2009 -0700
3639 Add a per-char delay
3641 commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
3642 Author: Keith Packard <keithp@keithp.com>
3643 Date: Wed Mar 25 00:36:35 2009 -0700
3645 Use UTX1IF to wait for serial TX complete
3647 commit 006124529b243c7657a94312d2c868a82878d8bb
3648 Author: Keith Packard <keithp@keithp.com>
3649 Date: Wed Mar 25 00:29:29 2009 -0700
3651 Send more interesting text
3653 commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
3654 Author: Keith Packard <keithp@keithp.com>
3655 Date: Wed Mar 25 00:24:56 2009 -0700
3657 More random serial bit frobbing
3659 commit 50bdc2407c674a4770912d3a626f36820a7f1527
3660 Author: Keith Packard <keithp@keithp.com>
3661 Date: Wed Mar 25 00:13:15 2009 -0700
3663 Flip serial TX code around a bit
3665 commit 7b7617e376afe0df1d505375b76198358330370c
3666 Author: Keith Packard <keithp@keithp.com>
3667 Date: Wed Mar 25 00:09:47 2009 -0700
3669 Try serial polarity high/high
3671 commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
3672 Author: Keith Packard <keithp@keithp.com>
3673 Date: Wed Mar 25 00:06:32 2009 -0700
3675 Make serial test simpler
3677 commit 62744c186792739c3bf5798c80ff87c69fbe2b65
3678 Author: Keith Packard <keithp@keithp.com>
3679 Date: Wed Mar 25 00:03:45 2009 -0700
3681 Flip start/stop bits around
3683 commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
3684 Author: Keith Packard <keithp@keithp.com>
3685 Date: Tue Mar 24 23:57:12 2009 -0700
3689 commit c41ceb9a488b2209d1d3c09967d1473ce608030f
3690 Author: Keith Packard <keithp@keithp.com>
3691 Date: Tue Mar 24 23:24:01 2009 -0700
3693 Change radio to -30dBm
3695 commit c35de083ca3d4f362063b056a0fd74ffe629d168
3696 Author: Keith Packard <keithp@keithp.com>
3697 Date: Tue Mar 24 23:11:48 2009 -0700
3699 Add serial test program
3701 commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
3702 Author: Keith Packard <keithp@keithp.com>
3703 Date: Tue Mar 24 22:37:38 2009 -0700
3705 Wait for xtal to stabilize after changing to 24MHz
3707 commit e120269fc0f8e14ddf1755337b1d092173e16da2
3708 Author: Keith Packard <keithp@keithp.com>
3709 Date: Tue Mar 24 22:21:31 2009 -0700
3711 Actually return byte read from SPI
3713 commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
3714 Author: Keith Packard <keithp@keithp.com>
3715 Date: Tue Mar 24 22:12:51 2009 -0700
3717 Clear UxCSR_TX_BYTE after transmitting a byte
3719 commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
3720 Author: Keith Packard <keithp@keithp.com>
3721 Date: Tue Mar 24 20:04:58 2009 -0700
3725 commit 91b3a6ae74184692f45702587c4d678b2799ad8c
3726 Author: Keith Packard <keithp@keithp.com>
3727 Date: Tue Mar 24 19:55:04 2009 -0700
3729 actually write and compare SPI test bits
3731 commit 7de3a43887485c3c6cf52960376ccde33fb33985
3732 Author: Keith Packard <keithp@keithp.com>
3733 Date: Tue Mar 24 19:54:02 2009 -0700
3735 Add USART-based SPI test code
3737 commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
3738 Author: Keith Packard <keithp@keithp.com>
3739 Date: Tue Mar 24 17:22:36 2009 -0700
3741 Change spi test string
3743 commit 8131389ee5018c05b721146a98367150cf500fdf
3744 Author: Keith Packard <keithp@keithp.com>
3745 Date: Tue Mar 24 17:15:09 2009 -0700
3747 Oops, not merging in the bit read for SPI test
3749 commit 3429016d1359ec650993d2fb0596184e3f717871
3750 Author: Keith Packard <keithp@keithp.com>
3751 Date: Tue Mar 24 17:04:45 2009 -0700
3753 Adjust clock/data phase for spi test
3755 commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
3756 Author: Keith Packard <keithp@keithp.com>
3757 Date: Tue Mar 24 16:35:13 2009 -0700
3759 MISO needs to be an input
3761 commit f0c233f25a208a636833312b1766825815735304
3762 Author: Keith Packard <keithp@keithp.com>
3763 Date: Tue Mar 24 15:41:55 2009 -0700
3765 Add bit-banging spi eeprom test program
3767 commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
3768 Author: Bdale Garbee <bdale@gag.com>
3769 Date: Wed Mar 18 02:58:33 2009 -0600
3771 working beep at around 4khz
3773 commit 4726317de811c20e8d6754762437b5c9cbb3a48c
3774 Author: Keith Packard <keithp@keithp.com>
3775 Date: Wed Mar 18 01:54:34 2009 -0700
3777 Add simple test program to light up the transmitter at 434.550MHz
3779 This starts a transmit sequence, but doesn't send any data so the
3780 transmitter just locks on.
3782 commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
3783 Author: Keith Packard <keithp@keithp.com>
3784 Date: Sun Mar 15 18:14:21 2009 -0700
3786 Correctly comment which bit the beep program uses
3788 commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
3789 Author: Keith Packard <keithp@keithp.com>
3790 Date: Sun Mar 15 18:11:53 2009 -0700
3792 Add telemetrum beeper example
3794 commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
3795 Author: Keith Packard <keithp@keithp.com>
3796 Date: Sun Mar 15 18:11:20 2009 -0700
3798 sdcc gets the lib path correct based on the model
3800 commit 04a316133af93b79bfbebb91f05eec1015ec2abc
3801 Author: Keith Packard <keithp@keithp.com>
3802 Date: Sun Mar 15 18:10:43 2009 -0700
3804 Bump debug speed back up
3806 commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
3807 Author: Keith Packard <keithp@keithp.com>
3808 Date: Sat Mar 7 21:05:40 2009 -0800
3810 Only flip changing bits in async mode
3812 commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
3813 Author: Keith Packard <keithp@keithp.com>
3814 Date: Sat Mar 7 21:05:06 2009 -0800
3816 The debug port only works if reset is higher than clock. weird
3818 commit ade11f88754b4ab0386ebf86afc5257e59238f62
3819 Author: Keith Packard <keithp@keithp.com>
3820 Date: Sat Mar 7 21:04:38 2009 -0800
3822 Make manual bit flipping sync after every transaction
3824 commit e63b5271bb54afc36e4b9891e51e053ff6011092
3825 Author: Keith Packard <keithp@keithp.com>
3826 Date: Sat Mar 7 14:49:22 2009 -0800
3830 commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
3831 Author: Keith Packard <keithp@keithp.com>
3832 Date: Sat Mar 7 14:48:49 2009 -0800
3834 Sync after manual bit reading
3836 commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
3837 Author: Keith Packard <keithp@keithp.com>
3838 Date: Sat Mar 7 14:48:35 2009 -0800
3840 Flip debug pins around to match telemetrum
3842 commit cc0495b7028f4b1189a00707d828a68534d1dea2
3843 Author: Keith Packard <keithp@keithp.com>
3844 Date: Fri Mar 6 22:52:35 2009 -0800
3846 Wait for a while when switching the RESET_N line
3848 The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
3849 RESET_N line to filter out noise. This increases the time necessary to reset
3850 the chip to several microseconds which is longer than the interval between
3851 two USB packets. Flush the USB packet queue and sleep for a while after
3852 changing the value on the RESET_N line to make sure the chip sees the state
3855 Signed-off-by: Keith Packard <keithp@keithp.com>
3857 commit 41289e6d8f1767547a33fea349866e928e44910f
3858 Author: Bdale Garbee <bdale@gag.com>
3859 Date: Mon Mar 2 07:46:20 2009 -0700
3861 minor s51.1 formatting fixes
3863 Signed-off-by: Keith Packard <keithp@keithp.com>
3865 commit fdee231ed097a4348aee78fbd4aa92826b80de03
3866 Author: Keith Packard <keithp@keithp.com>
3867 Date: Sun Mar 1 23:12:31 2009 -0800
3871 This documents (briefly) the s51 hex debugging interface program, including
3872 some simple commands to test the operation of the system interactively.
3874 Signed-off-by: Keith Packard <keithp@keithp.com>
3876 commit f7d91bd23b8214e09deae0aafb516331e934c49b
3877 Author: Keith Packard <keithp@keithp.com>
3878 Date: Sun Mar 1 18:43:03 2009 -0800
3880 Sometimes the link breaks and the GET_PC command returns garbage
3882 commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
3883 Author: Keith Packard <keithp@keithp.com>
3884 Date: Sun Jan 25 08:38:48 2009 -0800
3886 Support 'set' command
3888 The 'set' command modifies target memory and registers
3890 Signed-off-by: Keith Packard <keithp@keithp.com>
3892 commit 60940b4be23962db79b8e914ec943d0636dd68ad
3893 Author: Keith Packard <keithp@keithp.com>
3894 Date: Mon Jan 5 21:45:21 2009 -0800
3896 Expose ccdbg_set_clock API
3898 This allows applications to change the debug port clock
3901 Signed-off-by: Keith Packard <keithp@keithp.com>
3903 commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
3904 Author: Keith Packard <keithp@keithp.com>
3905 Date: Mon Jan 5 21:44:44 2009 -0800
3907 Use custom sdcc libraries (this needs to be configured...)
3909 Signed-off-by: Keith Packard <keithp@keithp.com>
3911 commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
3912 Author: Keith Packard <keithp@keithp.com>
3913 Date: Mon Jan 5 21:43:44 2009 -0800
3915 Have S51 ignore SIGINT while running under sdcdb.
3917 This prevents keyboard interrupts from accidentally stopping
3920 Signed-off-by: Keith Packard <keithp@keithp.com>
3922 commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
3923 Author: Keith Packard <keithp@keithp.com>
3924 Date: Tue Dec 30 22:40:13 2008 -0800
3926 Add simple and timer sample programs
3928 Signed-off-by: Keith Packard <keithp@keithp.com>
3930 commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
3931 Author: Keith Packard <keithp@keithp.com>
3932 Date: Tue Dec 30 22:35:53 2008 -0800
3934 Save/restore registers to host during memory operations. Cache ROM data.
3936 Because the debug port uses instructions for most operations, the debug code
3937 will clobber registers used by the running program. Save and restore these
3938 to avoid corrupting application data.
3940 If the ROM file is known, use that to return data instead of fetching it
3941 from the target to improve performance.
3943 Signed-off-by: Keith Packard <keithp@keithp.com>
3945 commit ea366058aa467a8a7caf17e7014758f3741ea7f7
3946 Author: Keith Packard <keithp@keithp.com>
3947 Date: Mon Dec 29 12:35:11 2008 -0800
3949 Fix flashing less than a full page of data. Verify page at a time.
3951 The 8051 flashing code requires special help with counts with non-zero low
3952 byte. Also, instead of verifying the entire flash contents at the end,
3953 verify each page as it goes.
3955 Signed-off-by: Keith Packard <keithp@keithp.com>
3957 commit e0697186a2f9b6139636ff5d5c162879c85caf9c
3958 Author: Keith Packard <keithp@keithp.com>
3959 Date: Sun Dec 28 00:11:13 2008 -0800
3961 Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
3963 Not all SFRs are visible in the unified address space, so the SFR-specific
3964 accessors are required.
3966 The dump command is the same as the various 'd*'
3967 commands, but also supports dumping program memory.
3969 The new -m (monitor) flag watches the command stream between s51 and sdcdb.
3971 Signed-off-by: Keith Packard <keithp@keithp.com>
3973 commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
3974 Author: Keith Packard <keithp@keithp.com>
3975 Date: Sun Dec 28 00:09:30 2008 -0800
3977 Save/restore regs when reading/writing memory. Add SFR access.
3979 The DPL and ACC registers are used by the memory access code,
3980 so they need to be saved and restored. Stuff them up high in ram for now;
3981 this should probably be fixed to pull them back to the host instead.
3983 Special SFR access is required as not all SFRs are visible in the unified
3986 Signed-off-by: Keith Packard <keithp@keithp.com>
3988 commit 1405838160b69e2cda456e21502a1d03b3aa7548
3989 Author: Keith Packard <keithp@keithp.com>
3990 Date: Sat Dec 27 11:25:58 2008 -0800
3992 s51: get start address from ihx file. re-enable breakpoints after reset.
3994 Use the start of the ihx file when asked to run from 0x0, this lets
3995 sdcdb run programs from ram.
3997 The reset command clears all hw breakpoints, so reset them afterwards.
3999 Signed-off-by: Keith Packard <keithp@keithp.com>
4001 commit 1264c3676e95427bba5d01e05c303d036a7f9eca
4002 Author: Keith Packard <keithp@keithp.com>
4003 Date: Fri Dec 26 23:05:04 2008 -0800
4005 Switch to libusb-1.0 and use async interface.
4007 The async libusb interface offers substantial performance benefits by not
4008 making each command wait for the reply. This makes talking over this
4009 interface almost reasonable.
4011 Signed-off-by: Keith Packard <keithp@keithp.com>
4013 commit d2d9cfd74fd66836c913c02276e09136d83b35dc
4014 Author: Keith Packard <keithp@keithp.com>
4015 Date: Fri Dec 26 17:58:48 2008 -0800
4017 s51: add breakpoints and the ability to block awaiting a breakpoint.
4019 Signed-off-by: Keith Packard <keithp@keithp.com>
4021 commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
4022 Author: Keith Packard <keithp@keithp.com>
4023 Date: Mon Dec 22 19:11:56 2008 -0800
4025 Add more commands to s51 assembly-language debugger
4027 Signed-off-by: Keith Packard <keithp@keithp.com>
4029 commit 55eba4fa08b022197106245d36a70f575a070b0a
4030 Author: Keith Packard <keithp@keithp.com>
4031 Date: Mon Dec 22 19:10:27 2008 -0800
4033 Make read_memory debug output use ccdbg_debug.
4035 This makes it default to not being presented, which makes s51 much happier
4037 Signed-off-by: Keith Packard <keithp@keithp.com>
4039 commit e75918f3667a5c8ad294bec4acef6fe81682edf6
4040 Author: Keith Packard <keithp@keithp.com>
4041 Date: Sun Dec 21 23:33:35 2008 -0800
4043 Add preliminary version of s51, a UI clone of the 8051 emulator.
4045 sdcdb provides source-level debugging using the 8051 emulator, s51. By
4046 emulating that emulator a the UI level, we should be able to get source
4047 debugging right on our target platform.
4049 This is just the preliminary structure for the program with most commands
4050 not yet implemented.
4052 commit f7d49868aeae80d515b12a7e339628f1296754a6
4053 Author: Keith Packard <keithp@keithp.com>
4054 Date: Sat Dec 20 23:30:06 2008 -0800
4056 Cleanup work; separating out the cp interface to be more abstract.
4058 Signed-off-by: Keith Packard <keithp@keithp.com>
4060 commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
4061 Author: Keith Packard <keithp@keithp.com>
4062 Date: Fri Dec 19 21:13:04 2008 -0800
4064 Clean up autotools stuff.
4066 Signed-off-by: Keith Packard <keithp@keithp.com>
4068 commit 9025eb792861930e6af918d2727c4f5d97a69936
4069 Author: Keith Packard <keithp@keithp.com>
4070 Date: Fri Dec 19 21:11:45 2008 -0800
4074 Signed-off-by: Keith Packard <keithp@keithp.com>
4076 commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
4077 Author: Keith Packard <keithp@keithp.com>
4078 Date: Fri Dec 19 19:08:13 2008 -0800
4082 commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
4083 Author: Keith Packard <keithp@keithp.com>
4084 Date: Fri Dec 19 19:07:37 2008 -0800
4086 Move blink example to subdir
4088 Signed-off-by: Keith Packard <keithp@keithp.com>
4090 commit 82e2d7ebed6682062dc400478c736bd6c91195c9
4091 Author: Keith Packard <keithp@keithp.com>
4092 Date: Fri Dec 19 19:04:26 2008 -0800
4094 Clean up makefiles, move ihx files to .ihx
4096 commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
4097 Author: Keith Packard <keithp@keithp.com>
4098 Date: Fri Dec 19 14:39:57 2008 -0800
4102 commit 4ecfc33f16aa36b315519e6f279da65374b67aba
4103 Author: Keith Packard <keithp@keithp.com>
4104 Date: Fri Dec 19 14:37:53 2008 -0800
4106 Add cc1111 isr stub example
4108 commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
4109 Author: Keith Packard <keithp@keithp.com>
4110 Date: Fri Dec 19 14:37:29 2008 -0800
4112 Add blink-tiny flash and ram versions
4114 commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
4115 Author: Keith Packard <keithp@keithp.com>
4116 Date: Fri Dec 19 14:19:29 2008 -0800
4118 Flash multiple pages. Eliminate off-by-one error in hex_image length.
4120 Signed-off-by: Keith Packard <keithp@keithp.com>
4122 commit 55995515b9d4fc1e193039eab697c5d03db417c2
4123 Author: Keith Packard <keithp@keithp.com>
4124 Date: Fri Dec 19 11:04:16 2008 -0800
4126 Add flash writing code.
4128 Signed-off-by: Keith Packard <keithp@keithp.com>
4130 commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
4131 Author: Keith Packard <keithp@keithp.com>
4132 Date: Thu Dec 18 12:37:32 2008 -0800
4136 Signed-off-by: Keith Packard <keithp@keithp.com>
4138 commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
4139 Author: Keith Packard <keithp@keithp.com>
4140 Date: Thu Dec 18 12:17:41 2008 -0800
4144 Signed-off-by: Keith Packard <keithp@keithp.com>
4146 commit dc03adc179669d41e3551d74b3c5a60db41ff217
4147 Author: Keith Packard <keithp@keithp.com>
4148 Date: Thu Dec 18 12:07:06 2008 -0800
4150 Add ability to load Intel HEX files. Add sample sdcc LED blinker.
4152 Signed-off-by: Keith Packard <keithp@keithp.com>
4154 commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
4155 Author: Keith Packard <keithp@keithp.com>
4156 Date: Thu Dec 18 00:18:50 2008 -0800
4158 Add ability to read/write arbitrary memory. Write LED blinker program.
4160 Signed-off-by: Keith Packard <keithp@keithp.com>
4162 commit 8c879bf51c14a5928135d59211facd72f6a32808
4163 Author: Keith Packard <keithp@keithp.com>
4164 Date: Wed Dec 17 23:15:47 2008 -0800
4166 Move manual bit-banging debug code to separate file
4168 Signed-off-by: Keith Packard <keithp@keithp.com>
4170 commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
4171 Author: Keith Packard <keithp@keithp.com>
4172 Date: Wed Dec 17 23:15:19 2008 -0800
4174 reduce clock to 50us
4176 Signed-off-by: Keith Packard <keithp@keithp.com>
4178 commit fa168f963f8b00144d12aa2770e9c0917cfae123
4179 Author: Keith Packard <keithp@keithp.com>
4180 Date: Wed Dec 17 23:12:59 2008 -0800
4182 Fill out ccdbg-command to support all debug commands.
4184 Signed-off-by: Keith Packard <keithp@keithp.com>
4186 commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
4187 Author: Keith Packard <keithp@keithp.com>
4188 Date: Wed Dec 17 22:24:59 2008 -0800
4190 Clean up bitbanging layer. Add debug printfs.
4192 Signed-off-by: Keith Packard <keithp@keithp.com>
4194 commit 584e28bac8af38de433767e017977ed1adddeb36
4195 Author: Keith Packard <keithp@keithp.com>
4196 Date: Wed Dec 17 12:32:15 2008 -0800
4198 Clean up sample debug files
4200 Signed-off-by: Keith Packard <keithp@keithp.com>
4202 commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
4203 Author: Keith Packard <keithp@keithp.com>
4204 Date: Mon Dec 8 17:25:28 2008 -0800
4206 Add support for input-only lines (-)
4208 commit 4f38974a9941cddaba27c17c5a46f923db386c94
4209 Author: Keith Packard <keithp@keithp.com>
4210 Date: Sat Dec 6 16:32:27 2008 -0800
4214 commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
4215 Author: Keith Packard <keithp@keithp.com>
4216 Date: Sat Dec 6 16:32:12 2008 -0800
4218 Add libusb support and lots more examples
4220 commit 39801e6e9fb9388072ee414a447f74095a6ac960
4221 Author: Keith Packard <keithp@keithp.com>
4222 Date: Fri Nov 28 22:57:07 2008 -0800
4226 commit 01cb2799875e086ee6096627c058ee235bbc33d5
4227 Author: Keith Packard <keithp@keithp.com>
4228 Date: Thu Nov 27 17:07:15 2008 -0800
4230 Add prototypes, add stub mainline, add .gitignore
4232 commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
4233 Author: Keith Packard <keithp@keithp.com>
4234 Date: Thu Nov 27 12:33:40 2008 -0800
4236 cc1111 debug port access through cp2103 serial chip