1 commit 3f95a5abbf8ada70328ced45fbb2781ed1cb3d29
2 Author: Bdale Garbee <bdale@gag.com>
3 Date: Sun Sep 6 17:48:10 2009 -0600
5 more build deps for plotting lib
7 commit 9d7e96e323d652de08b2f2a73e0eb3c321080185
8 Author: Bdale Garbee <bdale@gag.com>
9 Date: Sun Sep 6 17:47:56 2009 -0600
11 update changelogs for Debian build
13 commit ae4e131b61244e06020b82919e31e05dd7dba88f
14 Author: Bdale Garbee <bdale@gag.com>
15 Date: Sun Sep 6 17:46:39 2009 -0600
17 update changelogs for Debian build
19 commit 37e6c9a492a1d51373bf9333fb3172e0c377720f
20 Merge: d256f82 2e6686b
21 Author: Bdale Garbee <bdale@gag.com>
22 Date: Sun Sep 6 17:46:10 2009 -0600
24 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
26 commit 2e6686b1e183c66188ea447b8a54e4c29402443b
27 Author: Keith Packard <keithp@keithp.com>
28 Date: Sun Sep 6 16:45:47 2009 -0700
30 Use plplotd instead of plplotd-gnome2
32 commit d256f8204e9fce53ae4309562bb4c0cde1fae43e
33 Merge: 0fc344d 32d3536
34 Author: Bdale Garbee <bdale@gag.com>
35 Date: Sun Sep 6 17:34:08 2009 -0600
37 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
39 commit 32d3536706324808df6cd02248a236302b831571
40 Author: Keith Packard <keithp@keithp.com>
41 Date: Sun Sep 6 16:24:35 2009 -0700
43 Add plots to ao-postflight using the plplot library
45 It's not perfect, but it generates .svg plot output.
47 Signed-off-by: Keith Packard <keithp@keithp.com>
49 commit 0fc344dfc031a8b1eef7cc40efb1d5ba7782269d
50 Author: Bdale Garbee <bdale@gag.com>
51 Date: Sun Sep 6 14:15:57 2009 -0600
53 update changelogs for Debian build
55 commit 4b0de757874c0ecaf38e3dfd3beefc398150e3d5
56 Merge: 773c4ff d0eac98
57 Author: Bdale Garbee <bdale@gag.com>
58 Date: Sun Sep 6 14:15:53 2009 -0600
60 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
62 commit d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b
63 Author: Keith Packard <keithp@keithp.com>
64 Date: Sun Sep 6 13:15:10 2009 -0700
66 Don't look at NULL strings (summary_name)
68 Signed-off-by: Keith Packard <keithp@keithp.com>
70 commit 73f4a57239f770aff603b961169c0e2cfe2c276b
71 Author: Keith Packard <keithp@keithp.com>
72 Date: Sun Sep 6 13:08:54 2009 -0700
74 Use pressure speed for drogue and beyond states. Fix differentiation time.
76 Drogue state should always use pressure speeds.
78 Differentiation code was using centi-seconds instead of seconds.
80 Signed-off-by: Keith Packard <keithp@keithp.com>
82 commit 773c4ffbc1d2e02eb02cfa543a077a408986da30
83 Author: Bdale Garbee <bdale@gag.com>
84 Date: Sun Sep 6 14:05:55 2009 -0600
86 update changelogs for Debian build
88 commit 45ede4a4b203ef9da5bf05c49cb9c5a2e6382ec5
89 Merge: 45e2938 e35e485
90 Author: Bdale Garbee <bdale@gag.com>
91 Date: Sun Sep 6 14:05:51 2009 -0600
93 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
95 commit e35e485ffe6b26034788ab295121bc2693b7eec1
96 Author: Keith Packard <keithp@keithp.com>
97 Date: Sun Sep 6 13:04:31 2009 -0700
99 Initialize summary_name and detail_name so stuff appears on stdout.
101 Uninitialized variables lead to mysterious results.
103 Signed-off-by: Keith Packard <keithp@keithp.com>
105 commit 45e2938121411d1fc9b3aec3fdeaaeb3c90db5ed
106 Author: Bdale Garbee <bdale@gag.com>
107 Date: Sun Sep 6 14:02:14 2009 -0600
109 update changelogs for Debian build
111 commit d42ebf0661ecf15455e5051de1e16ae66f8dd857
112 Merge: 384dbe9 7a19aac
113 Author: Bdale Garbee <bdale@gag.com>
114 Date: Sun Sep 6 14:02:09 2009 -0600
116 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
118 commit 7a19aac5e881e635962a64fff73027ca2143b96f
119 Author: Keith Packard <keithp@keithp.com>
120 Date: Sun Sep 6 12:51:48 2009 -0700
122 Add DSP code to filter data, allowing for integration/differentiation
124 This adds the computation of speed from both accelerometer and
125 barometer measurements and then presents a periodic flight profile
126 using filtered data as a detailed flight record.
128 Signed-off-by: Keith Packard <keithp@keithp.com>
130 commit 384dbe9fc7fa8e4e5dceec5e150f0f1d3383bbdc
131 Author: Bdale Garbee <bdale@gag.com>
132 Date: Sun Sep 6 10:40:06 2009 -0600
134 update changelogs for Debian build
136 commit 35c54b3a278fa9bc2bc7f4b5ee04866697c93ba0
137 Merge: 4f8eff7 6d018ab
138 Author: Bdale Garbee <bdale@gag.com>
139 Date: Sun Sep 6 10:39:23 2009 -0600
141 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
143 commit 6d018ab933832e2d80bb1564c339d9fb18b57be2
144 Author: Keith Packard <keithp@keithp.com>
145 Date: Sat Sep 5 22:45:49 2009 -0700
147 Handle vageries of .telem files in ao-postflight
149 Telem files have multiple entries of the same state, and sometimes
150 long gaps between recordings. Deal with this as best as possible.
152 Signed-off-by: Keith Packard <keithp@keithp.com>
154 commit c46e832b28820d7c5be4efaacbbd7c0607927fe5
155 Author: Keith Packard <keithp@keithp.com>
156 Date: Sat Sep 5 22:03:31 2009 -0700
158 Add simple post-flight analysis tool (ao-postflight)
160 This tool reads either an eeprom or telem log file and displays some
161 rudimentary data (max accel/alt for each flight stage).
163 Signed-off-by: Keith Packard <keithp@keithp.com>
165 commit 26f56b51bd11aa91f1d77b81827b49c28cb6ec5f
166 Author: Keith Packard <keithp@keithp.com>
167 Date: Sat Sep 5 00:29:26 2009 -0700
169 Add ao-dumplog to capture flight log from command line
171 This duplicates the functionality of the flight log stuf in ao-view,
172 except from the command line where it belongs.
174 Signed-off-by: Keith Packard <keithp@keithp.com>
176 commit 73adae3661160d410dcc802873b530d255c210e5
177 Author: Keith Packard <keithp@keithp.com>
178 Date: Fri Sep 4 15:30:22 2009 -0700
180 Add --device/-D support to the command line tools and manuals
182 Use the new cc_usbdevs_find_by_arg function to locate suitable target
183 devices connected via USB.
185 Signed-off-by: Keith Packard <keithp@keithp.com>
187 commit 4f8eff7401ee2d8092ab36fa33411f9b23dda880
188 Author: Bdale Garbee <bdale@gag.com>
189 Date: Fri Sep 4 16:03:55 2009 -0600
191 update changelogs for Debian build
193 commit 332b056459b1352e233a8bf5f08498df12d32160
194 Author: Keith Packard <keithp@keithp.com>
195 Date: Fri Sep 4 15:01:32 2009 -0700
197 'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.
199 The kernel appears to leave serial data undelivered at times. Reading
200 two blocks at once appears to make it relinquish the queued data.
202 Signed-off-by: Keith Packard <keithp@keithp.com>
204 commit df88ae4c5f229efcc0ea5cb0a81fc2bb8f96fea2
205 Author: Keith Packard <keithp@keithp.com>
206 Date: Fri Sep 4 14:23:02 2009 -0700
208 Add 'ao-list' utility to show attached AltOS devices
210 Signed-off-by: Keith Packard <keithp@keithp.com>
212 commit 0935d6a7e907e20381a42882ae728051f9bece02
213 Author: Keith Packard <keithp@keithp.com>
214 Date: Fri Sep 4 14:21:19 2009 -0700
216 Parse the USB serial number as an integer.
218 AltOS devices use simple integer serial numbers, so parse the USB
219 value as such to make matching values more forgiving.
221 Signed-off-by: Keith Packard <keithp@keithp.com>
223 commit 0c771d999914f9d17c723900f2987acc45fd0fbb
224 Author: Keith Packard <keithp@keithp.com>
225 Date: Fri Sep 4 13:00:02 2009 -0700
227 Move usb scanning code to ao-tools library
229 This will allow the scanning code to be used by the command line tools
230 as well as the ao-view GUI.
232 Now that ao-view depends on the ao-tools library, it has been moved to
233 the ao-tools directory as well.
235 Signed-off-by: Keith Packard <keithp@keithp.com>
237 commit 15341b6e6dcf52df083d6aa37ef881ea6ad48ee5
238 Author: Keith Packard <keithp@keithp.com>
239 Date: Fri Sep 4 12:25:37 2009 -0700
241 Set all of the values to reset the radio for telemetry
243 Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
244 resetting the radio back to telemetry data mode from rdf mode. With
245 the length value removed from the rdf config, these two arrays are no
246 longer the same length, and so the last config value was not set
247 leaving the radio sending garbage.
249 Signed-off-by: Keith Packard <keithp@keithp.com>
251 commit fee46389b70a624ab5b1128a8b4c3083c7747bcb
252 Author: Keith Packard <keithp@keithp.com>
253 Date: Fri Sep 4 11:46:55 2009 -0700
255 Make RDF beacon only run on pad and after landing.
257 It's pretty much impossible to RDF the rocket during flight, and it
258 interferes with the telemetry data stream. Leave it enabled on the pad
259 so that radios can be tested, and then re-enable it once the rocket
262 This patch also turns the rdf 'on' time into a parameter so it can be
263 changed, and then sets that parameter to 500ms, once every 5 seconds.
265 Signed-off-by: Keith Packard <keithp@keithp.com>
267 commit 54545640b0db7747137655f84bc67fd290ecb904
268 Author: Keith Packard <keithp@keithp.com>
269 Date: Fri Sep 4 11:45:52 2009 -0700
271 Add back the RDF tone generator
273 Tracking the rocket on the ground may be easier using tones than using
274 the digital data stream, so we'll try that and see what we think.
276 This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9.
278 Signed-off-by: Keith Packard <keithp@keithp.com>
280 commit 9fafee109e96435c96639b21211cac0500673a63
281 Author: Bdale Garbee <bdale@gag.com>
282 Date: Wed Sep 2 23:18:15 2009 -0600
284 update changelogs for Debian build
286 commit cb4a73f3b65ba72f645fd37ab8712829c9537bf8
287 Merge: 9ddd869 e2e449d
288 Author: Bdale Garbee <bdale@gag.com>
289 Date: Wed Sep 2 23:17:37 2009 -0600
291 Merge commit 'origin/master'
293 commit e2e449d5c23356e913f312de1fb2611a9dd5a352
294 Author: Keith Packard <keithp@keithp.com>
295 Date: Wed Sep 2 22:01:52 2009 -0700
297 Remove bit-banging debug support from TM board builds
299 Our current TM boards don't have the wires to do bit-banging to
300 another cc1111 board, so it doesn't make sense to fill up their flash
301 with useless code (and the 'help' text with useless commands). Leave
302 this to the TI board until we have boards that can serve as debug dongles.
304 Signed-off-by: Keith Packard <keithp@keithp.com>
306 commit acea083d80e1ecc4287083519ea666964016b257
307 Author: Keith Packard <keithp@keithp.com>
308 Date: Wed Sep 2 22:00:37 2009 -0700
310 Make the ao_log_record structures 8 bytes again.
312 When the GPS signal strength data was added, the structure was
313 accidentally extended to 9 bytes, making all log records 9 bytes
314 long. While not a serious problem, this left log records spanning
315 across eeprom block boundaries, which seems like a bad plan.
317 Signed-off-by: Keith Packard <keithp@keithp.com>
319 commit 7d39f17684feb49ac8a0017902158f298696e37c
320 Author: Keith Packard <keithp@keithp.com>
321 Date: Wed Sep 2 21:57:54 2009 -0700
323 Make eeprom reads and writes across block boundary work
325 Reading and writing across the block boundary was not stepping the
326 eeprom position after the partial i/o operation at the end of the
327 first block. This meant that the operation would re-use the end of the
328 previous block, either re-reading or re-writing it.
330 Signed-off-by: Keith Packard <keithp@keithp.com>
332 commit 9ddd8696b4004ccc03238d95a8c2a1d07075e0fb
333 Author: Bdale Garbee <bdale@gag.com>
334 Date: Mon Aug 31 16:48:03 2009 -0600
336 update changelogs for Debian build
338 commit 6926c4ab5d87a8f2eb4fcde2c673fb3a4639e115
339 Author: Bdale Garbee <bdale@gag.com>
340 Date: Mon Aug 31 16:47:44 2009 -0600
342 pixmap file should not be executable
344 commit 1495e2f27acde3743c3764a0c31ee082224d6c64
345 Author: Bdale Garbee <bdale@gag.com>
346 Date: Mon Aug 31 16:42:55 2009 -0600
348 update changelogs for Debian build
350 commit c8c5b7963babe8eb16e2651fba9cd2c8d1cba74e
351 Author: Bdale Garbee <bdale@gag.com>
352 Date: Mon Aug 31 16:42:37 2009 -0600
354 deliver an icon for the Debian menu system
356 commit 591b99c232e780246fc07841c09c8c4e7835facb
357 Author: Bdale Garbee <bdale@gag.com>
358 Date: Mon Aug 31 16:26:00 2009 -0600
360 update changelogs for Debian build
362 commit b34474c1f3083e73b7184d519f54d4c8031836fd
363 Merge: 8df1697 0d65bff
364 Author: Bdale Garbee <bdale@gag.com>
365 Date: Mon Aug 31 16:25:32 2009 -0600
367 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
369 commit 6358041f846ba9a20fa650c367d907dc4336e54c
370 Author: Keith Packard <keithp@keithp.com>
371 Date: Sat Aug 22 13:38:56 2009 -0700
373 Enable GPS degraded mode, set 10 sec degraded timeout.
375 No reason not to let the GPS report solutions whenever it likes, let's
378 Signed-off-by: Keith Packard <keithp@keithp.com>
380 commit 0d65bff443c17d4d98c18b620ec075ab66b30efd
381 Author: Keith Packard <keithp@keithp.com>
382 Date: Fri Aug 21 10:47:46 2009 -0700
384 Turn off GPS tracking data when not present in data stream
386 Signed-off-by: Keith Packard <keithp@keithp.com>
388 commit 8df169791835510d96c11a3b0aa3cc5b79fa7fde
389 Author: Bdale Garbee <bdale@gag.com>
390 Date: Wed Aug 19 02:21:23 2009 -0600
392 update changelogs for Debian build
394 commit 42ab6d52540d0326ef89e9d57954b08248558468
395 Author: Bdale Garbee <bdale@gag.com>
396 Date: Wed Aug 19 02:21:06 2009 -0600
398 fix location for delivery of sources.list fragment
400 commit 977f5dc0bc7c666dcc1f21db77416efca0d696aa
401 Author: Bdale Garbee <bdale@gag.com>
402 Date: Wed Aug 19 02:11:11 2009 -0600
404 update changelogs for Debian build
406 commit 8d4d6655f1b4c2fbc522fd255bfb75406e5ddaef
407 Author: Bdale Garbee <bdale@gag.com>
408 Date: Wed Aug 19 02:11:00 2009 -0600
410 oops, aoview is now ao-view!
412 commit b9a97aea65f871fd287bc0bb566d8664766f4afd
413 Author: Bdale Garbee <bdale@gag.com>
414 Date: Wed Aug 19 02:07:16 2009 -0600
416 update changelogs for Debian build
418 commit 21e3dd0affac89919e5d0e29c6e9eb1eacb51801
419 Author: Bdale Garbee <bdale@gag.com>
420 Date: Wed Aug 19 02:06:49 2009 -0600
422 enable support for Debian menus
424 commit 0087c1776e0253fc2bd3b86f15bf9d1b32bdc45a
425 Author: Bdale Garbee <bdale@gag.com>
426 Date: Wed Aug 19 00:52:57 2009 -0600
428 update changelogs for Debian build
430 commit 4486d9156e19e4280b42bcd422d81d04f2d04a92
431 Merge: dd09f0b 33edd62
432 Author: Bdale Garbee <bdale@gag.com>
433 Date: Wed Aug 19 00:49:24 2009 -0600
435 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
437 commit 33edd62992a32b0ec8ca66d879fa300871db5937
438 Author: Keith Packard <keithp@keithp.com>
439 Date: Tue Aug 18 23:38:16 2009 -0700
441 Update ao-view to add GPS satellite tracking data
443 This adds another column to the display to hold per-satellite GPS
444 tracking data and a count of the visible and locked sats.
446 Signed-off-by: Keith Packard <keithp@keithp.com>
448 commit 29687cbd462a332d9a36ed87500c5b737dcae3f4
449 Author: Keith Packard <keithp@keithp.com>
450 Date: Tue Aug 18 22:35:15 2009 -0700
452 Handle GPS satellite tracking data
454 SiRF message #4 includes signal strength and GPS engine state for each
455 of the satellites being tracked. This data is now parsed and sent to
456 eeprom and the radio.
458 Signed-off-by: Keith Packard <keithp@keithp.com>
460 commit dd09f0bc2b950c00f3b489878cd69ad8a003f46c
461 Author: Bdale Garbee <bdale@gag.com>
462 Date: Tue Aug 18 21:57:01 2009 -0600
464 update changelogs for Debian build
466 commit cd5ce661e2a8f9694933358ccb5b916fbed089c2
467 Author: Bdale Garbee <bdale@gag.com>
468 Date: Tue Aug 18 21:49:39 2009 -0600
470 add support for building Debian package
472 commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
473 Merge: b3b2d3c 7d4ceb7
474 Author: Bdale Garbee <bdale@gag.com>
475 Date: Tue Aug 18 18:56:09 2009 -0600
477 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
479 commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
480 Author: Keith Packard <keithp@keithp.com>
481 Date: Tue Aug 18 17:55:22 2009 -0700
483 Add ao-ejection.1 man page
485 Document the input requirements and output format
487 Signed-off-by: Keith Packard <keithp@keithp.com>
489 commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
490 Merge: 4685fc5 da12b89
491 Author: Bdale Garbee <bdale@gag.com>
492 Date: Tue Aug 18 18:36:03 2009 -0600
494 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
496 commit da12b89fb056a68e65ba363fef91d266727cb685
497 Author: Keith Packard <keithp@keithp.com>
498 Date: Tue Aug 18 17:30:43 2009 -0700
500 Create ChangeLog from git log
502 commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
503 Author: Keith Packard <keithp@keithp.com>
504 Date: Tue Aug 18 17:29:29 2009 -0700
506 Fix ao-bitbang examples to not have . in the first column
508 commit 4685fc541466afbeefc151bcb64cd054739c048b
509 Merge: 1c2a0b6 c29275b
510 Author: Bdale Garbee <bdale@gag.com>
511 Date: Tue Aug 18 18:09:38 2009 -0600
513 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
516 ao-tools/ao-bitbang/Makefile.am
517 ao-tools/ao-eeprom/Makefile.am
518 ao-tools/ao-load/Makefile.am
519 ao-tools/ao-load/ao-load.c
520 ao-tools/ao-rawload/Makefile.am
522 commit c29275b72438637d46d7a50742882d2736eb176a
523 Author: Keith Packard <keithp@keithp.com>
524 Date: Tue Aug 18 15:21:57 2009 -0700
526 Add manual pages for remaining commands.
528 Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
531 Manual for ao-dbg updated to reflect program name change.
533 Signed-off-by: Keith Packard <keithp@keithp.com>
535 commit 9b03d620722dc54630539afba40720c30de69b2d
536 Author: Keith Packard <keithp@keithp.com>
537 Date: Tue Aug 18 12:19:31 2009 -0700
539 Use --tty/-T on command line to specify target device
541 Also, use the ALTOS_TTY environment variable in all tools. Note that
542 the magic value of "BITBANG" switches the library to connecting
543 through a CP2103 instead.
545 Signed-off-by: Keith Packard <keithp@keithp.com>
547 commit 7c790fe859dff062692964338091ffbbcdf63257
548 Author: Keith Packard <keithp@keithp.com>
549 Date: Tue Aug 18 12:40:24 2009 -0700
551 Rename tools to ao-<foo>
553 Use a consistent prefix to make it easier to remember which programs
554 belong to this package
556 Signed-off-by: Keith Packard <keithp@keithp.com>
558 commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
559 Author: Keith Packard <keithp@keithp.com>
560 Date: Tue Aug 18 13:36:54 2009 -0700
562 re-add debugger sources
564 commit 9a9cce5510b87252f863239ac807b9fb4395b288
565 Author: Keith Packard <keithp@keithp.com>
566 Date: Tue Aug 18 12:19:31 2009 -0700
568 Start working on using getopt for the tty name
570 commit 9789ca5e8caa9a013e804f307b9da380e147bd75
571 Author: Keith Packard <keithp@keithp.com>
572 Date: Tue Aug 18 12:40:24 2009 -0700
574 Rename tools to ao-<foo>
576 Use a consistent prefix to make it easier to remember which programs
577 belong to this package
579 Signed-off-by: Keith Packard <keithp@keithp.com>
581 commit a5782398d968e7cb11f7203afada7c216f233b3b
582 Author: Keith Packard <keithp@keithp.com>
583 Date: Tue Aug 18 11:34:28 2009 -0700
585 Remove unused cctools code paths for old libusb and cp2103 ioctls.
587 Communication with the CP2103 board has gone through three revisions,
588 first using ioctls supported by the CP2103 kernel driver, then using
589 the old synchronous usb library and now using the newer libusb
590 asynchronous interface. There's no reason to keep shipping the old
591 stale code now that the new stuff works reliably.
593 Signed-off-by: Keith Packard <keithp@keithp.com>
595 commit 7cba411de0780c65e3490ab67186a514f0ea42ec
596 Author: Keith Packard <keithp@keithp.com>
597 Date: Mon Aug 17 20:47:31 2009 -0700
599 test for sdcc, nickle and readline
601 Signed-off-by: Keith Packard <keithp@keithp.com>
603 commit f48dcffae761700355a17b59345d55a60703f0c4
604 Author: Keith Packard <keithp@keithp.com>
605 Date: Sun Aug 9 20:43:10 2009 -0700
607 Sync USB data after each memory write command
609 This makes sure we flush the USB link often enough for the other end to keep
612 Signed-off-by: Keith Packard <keithp@keithp.com>
614 commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
615 Author: Keith Packard <keithp@keithp.com>
616 Date: Sun Aug 9 16:08:07 2009 -0700
618 Handle partial ALSA PCM writes
620 The ALSA spec says that snd_pcm_writei will not return a partial write, but
621 at least on the OLPC, that's not true. Deal with this.
623 Signed-off-by: Keith Packard <keithp@keithp.com>
625 commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
626 Author: Keith Packard <keithp@keithp.com>
627 Date: Sun Aug 9 15:55:19 2009 -0700
629 Check more alsa return statuses
631 commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
632 Author: Keith Packard <keithp@keithp.com>
633 Date: Sat Jul 18 01:47:34 2009 -0700
635 Don't report distance to rocket without valid GPS
637 When there's no valid GPS data, don't try to report the distance and bearing
638 to the rocket after landing.
640 Signed-off-by: Keith Packard <keithp@keithp.com>
642 commit fbcb7b20fa701a6e534d38e307839466545668e3
643 Author: Keith Packard <keithp@keithp.com>
644 Date: Sat Jul 18 01:05:33 2009 -0700
646 Add B command to set serial baud rate
648 Signed-off-by: Keith Packard <keithp@keithp.com>
650 commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
651 Author: Keith Packard <keithp@keithp.com>
652 Date: Sat Jul 18 01:05:13 2009 -0700
654 Get rid of spaces after minus sign in climb value
656 commit 28be20cf914fb34dc3c776519708d0f02091764e
657 Author: Keith Packard <keithp@keithp.com>
658 Date: Sat Jul 18 01:04:39 2009 -0700
660 Switch to 57600 baud for GPS data
662 commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
663 Author: Keith Packard <keithp@keithp.com>
664 Date: Sat Jul 18 01:04:17 2009 -0700
666 Drain serial port before changing speed
668 Signed-off-by: Keith Packard <keithp@keithp.com>
670 commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
671 Author: Keith Packard <keithp@keithp.com>
672 Date: Sat Jul 18 00:44:42 2009 -0700
674 Display last known GPS coord while unlocked
676 Signed-off-by: Keith Packard <keithp@keithp.com>
678 commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
679 Author: Keith Packard <keithp@keithp.com>
680 Date: Sat Jul 18 00:44:01 2009 -0700
682 use g_source_destroy instead of free on serial object
684 commit 1e5e98bd8f5ea0bc15592de454e3629383462371
685 Author: Keith Packard <keithp@keithp.com>
686 Date: Sat Jul 18 00:43:22 2009 -0700
688 Trim aoview_serial_set_callback args down to just port and callback
690 commit 08f37056deec25d77062bc411a04033401b033a5
691 Author: Keith Packard <keithp@keithp.com>
692 Date: Fri Jul 17 22:11:03 2009 -0700
694 Reset GPS at boot time
696 commit 1150aa850f5a025b849556e32c4dddb27937d9af
697 Author: Keith Packard <keithp@keithp.com>
698 Date: Fri Jul 17 22:10:43 2009 -0700
700 Fix up serial debug output
702 commit 2a7956a64935246475f92d44c08369e0230b676a
703 Author: Keith Packard <keithp@keithp.com>
704 Date: Fri Jul 17 21:34:13 2009 -0700
706 Allow the GPS port to run at 4800 baud if desired
708 commit 8d650769c319261c97f5e68eff9138207b95c0f8
709 Author: Keith Packard <keithp@keithp.com>
710 Date: Fri Jul 17 21:33:53 2009 -0700
712 Initialize the GPS serial protocol state
714 Signed-off-by: Keith Packard <keithp@keithp.com>
716 commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
717 Author: Keith Packard <keithp@keithp.com>
718 Date: Fri Jul 17 21:33:18 2009 -0700
720 Use uint8_t for comparisons to avoid int conversions
722 Signed-off-by: Keith Packard <keithp@keithp.com>
724 commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
725 Author: Keith Packard <keithp@keithp.com>
726 Date: Fri Jul 17 21:30:53 2009 -0700
728 Add AO_GPS_RUNNING state.
730 This tracks whether the GPS receiver has ever sent a valid report to the
731 flight computer, allowing the user to tell whether the GPS receiver is
734 Signed-off-by: Keith Packard <keithp@keithp.com>
736 commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
737 Author: Keith Packard <keithp@keithp.com>
738 Date: Fri Jul 17 21:25:35 2009 -0700
740 Add M command to monitor serial bytes
742 commit ddfa2308c0be4c002f982ae9da6032ee7854117d
743 Author: Keith Packard <keithp@keithp.com>
744 Date: Fri Jul 17 21:24:45 2009 -0700
746 Support the not-connected GPS state
748 commit 34f148500df427c148188c0ada20bf914a7c74ba
749 Author: Keith Packard <keithp@keithp.com>
750 Date: Fri Jul 17 19:23:10 2009 -0700
752 Use 57600 baud for GPS. Clean up gps init.
754 Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
755 to get from 4800 NMEA to 5760 SiRF.
757 Also, eliminate threads from the gps test program.
759 Signed-off-by: Keith Packard <keithp@keithp.com>
761 commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
762 Author: Keith Packard <keithp@keithp.com>
763 Date: Fri Jul 17 17:09:20 2009 -0700
765 Try harder to get the GPS receiver serial link sync'd up.
767 We cannot assume that the GPS receiver is in any particular state when it
768 boots, so we try to send the serial configuration at several rates and hope
769 that it eventually sees something that it likes.
771 Signed-off-by: Keith Packard <keithp@keithp.com>
773 commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
774 Author: Keith Packard <keithp@keithp.com>
775 Date: Fri Jul 17 17:06:18 2009 -0700
777 Rolling average for pad location. Say 'GPS ready'.
779 Use a rolling average for the pad location, instead of just averaging all
780 positions. This filters out old (presumably less accurate) values eventually.
782 When enough GPS samples have been acquired, say 'GPS ready'.
784 Signed-off-by: Keith Packard <keithp@keithp.com>
786 commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
787 Author: Keith Packard <keithp@keithp.com>
788 Date: Fri Jul 17 16:22:51 2009 -0700
790 Split GPS data into a separate column
792 Signed-off-by: Keith Packard <keithp@keithp.com>
794 commit 5f0179652e8bb85add9067e5253e981c60f2c51e
795 Author: Keith Packard <keithp@keithp.com>
796 Date: Fri Jul 17 16:03:35 2009 -0700
798 Fix up SiRF parsing and test code so that it actually works
800 Signed-off-by: Keith Packard <keithp@keithp.com>
802 commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
803 Author: Keith Packard <keithp@keithp.com>
804 Date: Fri Jul 17 13:58:14 2009 -0700
806 Add host-side gps protocol testing program
808 commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
809 Author: Keith Packard <keithp@keithp.com>
810 Date: Sat Jul 11 00:56:13 2009 -0700
812 Hook aoview directly to alsa
814 This skips the flite internal audio stuff which opened and closed the audio
815 device for each phrase. This caused the first part of some phrases to be
816 missed when using an external audio device.
818 Signed-off-by: Keith Packard <keithp@keithp.com>
820 commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
821 Author: Keith Packard <keithp@keithp.com>
822 Date: Thu Jul 9 20:55:10 2009 -0700
824 Show speed. Format numbers. Timeout and report final status.
826 The speed value is now shown in the top label bar. Ascent shows
827 accelerometer-derived data, otherwise it's baro derived.
829 All of the numbers displayed are now given sensible printf formats so they
830 don't contain way too many digits.
832 Instead of doing periodic reporting based on flight tick count, data is
833 reported every 10 seconds based on wall time. After landing, or when no data
834 have been received for a while, final flight information is spoken.
836 Signed-off-by: Keith Packard <keithp@keithp.com>
838 commit 19630ef084866f4230e68ccf11284b30c68128b1
839 Author: Keith Packard <keithp@keithp.com>
840 Date: Sun Jul 5 08:35:28 2009 -0700
842 Dont smash aoview_monitor_parse input buffer
844 commit e506ed4b6efb86eab50204658fcd433b987e3831
845 Author: Keith Packard <keithp@keithp.com>
846 Date: Tue Jun 30 15:25:52 2009 -0700
848 Integrate flite into aoview directly. Fix great circle computation.
850 Use a separate thread for flite rather than a separate program.
851 Save voice state to gconf.
852 Add filters for replay file selection
854 Signed-off-by: Keith Packard <keithp@keithp.com>
856 commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
857 Author: Keith Packard <keithp@keithp.com>
858 Date: Tue Jun 30 15:24:53 2009 -0700
862 commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
863 Author: Keith Packard <keithp@keithp.com>
864 Date: Tue Jun 30 15:24:31 2009 -0700
868 commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
869 Author: Keith Packard <keithp@keithp.com>
870 Date: Tue Jun 30 11:58:30 2009 -0700
872 Add telem replay and larger labels
874 Replays telemetry files in real time
875 Shows height/state/rssi in big values at the top.
877 Signed-off-by: Keith Packard <keithp@keithp.com>
879 commit 566dde161385263700eaae51095eecfa9b5972ee
880 Author: Keith Packard <keithp@keithp.com>
881 Date: Mon Jun 29 23:06:47 2009 -0700
883 Update aoview/.gitignore
885 Signed-off-by: Keith Packard <keithp@keithp.com>
887 commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
888 Author: Keith Packard <keithp@keithp.com>
889 Date: Mon Jun 29 23:05:27 2009 -0700
891 Use flite to announce flight state
893 This uses the flite voice synthesis library from festival to announce
894 altitude and speed information during the rocket flight.
896 Signed-off-by: Keith Packard <keithp@keithp.com>
898 commit 527d7c803ed9597b210634018cb2eb9d048d9846
899 Author: Keith Packard <keithp@keithp.com>
900 Date: Mon Jun 29 23:03:58 2009 -0700
902 Add GPS speed and error data to telemetry and aoview
904 Having switched to the SiRF binary GPS format, the velocity and error data
905 can now be displayed.
907 Signed-off-by: Keith Packard <keithp@keithp.com>
909 commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
910 Author: Keith Packard <keithp@keithp.com>
911 Date: Mon Jun 29 13:54:00 2009 -0700
913 Convert GPS to SiRF binary protocol.
915 This switches the GPS unit from NMEA to SiRF protocol at startup and then
916 parses the binary data. The binary data uses a different encoding of lat/lon
917 than the NMEA strings, and so the telemetry and eeprom data formats change
920 Signed-off-by: Keith Packard <keithp@keithp.com>
922 commit 49bf37767d2453869f2ca2c0832d1124322c66e0
923 Author: Keith Packard <keithp@keithp.com>
924 Date: Wed Jun 17 23:22:25 2009 -0700
926 Add ejection computation utility
928 Signed-off-by: Keith Packard <keithp@keithp.com>
930 commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
931 Author: Keith Packard <keithp@keithp.com>
932 Date: Wed Jun 17 13:55:23 2009 -0700
934 Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
936 None of our boards have a 32kHz xtal oscillator, instead we use those pins
937 (on Telemetrum) for the deployment firing circuits. The old clock
938 initialization code was switching from the 32kHz RC oscillator to the 32kHz
939 crystal and overriding our use of those pins.
941 Signed-off-by: Keith Packard <keithp@keithp.com>
943 commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
944 Author: Keith Packard <keithp@keithp.com>
945 Date: Sun Jun 14 17:25:34 2009 -0700
947 Some kernels reference USB ttys as tty/tty* instead of tty:tty*
949 Signed-off-by: Keith Packard <keithp@keithp.com>
951 commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
952 Author: Keith Packard <keithp@keithp.com>
953 Date: Sun Jun 14 16:45:19 2009 -0700
955 Rename state apogee -> coast
957 commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
958 Author: Keith Packard <keithp@keithp.com>
959 Date: Sun Jun 14 16:39:28 2009 -0700
961 rename states. launchpad -> pad, coast -> fast
963 commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
964 Author: Keith Packard <keithp@keithp.com>
965 Date: Sun Jun 14 16:36:29 2009 -0700
967 Disable monitor mode when communicating via usb
969 commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
970 Author: Keith Packard <keithp@keithp.com>
971 Date: Thu Jun 4 14:38:45 2009 -0700
973 Format GPS seconds as %02d.%04d to avoid spaces in the value
975 The aoview GPS parsing code doesn't deal well with spaces in the middle of
976 the value, so pad the seconds field with a zero as needed.
978 Signed-off-by: Keith Packard <keithp@keithp.com>
980 commit a0e6bfee635b64092262936c858542318f6fc6dc
981 Author: Bdale Garbee <bdale@gag.com>
982 Date: Thu Jun 4 13:11:48 2009 -0600
984 newer INSTALL file pulled in by autogen.sh
986 commit cf1e258d52b878df10b51a047709b10ecd51a68e
987 Author: Bdale Garbee <bdale@gag.com>
988 Date: Thu Jun 4 13:09:29 2009 -0600
990 add a distclean target to src/Makefile
992 commit 176052b7c14fcad067835ecb550778faf67cf4da
993 Author: Bdale Garbee <bdale@gag.com>
994 Date: Thu Jun 4 13:07:10 2009 -0600
996 add lib to the front of the subdir list
998 commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
999 Author: Keith Packard <keithp@keithp.com>
1000 Date: Thu Jun 4 11:20:10 2009 -0700
1002 Move build and debug tools to 'cctools' directory.
1004 These tools were merged in from the ccdbg package.
1006 Signed-off-by: Keith Packard <keithp@keithp.com>
1008 commit 17d2432a8b9c15963cd3b821f025ad33972ef477
1009 Merge: 210dbaa 8a9a3f0
1010 Author: Keith Packard <keithp@keithp.com>
1011 Date: Thu Jun 4 11:13:15 2009 -0700
1013 Merge ccdbg and altos sources into one giant repository
1015 Keeping these separate isn't making things any easier.
1017 Signed-off-by: Keith Packard <keithp@keithp.com>
1019 commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
1020 Author: Keith Packard <keithp@keithp.com>
1021 Date: Thu Jun 4 10:41:34 2009 -0700
1023 Use autotools, move altos to src subdir
1025 Signed-off-by: Keith Packard <keithp@keithp.com>
1027 commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
1028 Author: Keith Packard <keithp@keithp.com>
1029 Date: Thu Jun 4 10:25:30 2009 -0700
1031 Make menu seperator insensitive
1033 commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
1034 Author: Keith Packard <keithp@keithp.com>
1035 Date: Wed Jun 3 17:07:34 2009 -0700
1037 aoview: Add eeprom data fetching
1039 Fetches the last flight data from a TM device connected via USB and writes
1040 it to the flight log directory.
1042 Signed-off-by: Keith Packard <keithp@keithp.com>
1044 commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
1045 Author: Keith Packard <keithp@keithp.com>
1046 Date: Wed Jun 3 10:57:46 2009 -0700
1048 Stop log dumping at flight end. Print 'end' at end of log.
1050 No reason to continue dumping data past the end of the flight now that the
1051 logging stuff has been demonstrated to work reliably. Also, to make
1052 automated log dumping easier, this prints out 'end' after the log data so
1053 that aoview knows when to stop reading.
1055 Signed-off-by: Keith Packard <keithp@keithp.com>
1057 commit 35ac66969abe24ca23776618306a59fc17770e06
1058 Author: Keith Packard <keithp@keithp.com>
1059 Date: Sun May 31 09:22:01 2009 -0700
1061 Start adding bi-directional packet link
1063 commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
1064 Author: Keith Packard <keithp@keithp.com>
1065 Date: Thu May 28 23:17:33 2009 -0700
1067 Eliminate RDF tone generation.
1069 Now that we have a viable telemetry-signal based RDF device via TeleDongle,
1070 there's no reason to continue to waste power and bandwidth with a NFM tone.
1072 Signed-off-by: Keith Packard <keithp@keithp.com>
1074 commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
1075 Author: Keith Packard <keithp@keithp.com>
1076 Date: Thu May 28 23:17:25 2009 -0700
1078 Change .gitignore to match new aoload procedure
1080 commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
1081 Author: Keith Packard <keithp@keithp.com>
1082 Date: Wed May 27 22:01:37 2009 -0700
1084 Leave serial number writing to aoload
1086 Instead of building per-serial hex files, leave that
1087 process to the new aoload program
1089 Signed-off-by: Keith Packard <keithp@keithp.com>
1091 commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
1092 Author: Keith Packard <keithp@keithp.com>
1093 Date: Wed May 27 21:53:15 2009 -0700
1095 Add aoload to load serial-numbered altos binaries.
1097 aoload is a custom version of ccload which edits the data before sending it
1098 to the target machine, writing the target serial number into the data.
1100 Signed-off-by: Keith Packard <keithp@keithp.com>
1102 commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
1103 Author: Keith Packard <keithp@keithp.com>
1104 Date: Sat May 23 21:20:12 2009 -0700
1106 Fix aoview telemetry GPS parsing code to use correct columns
1108 This code was trying to pull the GPS data from the wrong columns, causing
1109 aoview to fail to display GPS information.
1111 Signed-off-by: Keith Packard <keithp@keithp.com>
1113 commit 26988c3e7acb2fa832810475e43e08fd2867459c
1114 Author: Keith Packard <keithp@keithp.com>
1115 Date: Sat May 23 21:18:57 2009 -0700
1117 Parse both telemetry or log data ao_flight_test
1119 Change the way data is fed from files to the flight test rig to handle
1120 either kind of input file.
1122 Signed-off-by: Keith Packard <keithp@keithp.com>
1124 commit d6f5a0689023546464a71561f53fa2c943077c88
1125 Author: Keith Packard <keithp@keithp.com>
1126 Date: Sat May 23 21:16:22 2009 -0700
1128 Avoid 16-bit overflow in velocity computation.
1130 Adding two 16 bit integers together can wrap around to negative numbers,
1131 this resulted in velocity values which never decreased, making the switch
1132 from coast to apogee state not occur.
1134 Signed-off-by: Keith Packard <keithp@keithp.com>
1136 commit aa6d87aeb616dd62f0debaded297232022b4f8bd
1137 Author: Keith Packard <keithp@keithp.com>
1138 Date: Wed May 20 09:44:55 2009 -0700
1140 Make file handling more general so it can be reused.
1142 The log file handling stuff will be useful for saving eeprom data, so pull
1143 it out of the real-time log handling code and make a general interface.
1145 Signed-off-by: Keith Packard <keithp@keithp.com>
1147 commit b730c8bcbce649cdddba935e1112aaae538bc526
1148 Author: Keith Packard <keithp@keithp.com>
1149 Date: Sun May 17 23:54:44 2009 -0700
1151 Ignore aoview_glade.h
1153 commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
1154 Author: Keith Packard <keithp@keithp.com>
1155 Date: Sun May 17 23:36:21 2009 -0700
1157 Transmit computed ground pressure and acceleration values
1159 These are the last two values relevant to figuring out the state of the
1160 flight computer, and as they are computed by averaging 10 seconds of 100Hz
1161 sample data, they're a lot more accurate than anything the receiver could do
1164 Signed-off-by: Keith Packard <keithp@keithp.com>
1166 commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
1167 Author: Keith Packard <keithp@keithp.com>
1168 Date: Sun May 17 23:18:09 2009 -0700
1170 Provide install target
1172 commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
1173 Author: Keith Packard <keithp@keithp.com>
1174 Date: Sun May 17 23:13:20 2009 -0700
1176 Embed glade file in executable
1178 This eliminates install issues nicely.
1180 Signed-off-by: Keith Packard <keithp@keithp.com>
1182 commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
1183 Author: Keith Packard <keithp@keithp.com>
1184 Date: Sun May 17 23:05:23 2009 -0700
1186 Add About dialog to aoview.
1188 Signed-off-by: Keith Packard <keithp@keithp.com>
1190 commit 0f3233c49f43cd4e372e613303919ce4d50255b2
1191 Author: Keith Packard <keithp@keithp.com>
1192 Date: Sun May 17 22:44:19 2009 -0700
1194 USB device names can contain '.' too
1196 Depending on the hierarchy of devices, names can contain '.', so allow those
1199 Signed-off-by: Keith Packard <keithp@keithp.com>
1201 commit 33221277690e6ee30387c506c3f2b8237ed48efd
1202 Author: Keith Packard <keithp@keithp.com>
1203 Date: Sun May 17 22:43:34 2009 -0700
1205 scandir returns -1 on error
1207 In which case, the namelist is invalid, so don't look at it, and don't free
1210 Signed-off-by: Keith Packard <keithp@keithp.com>
1212 commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
1213 Author: Keith Packard <keithp@keithp.com>
1214 Date: Sun May 17 22:29:54 2009 -0700
1216 Send computed accel/vel/pres values over the radio
1218 These computed values reflect what the flight computer is actually refering
1219 to for state changes, and will be useful in debugging the flight software as
1220 well as provide a filtered view of the data.
1222 Signed-off-by: Keith Packard <keithp@keithp.com>
1224 commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
1225 Author: Keith Packard <keithp@keithp.com>
1226 Date: Sun May 17 22:29:06 2009 -0700
1228 Handle disappearing serial devices
1230 Put up a dialog when the serial open fails, and shut down monitoring when
1231 the serial device disappears while running.
1233 Signed-off-by: Keith Packard <keithp@keithp.com>
1235 commit 69616104813fc5ba89fb3128d04fb9328961c59c
1236 Author: Keith Packard <keithp@keithp.com>
1237 Date: Sun May 17 22:24:53 2009 -0700
1239 While on the pad, zero out velocity every second
1241 We integrate acceleration to get velocity, but that means sitting on the pad
1242 for a long time can add substantial error to the velocity value. Each
1243 second, take the velocity value from a full second ago and subtract that out
1244 of the current velocity. Once we detect boost, this will stop, which means
1245 that as long as we detect boost within a second, we won't have subtracted
1246 out any "real" velocity.
1248 This keeps the pad velocity hovering around zero, which is pretty useful.
1250 Signed-off-by: Keith Packard <keithp@keithp.com>
1252 commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
1253 Author: Keith Packard <keithp@keithp.com>
1254 Date: Sun May 17 01:29:06 2009 -0700
1256 Clear table, reset log on disconnect
1258 commit 4316b6af86b37522038e642235c163fcaad52e96
1259 Author: Keith Packard <keithp@keithp.com>
1260 Date: Sun May 17 01:28:16 2009 -0700
1262 Add pad lat/lon, max accel, max height
1264 Signed-off-by: Keith Packard <keithp@keithp.com>
1266 commit 4348281bd788a13ea700413537f12da3c00356e4
1267 Author: Keith Packard <keithp@keithp.com>
1268 Date: Sun May 17 00:46:09 2009 -0700
1270 Clean up GPS display
1272 Signed-off-by: Keith Packard <keithp@keithp.com>
1274 commit ff68e38770351ddac3285ce275cd85adab01fd3d
1275 Author: Keith Packard <keithp@keithp.com>
1276 Date: Sun May 17 00:45:38 2009 -0700
1278 Make aoview window taller
1280 Signed-off-by: Keith Packard <keithp@keithp.com>
1282 commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
1283 Author: Keith Packard <keithp@keithp.com>
1284 Date: Sun May 17 00:13:45 2009 -0700
1286 Add lots more aoview UI bits
1288 Logs data to files, displays current state in window.
1290 Signed-off-by: Keith Packard <keithp@keithp.com>
1292 commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
1293 Author: Keith Packard <keithp@keithp.com>
1294 Date: Sat May 16 20:45:26 2009 -0700
1296 When logging starts up, right the whole ring to the log.
1298 This preserves the data pre boost-detect for later analysis.
1300 Signed-off-by: Keith Packard <keithp@keithp.com>
1302 commit fec4212a59a7b3321536b25707dcabc43c797c33
1303 Author: Keith Packard <keithp@keithp.com>
1304 Date: Sat May 16 20:04:31 2009 -0700
1306 Abandon use of accelerometer for apogee detect.
1308 Integrating the accelerometer data to compute velocity worked for one rocket
1309 flight, but additional testing shows that it doesn't work in other
1310 airframes. Until we figure out how this should work, we'll rely on the
1311 altimeter to detect apogee.
1313 Signed-off-by: Keith Packard <keithp@keithp.com>
1315 commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
1316 Author: Keith Packard <keithp@keithp.com>
1317 Date: Sat May 16 02:25:04 2009 -0700
1319 Add preliminary aoview code
1321 AoView connects with TeleDongle to present telemetry information in a
1322 reasonable form. Right now, it just displays information to stdout, but it
1323 does have fancy dialogs for finding the USB devices.
1325 Signed-off-by: Keith Packard <keithp@keithp.com>
1327 commit 37250b00f6286aee4b3b28604f5d463db3079a89
1328 Author: Keith Packard <keithp@keithp.com>
1329 Date: Wed May 13 20:41:54 2009 -0700
1331 Discard usb output before connection. Handle USB reset.
1333 Discarding output before USB is plugged in allows threads that send output
1334 and do other things to work without a USB connection. Unfortuantely, there
1335 doesn't appear to be any way to detect when the USB link is disconnected,
1336 which means that once USB is enabled, future writes will continue to block.
1338 USB reset causes the USB interrupts to all be reconfigured back to power-on
1341 Signed-off-by: Keith Packard <keithp@keithp.com>
1343 commit 9b974217958b1017e62d6c4f4568f547ccc30c58
1344 Author: Keith Packard <keithp@keithp.com>
1345 Date: Wed May 13 20:40:42 2009 -0700
1347 Enable radio monitor by default in teleterra, teledongle and tidongle
1349 These ground loads want to monitor the radio constantly, and not require use
1350 of the 'm' command before listening.
1352 Signed-off-by: Keith Packard <keithp@keithp.com>
1354 commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
1355 Author: Keith Packard <keithp@keithp.com>
1356 Date: Wed May 13 20:39:28 2009 -0700
1358 Remove monitor/rssi functions from telemetrum load
1360 Telemetrum is now a flight-only load, use teleterra or teledongle for ground
1363 Signed-off-by: Keith Packard <keithp@keithp.com>
1365 commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
1366 Author: Keith Packard <keithp@keithp.com>
1367 Date: Wed May 13 20:38:11 2009 -0700
1369 Split out ao_state_names to separate file
1371 Allows state names to be used in programs without monitoring enabled.
1373 Signed-off-by: Keith Packard <keithp@keithp.com>
1375 commit d085d43701e3cdd2119e947a9ae45baa78c80318
1376 Author: Keith Packard <keithp@keithp.com>
1377 Date: Wed May 13 14:29:30 2009 -0700
1379 Indicate RSSI with a blinking LED
1381 Blink the red LED at a rate proportional to the RSSI value.
1383 Signed-off-by: Keith Packard <keithp@keithp.com>
1385 commit 055331d5f7d5adc40c348c3efd331a562dcda82a
1386 Author: Keith Packard <keithp@keithp.com>
1387 Date: Wed May 13 11:19:13 2009 -0700
1389 Make ao_flight_test show AGL altitude and positive acceleration under boost
1391 This makes the output more readable
1393 Signed-off-by: Keith Packard <keithp@keithp.com>
1395 commit d91208fbf5fc7797b93087ef8619454c4bed0130
1396 Author: Keith Packard <keithp@keithp.com>
1397 Date: Wed May 13 11:18:24 2009 -0700
1399 Make ao_flight_test able to read raw logging data
1401 Protect ao_flight_test reading functions so that a simple
1402 'script' output can be fed to the program and have it work correctly.
1404 Signed-off-by: Keith Packard <keithp@keithp.com>
1406 commit d3dbd8949e1102220ad5fd0863f493c819b96e46
1407 Author: Keith Packard <keithp@keithp.com>
1408 Date: Wed May 13 11:16:53 2009 -0700
1410 Print only RSSI when packet CRC is invalid
1412 Packets with invalid CRC usually contain bogus data, so don't print that,
1413 just print out the RSSI which may contain useful data.
1415 Signed-off-by: Keith Packard <keithp@keithp.com>
1417 commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
1418 Author: Keith Packard <keithp@keithp.com>
1419 Date: Wed May 13 11:00:43 2009 -0700
1421 Accelerometer-based velocity values are invalid after apogee
1423 Because the orientation of the flight computer relative to the ground is
1424 unknown after apogee, the accelerometer data cannot be integrated to compute
1425 velocity. Main deploy is now based purely on barometric altitude and landing
1426 detection no longer checks for a low velocity value.
1428 Signed-off-by: Keith Packard <keithp@keithp.com>
1430 commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
1431 Author: Keith Packard <keithp@keithp.com>
1432 Date: Wed May 13 10:59:04 2009 -0700
1434 Add velocity check for boost detect via accelerometer
1436 Bumping the rocket can cause a brief period of high acceleration, which may
1437 cause a mistaken boost detection. Require both a high acceleration and
1438 reasonable velocity to trigger boost phase.
1440 Signed-off-by: Keith Packard <keithp@keithp.com>
1442 commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
1443 Author: Keith Packard <keithp@keithp.com>
1444 Date: Wed May 13 10:58:30 2009 -0700
1448 commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
1449 Author: Keith Packard <keithp@keithp.com>
1450 Date: Sun May 10 23:11:06 2009 -0700
1452 Use recorded accelerometer baseline data in ao_flight_test
1454 With the flight computer recording a long-term average value for the
1455 accelerometer in the flight record, use that to prime the flight test code
1456 when running a log file through the simulator.
1458 Signed-off-by: Keith Packard <keithp@keithp.com>
1460 commit ba3c53636e485450f48093d0a88a6629775f7c3a
1461 Author: Keith Packard <keithp@keithp.com>
1462 Date: Sun May 10 23:01:16 2009 -0700
1464 Don't re-initialize the landing range data at each apogee detect sample
1466 The landing range values are used only after apogee detect, so we need only
1467 initialize them on the transition from apogee to drogue.
1469 Signed-off-by: Keith Packard <keithp@keithp.com>
1471 commit b623b1098bc7a10d471730259438fb82804221d0
1472 Author: Keith Packard <keithp@keithp.com>
1473 Date: Sun May 10 23:00:06 2009 -0700
1475 Initialize ao_min_vel with |ao_flight_vel|
1477 As ao_min_vel is stored as an absolute value, it's important to preserve
1478 that invariant, even though we don't expect ao_flight_vel to be negative at
1481 Signed-off-by: Keith Packard <keithp@keithp.com>
1483 commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
1484 Author: Keith Packard <keithp@keithp.com>
1485 Date: Sun May 10 22:58:31 2009 -0700
1487 Decrease telemetry rate on the pad to 1/sec instead of 20/sec
1489 Transmitting telemetry through the radio consumes a significant amount of
1490 battery; reducing the rate to 1/sec will reduce power usage while waiting
1493 Signed-off-by: Keith Packard <keithp@keithp.com>
1495 commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
1496 Author: Keith Packard <keithp@keithp.com>
1497 Date: Sun May 10 22:57:19 2009 -0700
1499 Increase the initial accel/baro average to 1000 samples
1501 To get an accurate baseline of the launchpad state, take a longer average of
1502 the two sensors as the unit boots up.
1504 Signed-off-by: Keith Packard <keithp@keithp.com>
1506 commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
1507 Author: Keith Packard <keithp@keithp.com>
1508 Date: Sun May 10 22:54:14 2009 -0700
1510 Record average accelerometer value in flight start log record
1512 The average accelerometer value cannot be extracted from the log as the
1513 record starts after that is computed. As that drives much of the
1514 accelerometer-based state transition logic, it is an important value to
1515 have, so we log it as part of the flight start record now.
1517 Signed-off-by: Keith Packard <keithp@keithp.com>
1519 commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
1520 Author: Keith Packard <keithp@keithp.com>
1521 Date: Sat May 9 10:24:10 2009 -0700
1523 Add version command to show product information
1525 commit e80b87f5e3ccf152d67a2e87bdefda161c455599
1526 Author: Keith Packard <keithp@keithp.com>
1527 Date: Sat May 9 10:23:49 2009 -0700
1529 Pad callsign with nuls
1531 commit beae3360828da21eb1a3c4f88e930f242d4e36b7
1532 Author: Keith Packard <keithp@keithp.com>
1533 Date: Fri May 1 08:14:57 2009 -0700
1535 USB spec limits bulk endpoints to 64 byte payload max.
1537 For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
1540 commit de7814c738488c2c16c6216c93fa78128895e5d5
1541 Author: Keith Packard <keithp@keithp.com>
1542 Date: Wed Apr 29 17:46:56 2009 -0700
1544 Use 'char' instead of 'uint8_t' for character data
1546 String and character constants are of char type, so using uint8_t causes
1547 promotion to 16-bit types when comparing the two.
1549 commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
1550 Author: Keith Packard <keithp@keithp.com>
1551 Date: Wed Apr 29 17:46:36 2009 -0700
1553 Eliminate incorrect cast in printf string argument
1555 char * is a pointer to a string in the default address space, not a generic pointer
1556 to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
1559 commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
1560 Author: Keith Packard <keithp@keithp.com>
1561 Date: Wed Apr 29 17:44:41 2009 -0700
1563 Correct radio frequency shown in config display.
1565 Radio frequency base is 434.550, not 435.550
1567 commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
1568 Author: Keith Packard <keithp@keithp.com>
1569 Date: Wed Apr 29 17:42:26 2009 -0700
1571 Reset landing interval tests at apogee
1573 This moves all of the interval management into the landing test code and
1574 out of the main loop. The interval is reset at apogee to make sure the
1575 sensors produce a stable reading for at least 20 seconds
1577 commit 7a1b77c2d7253a681389f32b70e2460aac188807
1578 Author: Bdale Garbee <bdale@gag.com>
1579 Date: Sun Apr 26 17:53:13 2009 -0600
1581 clean up host programs, too
1583 commit 5df80c346d65a9d56a8699b056dc44924acb31fe
1584 Author: Keith Packard <keithp@keithp.com>
1585 Date: Sun Apr 26 16:04:07 2009 -0700
1587 Was missing v_batt in adc dump command
1589 commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
1590 Author: Keith Packard <keithp@keithp.com>
1591 Date: Sun Apr 26 15:38:28 2009 -0700
1593 Add manual ignition and igniter test commands
1595 commit 819f1de8dd6010fae050bcef930943c7923929f9
1596 Author: Keith Packard <keithp@keithp.com>
1597 Date: Sun Apr 26 15:38:03 2009 -0700
1599 Clean up commands a bit
1601 commit 178abb5c8439509926a5507911d7148b84f051b8
1602 Author: Keith Packard <keithp@keithp.com>
1603 Date: Sun Apr 26 15:08:58 2009 -0700
1605 Clear more files on make clean
1607 commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
1608 Author: Keith Packard <keithp@keithp.com>
1609 Date: Sun Apr 26 15:05:29 2009 -0700
1611 Label binaries with product and serial info
1613 commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
1614 Author: Keith Packard <keithp@keithp.com>
1615 Date: Sun Apr 26 01:37:02 2009 -0700
1617 Make sure full log is written and flushed on landing.
1619 The final state change to landing is recorded in the logging thread, so have
1620 that turn off logging once it has recorded that state. Then make it go to
1623 commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
1624 Author: Keith Packard <keithp@keithp.com>
1625 Date: Sun Apr 26 01:36:53 2009 -0700
1627 Clean up monitor output a bit
1629 commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
1630 Author: Keith Packard <keithp@keithp.com>
1631 Date: Sun Apr 26 00:11:32 2009 -0700
1633 Add configuration support
1635 Current config variables:
1636 Main deploy altitude above launch (in meters)
1637 Acceleration zero g calibration (manual or automatic)
1638 Radio channel (freq = 435.550MHz + channel * 100kHz)
1639 Callsign (max 8 characters)
1641 Supporting this involved shuffling code around so that the
1642 non-telemetrum builds could include only the stuff they needed.
1644 commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
1645 Author: Keith Packard <keithp@keithp.com>
1646 Date: Sat Apr 25 14:44:33 2009 -0700
1648 Allow for slower ADC operation. Add power saving code.
1650 This tries to make the flight computer use less power by disabling USB in
1651 flight mode, lowering the telemetry rate after ascent. It also disables the
1652 RDF beacon during ascent and re-enables it once descent has started.
1654 commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
1655 Author: Keith Packard <keithp@keithp.com>
1656 Date: Sat Apr 25 14:44:04 2009 -0700
1658 Allow ADC to be disabled
1660 commit 7bc3d9962872850e7b420221cf689db16b4305cc
1661 Author: Keith Packard <keithp@keithp.com>
1662 Date: Sat Apr 25 14:43:23 2009 -0700
1664 Place CPU in P0 state while idle
1666 commit e45fce7f82d704d677f84c69b0e07588d109d780
1667 Author: Keith Packard <keithp@keithp.com>
1668 Date: Sat Apr 25 14:42:20 2009 -0700
1670 Add RDF beacon and callsign to telemetry
1672 commit 61510f98404bca6861b2da98f6cd9ba9deb76968
1673 Author: Keith Packard <keithp@keithp.com>
1674 Date: Sat Apr 25 14:40:51 2009 -0700
1676 Add radio code to emit a 1kHz tone
1678 commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
1679 Author: Keith Packard <keithp@keithp.com>
1680 Date: Sat Apr 25 13:18:37 2009 -0700
1682 Allow the USB system to be disabled/enabled at run-time
1684 commit 45976af820fc41099928df71ea8304c56eb9fc7c
1685 Author: Keith Packard <keithp@keithp.com>
1686 Date: Sat Apr 25 13:16:27 2009 -0700
1688 Make LED usage depend on target device
1690 commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
1691 Author: Keith Packard <keithp@keithp.com>
1692 Date: Sat Apr 25 13:13:24 2009 -0700
1694 Make some functions reentrant to save DSEG space
1696 commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
1697 Author: Keith Packard <keithp@keithp.com>
1698 Date: Fri Apr 24 19:17:37 2009 -0700
1700 Add monitor task to flight software
1702 Allows the use of telemetrum in teledongle mode.
1704 commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
1705 Author: Keith Packard <keithp@keithp.com>
1706 Date: Fri Apr 24 19:17:19 2009 -0700
1708 Report difference from ground to max altitude at landing
1710 commit f94ab879ff6f97708827c74facd11003a2d8b590
1711 Author: Keith Packard <keithp@keithp.com>
1712 Date: Fri Apr 24 19:16:29 2009 -0700
1714 Display data with units while running simulation
1716 commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
1717 Author: Keith Packard <keithp@keithp.com>
1718 Date: Fri Apr 24 19:13:31 2009 -0700
1720 Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
1722 This change ensures that we actually got going fairly fast, and then slowed
1723 down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
1724 right off the pad as we're not going very fast at that point...
1726 This also adds the 'f' command to show the current flight status on the USB
1729 commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
1730 Author: Keith Packard <keithp@keithp.com>
1731 Date: Fri Apr 24 19:12:28 2009 -0700
1733 configure igniter ports, set values to measured ones
1735 commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
1736 Author: Keith Packard <keithp@keithp.com>
1737 Date: Fri Apr 24 19:11:40 2009 -0700
1739 Move ao_led_init to end of file to be consistent with other files
1741 commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
1742 Author: Keith Packard <keithp@keithp.com>
1743 Date: Fri Apr 24 19:10:20 2009 -0700
1745 Define ao_state_names in ao.h so other people can share
1747 commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
1748 Author: Keith Packard <keithp@keithp.com>
1749 Date: Fri Apr 24 19:09:31 2009 -0700
1753 commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
1754 Author: Keith Packard <keithp@keithp.com>
1755 Date: Fri Apr 24 19:09:09 2009 -0700
1757 Move beep_init to end of file to be consistent with other files
1759 commit b99315cee4ab796376458a2442cf36806fa4aed3
1760 Author: Keith Packard <keithp@keithp.com>
1761 Date: Fri Apr 24 10:19:31 2009 -0700
1763 Update flight algorithm based on data collected from SN-1 Flight 1
1765 This now correctly sequences through the flight data collected from the
1766 first TeleMetrum test flight.
1768 This also completes up the flight algorithm test harness (ao_flight_test),
1769 which runs the flight algorithm on the Linux host from a captured data log.
1771 commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
1772 Author: Keith Packard <keithp@keithp.com>
1773 Date: Thu Apr 23 22:17:44 2009 -0700
1775 Add igniters and update flight control algorithm
1777 commit f155333ae18a25068644792e8940269d9fb28033
1778 Author: Keith Packard <keithp@keithp.com>
1779 Date: Fri Apr 24 00:15:09 2009 -0700
1781 Avoid ram from 0xfda2 through feff, its funky
1783 commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
1784 Author: Keith Packard <keithp@keithp.com>
1785 Date: Thu Apr 23 22:18:33 2009 -0700
1787 remove ao_flight_test until its ready
1789 commit 86e73c009f78dc4664883353124fc891fbb01dce
1790 Author: Keith Packard <keithp@keithp.com>
1791 Date: Thu Apr 23 20:50:07 2009 -0700
1793 Add teledongle module
1795 commit 204daac71ad56926730f5d6860bd70c645302e19
1796 Author: Keith Packard <keithp@keithp.com>
1797 Date: Thu Apr 23 14:26:01 2009 -0700
1799 Set telemetry rate to 100ms
1801 commit 306b28f632e21b42ab165e7944283cf9764b590e
1802 Author: Keith Packard <keithp@keithp.com>
1803 Date: Thu Apr 23 14:23:26 2009 -0700
1805 Wrong license on ao_monitor.c
1807 commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
1808 Author: Keith Packard <keithp@keithp.com>
1809 Date: Thu Apr 23 14:23:00 2009 -0700
1811 Crank up radio to 10dBm
1813 commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
1814 Author: Keith Packard <keithp@keithp.com>
1815 Date: Wed Apr 22 16:03:28 2009 -0700
1819 commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
1820 Author: Keith Packard <keithp@keithp.com>
1821 Date: Wed Apr 22 15:55:01 2009 -0700
1823 Clean up TeleTerra files
1825 commit 61cee50c86e275f9fde875bd317c3e74255394ec
1826 Author: Keith Packard <keithp@keithp.com>
1827 Date: Wed Apr 22 15:53:55 2009 -0700
1829 simplify ao_time function
1831 commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
1832 Author: Keith Packard <keithp@keithp.com>
1833 Date: Wed Apr 22 15:53:46 2009 -0700
1835 One line radio status
1837 commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
1838 Author: Keith Packard <keithp@keithp.com>
1839 Date: Wed Apr 22 15:49:16 2009 -0700
1841 Add new binaries to .gitignore
1843 commit 00d5610caff61559eb24c24beaa56629d6bb03be
1844 Author: Keith Packard <keithp@keithp.com>
1845 Date: Wed Apr 22 15:49:00 2009 -0700
1847 Speed up dbg port bit frobbing
1849 commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
1850 Author: Keith Packard <keithp@keithp.com>
1851 Date: Wed Apr 22 15:48:28 2009 -0700
1855 commit ada6dea04b94be016598566c4c13e6105aaec353
1856 Author: Keith Packard <keithp@keithp.com>
1857 Date: Wed Apr 22 15:48:14 2009 -0700
1859 Clean up task list formatting
1861 commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
1862 Author: Keith Packard <keithp@keithp.com>
1863 Date: Wed Apr 22 15:47:57 2009 -0700
1865 Control radio monitoring with the M command
1867 commit 837c620f07b63efc171be3ac14c78bc99adf7592
1868 Author: Keith Packard <keithp@keithp.com>
1869 Date: Wed Apr 22 14:25:43 2009 -0700
1871 Shrink USB output buffers, work around USB packet errors
1873 commit d87e9c25947d7cc2eba8894a524977f2c55a089a
1874 Author: Keith Packard <keithp@keithp.com>
1875 Date: Tue Apr 21 02:07:24 2009 -0700
1877 Clean up telemetry now that all packets are the same
1879 commit 1b333def5052d2ed47fdeaef23a897fe326f6340
1880 Author: Keith Packard <keithp@keithp.com>
1881 Date: Tue Apr 21 02:07:08 2009 -0700
1883 Add longer debug delays to reset/debug_mode entry
1885 commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
1886 Author: Keith Packard <keithp@keithp.com>
1887 Date: Tue Apr 21 01:17:03 2009 -0700
1889 Fix up fancy dbg stuff. Add teleterra initial bits.
1891 The dbg stuff needed a bit of help to actually walk the tables; it appears
1892 that complex expressions confuse sdcc.
1894 This also adds primitive teleterra bits, but no UI, etc.
1896 Signed-off-by: Keith Packard <keithp@keithp.com>
1898 commit 43c8f7012102cdb591ace899420c10e4a78385ad
1899 Author: Keith Packard <keithp@keithp.com>
1900 Date: Mon Apr 20 23:33:41 2009 -0700
1902 Add radio support. Build separate executables for TeleMetrum and the TI dongle
1904 Ok, way too big a patch, but things were in rough shape.
1905 This patch adds support for the radio, both transmit and receive.
1906 Then, because I could no longer run the TeleMetrum code on the TI
1907 dongle, I ended up building a separate image for the TI board, which
1908 involved creating a mechanism for having multiple command sets and splitting
1909 code for different functions into different files.
1911 commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
1912 Author: Keith Packard <keithp@keithp.com>
1913 Date: Sat Apr 18 23:19:24 2009 -0700
1915 Start using pdata area for less-frequently used data
1917 commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
1918 Author: Keith Packard <keithp@keithp.com>
1919 Date: Sat Apr 18 23:19:05 2009 -0700
1921 Slow down panic presentation
1923 commit c4e983daa4579896b227fdcb2be43fad75e94307
1924 Author: Keith Packard <keithp@keithp.com>
1925 Date: Sat Apr 18 23:17:45 2009 -0700
1927 Parse GPS data locally. Add 'g' command to display recent GPS results.
1929 This parses the GPS GGA message and stores it in a global variable,
1930 protected by a mutex.
1932 commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
1933 Author: Keith Packard <keithp@keithp.com>
1934 Date: Sat Apr 18 23:16:01 2009 -0700
1936 Add task names and 'T' command to show task status.
1938 The T command shows the current wchan and PC for each task in the system.
1940 commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
1941 Author: Keith Packard <keithp@keithp.com>
1942 Date: Sat Apr 18 19:32:18 2009 -0700
1944 Fix GPL version at 2
1946 Signed-off-by: Keith Packard <keithp@keithp.com>
1948 commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
1949 Author: Keith Packard <keithp@keithp.com>
1950 Date: Fri Apr 17 23:38:14 2009 -0700
1952 Add gps, debug dongle support and pressure alt tables
1954 GPS also pulled in serial support. The altitude tables take raw 11-bit
1955 pressure sample numbers and convert them to standard pressure altitude
1958 Signed-off-by: Keith Packard <keithp@keithp.com>
1960 commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
1961 Author: Keith Packard <keithp@keithp.com>
1962 Date: Fri Apr 17 10:32:45 2009 -0700
1964 Enable FEC in radio packets
1966 commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
1967 Author: Keith Packard <keithp@keithp.com>
1968 Date: Fri Apr 17 10:29:42 2009 -0700
1970 Add CRC to radio packets
1972 commit 20834caf01ddf481e8362b0d2627ef383a82e09d
1973 Author: Keith Packard <keithp@keithp.com>
1974 Date: Fri Apr 17 10:23:10 2009 -0700
1978 commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
1979 Author: Keith Packard <keithp@keithp.com>
1980 Date: Fri Apr 17 10:19:25 2009 -0700
1982 Add packet status byte defines
1984 commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
1985 Author: Keith Packard <keithp@keithp.com>
1986 Date: Fri Apr 17 10:11:31 2009 -0700
1988 Add separate xmit/recv programs to radio demo
1990 commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
1991 Author: Keith Packard <keithp@keithp.com>
1992 Date: Fri Apr 17 10:11:11 2009 -0700
1994 Get env var for debug method selection
1996 commit 26095fc0511ee0d5213f038986032f7c59964cf0
1997 Author: Keith Packard <keithp@keithp.com>
1998 Date: Fri Apr 17 10:10:47 2009 -0700
2000 Run-time selection between cp2103 and cc1111
2002 commit 543bedde83cbce5145668e72965e02d892187b59
2003 Author: Keith Packard <keithp@keithp.com>
2004 Date: Thu Apr 16 20:38:14 2009 -0700
2008 commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
2009 Author: Keith Packard <keithp@keithp.com>
2010 Date: Wed Apr 15 14:25:26 2009 -0700
2012 Move a bunch of variables from __data to __xdata
2014 commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
2015 Author: Keith Packard <keithp@keithp.com>
2016 Date: Tue Apr 14 21:25:15 2009 -0700
2018 Slow down panic code, disable interrupts
2020 commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
2021 Author: Keith Packard <keithp@keithp.com>
2022 Date: Tue Apr 14 21:24:25 2009 -0700
2024 Keep reporting flight state while it changes
2026 commit 9605045164882b4ca3d1317ac860b02513a51f30
2027 Author: Keith Packard <keithp@keithp.com>
2028 Date: Tue Apr 14 21:23:55 2009 -0700
2030 use red LED to indicate system startup
2032 commit dc844ee7e49a3b6145b3165252a592ed070d600f
2033 Author: Keith Packard <keithp@keithp.com>
2034 Date: Tue Apr 14 21:23:13 2009 -0700
2036 Use ao_ee_flush_internal while holding mutex
2038 commit 5e45d1c89b00e74d5b2730345843f43aab516af2
2039 Author: Keith Packard <keithp@keithp.com>
2040 Date: Tue Apr 14 21:22:56 2009 -0700
2042 Leave beeping and lights to the flight code
2044 commit 902c342289c1d13a4d55b9224acb6d67578b7a60
2045 Author: Keith Packard <keithp@keithp.com>
2046 Date: Tue Apr 14 21:22:31 2009 -0700
2048 Make mutex functions reentrant
2050 commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
2051 Author: Keith Packard <keithp@keithp.com>
2052 Date: Tue Apr 14 19:08:01 2009 -0700
2054 Add in existing flight pieces: flight/report/log
2056 These pieces come from the old telemetrum firmware.
2058 Signed-off-by: Keith Packard <keithp@keithp.com>
2060 commit ac99982b10fd5772218660137ee21db9b90cd885
2061 Author: Keith Packard <keithp@keithp.com>
2062 Date: Tue Apr 14 14:21:56 2009 -0700
2064 Add eeprom driver and command loop
2066 This involved adding dma control and a mutex implementation.
2068 Signed-off-by: Keith Packard <keithp@keithp.com>
2070 commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
2071 Author: Keith Packard <keithp@keithp.com>
2072 Date: Tue Apr 14 11:04:09 2009 -0700
2074 Switch from --model-large to --model-small
2076 This shrinks the application quite a bit, and should make it faster as well.
2078 Signed-off-by: Keith Packard <keithp@keithp.com>
2080 commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
2081 Author: Keith Packard <keithp@keithp.com>
2082 Date: Tue Apr 14 10:02:19 2009 -0700
2084 Add comments, clean up white space, etc.
2086 Various clean ups now that the basic code appears to work.
2088 Signed-off-by: Keith Packard <keithp@keithp.com>
2090 commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
2091 Author: Keith Packard <keithp@keithp.com>
2092 Date: Mon Apr 13 21:58:07 2009 -0700
2094 Switch USB to double-buffered
2096 commit b56a44e48552bc32dbba9ff21770c370219a684a
2097 Author: Keith Packard <keithp@keithp.com>
2098 Date: Mon Apr 13 21:51:59 2009 -0700
2100 Fix USB input/output by reloading packet limits.
2102 The USB controller is reset during the connection process, which clears the
2103 packet limits set in the controller at initialization time. Reload those
2104 values when the configuration is set.
2106 Signed-off-by: Keith Packard <keithp@keithp.com>
2108 commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
2109 Author: Keith Packard <keithp@keithp.com>
2110 Date: Mon Apr 13 20:39:46 2009 -0700
2112 USB working up through reading strings
2114 commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
2115 Author: Keith Packard <keithp@keithp.com>
2116 Date: Mon Apr 13 13:51:08 2009 -0700
2120 This offers a single CDC ACM device over USB.
2122 Signed-off-by: Keith Packard <keithp@keithp.com>
2124 commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
2125 Author: Keith Packard <keithp@keithp.com>
2126 Date: Sun Apr 12 23:53:55 2009 -0700
2128 Add beep/led support.
2130 Support our P2_0 connected buzzer, and formalize LED output support.
2132 Signed-off-by: Keith Packard <keithp@keithp.com>
2134 commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
2135 Author: Keith Packard <keithp@keithp.com>
2136 Date: Sun Apr 12 23:17:16 2009 -0700
2140 Sample A/D at the timer tick, placing data in a ring
2143 Signed-off-by: Keith Packard <keithp@keithp.com>
2145 commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
2146 Author: Keith Packard <keithp@keithp.com>
2147 Date: Sun Apr 12 22:52:47 2009 -0700
2151 Use Timer 1 to generate a 100Hz timer interrupt
2153 commit 650a77e209dbb54c8d8fd9824cee430985564973
2154 Author: Keith Packard <keithp@keithp.com>
2155 Date: Sun Apr 12 21:58:49 2009 -0700
2159 commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
2160 Author: Keith Packard <keithp@keithp.com>
2161 Date: Sun Apr 12 21:52:56 2009 -0700
2165 commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
2166 Author: Keith Packard <keithp@keithp.com>
2167 Date: Sun Apr 12 21:47:32 2009 -0700
2169 Add load command to s51
2171 commit 55402ba3e87fd699c51079843309f1f0d1534724
2172 Author: Keith Packard <keithp@keithp.com>
2173 Date: Sun Apr 12 21:33:55 2009 -0700
2175 Make test more complicated
2177 commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
2178 Author: Keith Packard <keithp@keithp.com>
2179 Date: Sun Apr 12 21:33:46 2009 -0700
2181 SP points at last pushed byte
2183 commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
2184 Author: Keith Packard <keithp@keithp.com>
2185 Date: Sun Apr 12 20:27:03 2009 -0700
2189 commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
2190 Author: Keith Packard <keithp@keithp.com>
2191 Date: Sun Apr 12 20:25:39 2009 -0700
2193 Initial AltOS import
2195 commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
2196 Author: Keith Packard <keithp@keithp.com>
2197 Date: Sun Apr 12 12:38:58 2009 -0700
2201 commit ee110425fb814780476d1d3d8a257af126f41763
2202 Author: Keith Packard <keithp@keithp.com>
2203 Date: Mon Apr 6 17:09:23 2009 -0700
2205 Bump buffer pointer as data is written to cc-usb
2207 commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
2208 Author: Keith Packard <keithp@keithp.com>
2209 Date: Mon Apr 6 11:31:49 2009 -0700
2211 Add support for a serial-connected custom debug dongle
2213 This uses the cc1111 board as a custom debug dongle with faster
2214 methods for communicating with the debug target.
2216 commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
2217 Author: Keith Packard <keithp@keithp.com>
2218 Date: Wed Apr 1 17:50:47 2009 -0700
2220 Reset cc1111 on s51 exit
2222 commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
2223 Author: Keith Packard <keithp@keithp.com>
2224 Date: Wed Apr 1 00:06:45 2009 -0700
2226 Add timer-based beep test
2228 commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
2229 Author: Keith Packard <keithp@keithp.com>
2230 Date: Thu Mar 26 22:41:47 2009 -0700
2232 Add readline support to s51
2234 commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
2235 Author: Keith Packard <keithp@keithp.com>
2236 Date: Wed Mar 25 11:37:48 2009 -0700
2238 Deal with MSB-outputing DMA engine
2240 commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
2241 Author: Keith Packard <keithp@keithp.com>
2242 Date: Wed Mar 25 11:14:03 2009 -0700
2244 Flip ADC bytes around
2246 commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
2247 Author: Keith Packard <keithp@keithp.com>
2248 Date: Wed Mar 25 11:01:30 2009 -0700
2250 Add spacing for serial adc data
2252 commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
2253 Author: Keith Packard <keithp@keithp.com>
2254 Date: Wed Mar 25 10:58:57 2009 -0700
2256 Inc only one on dest addr
2258 commit 378227d869a3e8787c532c8c4e1563b44002c4b5
2259 Author: Keith Packard <keithp@keithp.com>
2260 Date: Wed Mar 25 10:55:17 2009 -0700
2262 Dump remaining inputs
2264 commit f54a41e37d6897db2e24fbc82880076b78a0ae41
2265 Author: Keith Packard <keithp@keithp.com>
2266 Date: Wed Mar 25 10:50:36 2009 -0700
2268 Remove poll for ti demo button
2270 commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
2271 Author: Keith Packard <keithp@keithp.com>
2272 Date: Wed Mar 25 10:50:14 2009 -0700
2274 Add adc to serial conversion
2276 commit d9fd548db15232e3a8823815962b252c7a5e7cba
2277 Author: Keith Packard <keithp@keithp.com>
2278 Date: Wed Mar 25 10:04:50 2009 -0700
2280 Add ADC via DMA example
2282 commit 61faf2b773300988fe27cfde5bc045be9950a1b0
2283 Author: Keith Packard <keithp@keithp.com>
2284 Date: Wed Mar 25 09:45:14 2009 -0700
2288 commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
2289 Author: Keith Packard <keithp@keithp.com>
2290 Date: Wed Mar 25 01:05:36 2009 -0700
2294 commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
2295 Author: Keith Packard <keithp@keithp.com>
2296 Date: Wed Mar 25 01:03:08 2009 -0700
2298 Make radio test compile again
2300 commit 9ce713fdd19bf1a51370dacba3670504356c5c11
2301 Author: Keith Packard <keithp@keithp.com>
2302 Date: Wed Mar 25 01:02:07 2009 -0700
2304 Wait for xtal to stabilize
2306 commit ffd43886dc902f3bb7407294018e3d62cac39480
2307 Author: Keith Packard <keithp@keithp.com>
2308 Date: Wed Mar 25 00:55:11 2009 -0700
2312 commit 029963cc94fbb47560118b5de73c537e2c14ed7c
2313 Author: Keith Packard <keithp@keithp.com>
2314 Date: Wed Mar 25 00:50:02 2009 -0700
2316 Eliminate array walking
2318 commit 019456a17d36f8f9f9b72cfbc980492175086d32
2319 Author: Keith Packard <keithp@keithp.com>
2320 Date: Wed Mar 25 00:41:49 2009 -0700
2322 Add a per-char delay
2324 commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
2325 Author: Keith Packard <keithp@keithp.com>
2326 Date: Wed Mar 25 00:36:35 2009 -0700
2328 Use UTX1IF to wait for serial TX complete
2330 commit 006124529b243c7657a94312d2c868a82878d8bb
2331 Author: Keith Packard <keithp@keithp.com>
2332 Date: Wed Mar 25 00:29:29 2009 -0700
2334 Send more interesting text
2336 commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
2337 Author: Keith Packard <keithp@keithp.com>
2338 Date: Wed Mar 25 00:24:56 2009 -0700
2340 More random serial bit frobbing
2342 commit 50bdc2407c674a4770912d3a626f36820a7f1527
2343 Author: Keith Packard <keithp@keithp.com>
2344 Date: Wed Mar 25 00:13:15 2009 -0700
2346 Flip serial TX code around a bit
2348 commit 7b7617e376afe0df1d505375b76198358330370c
2349 Author: Keith Packard <keithp@keithp.com>
2350 Date: Wed Mar 25 00:09:47 2009 -0700
2352 Try serial polarity high/high
2354 commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
2355 Author: Keith Packard <keithp@keithp.com>
2356 Date: Wed Mar 25 00:06:32 2009 -0700
2358 Make serial test simpler
2360 commit 62744c186792739c3bf5798c80ff87c69fbe2b65
2361 Author: Keith Packard <keithp@keithp.com>
2362 Date: Wed Mar 25 00:03:45 2009 -0700
2364 Flip start/stop bits around
2366 commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
2367 Author: Keith Packard <keithp@keithp.com>
2368 Date: Tue Mar 24 23:57:12 2009 -0700
2372 commit c41ceb9a488b2209d1d3c09967d1473ce608030f
2373 Author: Keith Packard <keithp@keithp.com>
2374 Date: Tue Mar 24 23:24:01 2009 -0700
2376 Change radio to -30dBm
2378 commit c35de083ca3d4f362063b056a0fd74ffe629d168
2379 Author: Keith Packard <keithp@keithp.com>
2380 Date: Tue Mar 24 23:11:48 2009 -0700
2382 Add serial test program
2384 commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
2385 Author: Keith Packard <keithp@keithp.com>
2386 Date: Tue Mar 24 22:37:38 2009 -0700
2388 Wait for xtal to stabilize after changing to 24MHz
2390 commit e120269fc0f8e14ddf1755337b1d092173e16da2
2391 Author: Keith Packard <keithp@keithp.com>
2392 Date: Tue Mar 24 22:21:31 2009 -0700
2394 Actually return byte read from SPI
2396 commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
2397 Author: Keith Packard <keithp@keithp.com>
2398 Date: Tue Mar 24 22:12:51 2009 -0700
2400 Clear UxCSR_TX_BYTE after transmitting a byte
2402 commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
2403 Author: Keith Packard <keithp@keithp.com>
2404 Date: Tue Mar 24 20:04:58 2009 -0700
2408 commit 91b3a6ae74184692f45702587c4d678b2799ad8c
2409 Author: Keith Packard <keithp@keithp.com>
2410 Date: Tue Mar 24 19:55:04 2009 -0700
2412 actually write and compare SPI test bits
2414 commit 7de3a43887485c3c6cf52960376ccde33fb33985
2415 Author: Keith Packard <keithp@keithp.com>
2416 Date: Tue Mar 24 19:54:02 2009 -0700
2418 Add USART-based SPI test code
2420 commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
2421 Author: Keith Packard <keithp@keithp.com>
2422 Date: Tue Mar 24 17:22:36 2009 -0700
2424 Change spi test string
2426 commit 8131389ee5018c05b721146a98367150cf500fdf
2427 Author: Keith Packard <keithp@keithp.com>
2428 Date: Tue Mar 24 17:15:09 2009 -0700
2430 Oops, not merging in the bit read for SPI test
2432 commit 3429016d1359ec650993d2fb0596184e3f717871
2433 Author: Keith Packard <keithp@keithp.com>
2434 Date: Tue Mar 24 17:04:45 2009 -0700
2436 Adjust clock/data phase for spi test
2438 commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
2439 Author: Keith Packard <keithp@keithp.com>
2440 Date: Tue Mar 24 16:35:13 2009 -0700
2442 MISO needs to be an input
2444 commit f0c233f25a208a636833312b1766825815735304
2445 Author: Keith Packard <keithp@keithp.com>
2446 Date: Tue Mar 24 15:41:55 2009 -0700
2448 Add bit-banging spi eeprom test program
2450 commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
2451 Author: Bdale Garbee <bdale@gag.com>
2452 Date: Wed Mar 18 02:58:33 2009 -0600
2454 working beep at around 4khz
2456 commit 4726317de811c20e8d6754762437b5c9cbb3a48c
2457 Author: Keith Packard <keithp@keithp.com>
2458 Date: Wed Mar 18 01:54:34 2009 -0700
2460 Add simple test program to light up the transmitter at 434.550MHz
2462 This starts a transmit sequence, but doesn't send any data so the
2463 transmitter just locks on.
2465 commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
2466 Author: Keith Packard <keithp@keithp.com>
2467 Date: Sun Mar 15 18:14:21 2009 -0700
2469 Correctly comment which bit the beep program uses
2471 commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
2472 Author: Keith Packard <keithp@keithp.com>
2473 Date: Sun Mar 15 18:11:53 2009 -0700
2475 Add telemetrum beeper example
2477 commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
2478 Author: Keith Packard <keithp@keithp.com>
2479 Date: Sun Mar 15 18:11:20 2009 -0700
2481 sdcc gets the lib path correct based on the model
2483 commit 04a316133af93b79bfbebb91f05eec1015ec2abc
2484 Author: Keith Packard <keithp@keithp.com>
2485 Date: Sun Mar 15 18:10:43 2009 -0700
2487 Bump debug speed back up
2489 commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
2490 Author: Keith Packard <keithp@keithp.com>
2491 Date: Sat Mar 7 21:05:40 2009 -0800
2493 Only flip changing bits in async mode
2495 commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
2496 Author: Keith Packard <keithp@keithp.com>
2497 Date: Sat Mar 7 21:05:06 2009 -0800
2499 The debug port only works if reset is higher than clock. weird
2501 commit ade11f88754b4ab0386ebf86afc5257e59238f62
2502 Author: Keith Packard <keithp@keithp.com>
2503 Date: Sat Mar 7 21:04:38 2009 -0800
2505 Make manual bit flipping sync after every transaction
2507 commit e63b5271bb54afc36e4b9891e51e053ff6011092
2508 Author: Keith Packard <keithp@keithp.com>
2509 Date: Sat Mar 7 14:49:22 2009 -0800
2513 commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
2514 Author: Keith Packard <keithp@keithp.com>
2515 Date: Sat Mar 7 14:48:49 2009 -0800
2517 Sync after manual bit reading
2519 commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
2520 Author: Keith Packard <keithp@keithp.com>
2521 Date: Sat Mar 7 14:48:35 2009 -0800
2523 Flip debug pins around to match telemetrum
2525 commit cc0495b7028f4b1189a00707d828a68534d1dea2
2526 Author: Keith Packard <keithp@keithp.com>
2527 Date: Fri Mar 6 22:52:35 2009 -0800
2529 Wait for a while when switching the RESET_N line
2531 The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
2532 RESET_N line to filter out noise. This increases the time necessary to reset
2533 the chip to several microseconds which is longer than the interval between
2534 two USB packets. Flush the USB packet queue and sleep for a while after
2535 changing the value on the RESET_N line to make sure the chip sees the state
2538 Signed-off-by: Keith Packard <keithp@keithp.com>
2540 commit 41289e6d8f1767547a33fea349866e928e44910f
2541 Author: Bdale Garbee <bdale@gag.com>
2542 Date: Mon Mar 2 07:46:20 2009 -0700
2544 minor s51.1 formatting fixes
2546 Signed-off-by: Keith Packard <keithp@keithp.com>
2548 commit fdee231ed097a4348aee78fbd4aa92826b80de03
2549 Author: Keith Packard <keithp@keithp.com>
2550 Date: Sun Mar 1 23:12:31 2009 -0800
2554 This documents (briefly) the s51 hex debugging interface program, including
2555 some simple commands to test the operation of the system interactively.
2557 Signed-off-by: Keith Packard <keithp@keithp.com>
2559 commit f7d91bd23b8214e09deae0aafb516331e934c49b
2560 Author: Keith Packard <keithp@keithp.com>
2561 Date: Sun Mar 1 18:43:03 2009 -0800
2563 Sometimes the link breaks and the GET_PC command returns garbage
2565 commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
2566 Author: Keith Packard <keithp@keithp.com>
2567 Date: Sun Jan 25 08:38:48 2009 -0800
2569 Support 'set' command
2571 The 'set' command modifies target memory and registers
2573 Signed-off-by: Keith Packard <keithp@keithp.com>
2575 commit 60940b4be23962db79b8e914ec943d0636dd68ad
2576 Author: Keith Packard <keithp@keithp.com>
2577 Date: Mon Jan 5 21:45:21 2009 -0800
2579 Expose ccdbg_set_clock API
2581 This allows applications to change the debug port clock
2584 Signed-off-by: Keith Packard <keithp@keithp.com>
2586 commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
2587 Author: Keith Packard <keithp@keithp.com>
2588 Date: Mon Jan 5 21:44:44 2009 -0800
2590 Use custom sdcc libraries (this needs to be configured...)
2592 Signed-off-by: Keith Packard <keithp@keithp.com>
2594 commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
2595 Author: Keith Packard <keithp@keithp.com>
2596 Date: Mon Jan 5 21:43:44 2009 -0800
2598 Have S51 ignore SIGINT while running under sdcdb.
2600 This prevents keyboard interrupts from accidentally stopping
2603 Signed-off-by: Keith Packard <keithp@keithp.com>
2605 commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
2606 Author: Keith Packard <keithp@keithp.com>
2607 Date: Tue Dec 30 22:40:13 2008 -0800
2609 Add simple and timer sample programs
2611 Signed-off-by: Keith Packard <keithp@keithp.com>
2613 commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
2614 Author: Keith Packard <keithp@keithp.com>
2615 Date: Tue Dec 30 22:35:53 2008 -0800
2617 Save/restore registers to host during memory operations. Cache ROM data.
2619 Because the debug port uses instructions for most operations, the debug code
2620 will clobber registers used by the running program. Save and restore these
2621 to avoid corrupting application data.
2623 If the ROM file is known, use that to return data instead of fetching it
2624 from the target to improve performance.
2626 Signed-off-by: Keith Packard <keithp@keithp.com>
2628 commit ea366058aa467a8a7caf17e7014758f3741ea7f7
2629 Author: Keith Packard <keithp@keithp.com>
2630 Date: Mon Dec 29 12:35:11 2008 -0800
2632 Fix flashing less than a full page of data. Verify page at a time.
2634 The 8051 flashing code requires special help with counts with non-zero low
2635 byte. Also, instead of verifying the entire flash contents at the end,
2636 verify each page as it goes.
2638 Signed-off-by: Keith Packard <keithp@keithp.com>
2640 commit e0697186a2f9b6139636ff5d5c162879c85caf9c
2641 Author: Keith Packard <keithp@keithp.com>
2642 Date: Sun Dec 28 00:11:13 2008 -0800
2644 Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
2646 Not all SFRs are visible in the unified address space, so the SFR-specific
2647 accessors are required.
2649 The dump command is the same as the various 'd*'
2650 commands, but also supports dumping program memory.
2652 The new -m (monitor) flag watches the command stream between s51 and sdcdb.
2654 Signed-off-by: Keith Packard <keithp@keithp.com>
2656 commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
2657 Author: Keith Packard <keithp@keithp.com>
2658 Date: Sun Dec 28 00:09:30 2008 -0800
2660 Save/restore regs when reading/writing memory. Add SFR access.
2662 The DPL and ACC registers are used by the memory access code,
2663 so they need to be saved and restored. Stuff them up high in ram for now;
2664 this should probably be fixed to pull them back to the host instead.
2666 Special SFR access is required as not all SFRs are visible in the unified
2669 Signed-off-by: Keith Packard <keithp@keithp.com>
2671 commit 1405838160b69e2cda456e21502a1d03b3aa7548
2672 Author: Keith Packard <keithp@keithp.com>
2673 Date: Sat Dec 27 11:25:58 2008 -0800
2675 s51: get start address from ihx file. re-enable breakpoints after reset.
2677 Use the start of the ihx file when asked to run from 0x0, this lets
2678 sdcdb run programs from ram.
2680 The reset command clears all hw breakpoints, so reset them afterwards.
2682 Signed-off-by: Keith Packard <keithp@keithp.com>
2684 commit 1264c3676e95427bba5d01e05c303d036a7f9eca
2685 Author: Keith Packard <keithp@keithp.com>
2686 Date: Fri Dec 26 23:05:04 2008 -0800
2688 Switch to libusb-1.0 and use async interface.
2690 The async libusb interface offers substantial performance benefits by not
2691 making each command wait for the reply. This makes talking over this
2692 interface almost reasonable.
2694 Signed-off-by: Keith Packard <keithp@keithp.com>
2696 commit d2d9cfd74fd66836c913c02276e09136d83b35dc
2697 Author: Keith Packard <keithp@keithp.com>
2698 Date: Fri Dec 26 17:58:48 2008 -0800
2700 s51: add breakpoints and the ability to block awaiting a breakpoint.
2702 Signed-off-by: Keith Packard <keithp@keithp.com>
2704 commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
2705 Author: Keith Packard <keithp@keithp.com>
2706 Date: Mon Dec 22 19:11:56 2008 -0800
2708 Add more commands to s51 assembly-language debugger
2710 Signed-off-by: Keith Packard <keithp@keithp.com>
2712 commit 55eba4fa08b022197106245d36a70f575a070b0a
2713 Author: Keith Packard <keithp@keithp.com>
2714 Date: Mon Dec 22 19:10:27 2008 -0800
2716 Make read_memory debug output use ccdbg_debug.
2718 This makes it default to not being presented, which makes s51 much happier
2720 Signed-off-by: Keith Packard <keithp@keithp.com>
2722 commit e75918f3667a5c8ad294bec4acef6fe81682edf6
2723 Author: Keith Packard <keithp@keithp.com>
2724 Date: Sun Dec 21 23:33:35 2008 -0800
2726 Add preliminary version of s51, a UI clone of the 8051 emulator.
2728 sdcdb provides source-level debugging using the 8051 emulator, s51. By
2729 emulating that emulator a the UI level, we should be able to get source
2730 debugging right on our target platform.
2732 This is just the preliminary structure for the program with most commands
2733 not yet implemented.
2735 commit f7d49868aeae80d515b12a7e339628f1296754a6
2736 Author: Keith Packard <keithp@keithp.com>
2737 Date: Sat Dec 20 23:30:06 2008 -0800
2739 Cleanup work; separating out the cp interface to be more abstract.
2741 Signed-off-by: Keith Packard <keithp@keithp.com>
2743 commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
2744 Author: Keith Packard <keithp@keithp.com>
2745 Date: Fri Dec 19 21:13:04 2008 -0800
2747 Clean up autotools stuff.
2749 Signed-off-by: Keith Packard <keithp@keithp.com>
2751 commit 9025eb792861930e6af918d2727c4f5d97a69936
2752 Author: Keith Packard <keithp@keithp.com>
2753 Date: Fri Dec 19 21:11:45 2008 -0800
2757 Signed-off-by: Keith Packard <keithp@keithp.com>
2759 commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
2760 Author: Keith Packard <keithp@keithp.com>
2761 Date: Fri Dec 19 19:08:13 2008 -0800
2765 commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
2766 Author: Keith Packard <keithp@keithp.com>
2767 Date: Fri Dec 19 19:07:37 2008 -0800
2769 Move blink example to subdir
2771 Signed-off-by: Keith Packard <keithp@keithp.com>
2773 commit 82e2d7ebed6682062dc400478c736bd6c91195c9
2774 Author: Keith Packard <keithp@keithp.com>
2775 Date: Fri Dec 19 19:04:26 2008 -0800
2777 Clean up makefiles, move ihx files to .ihx
2779 commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
2780 Author: Keith Packard <keithp@keithp.com>
2781 Date: Fri Dec 19 14:39:57 2008 -0800
2785 commit 4ecfc33f16aa36b315519e6f279da65374b67aba
2786 Author: Keith Packard <keithp@keithp.com>
2787 Date: Fri Dec 19 14:37:53 2008 -0800
2789 Add cc1111 isr stub example
2791 commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
2792 Author: Keith Packard <keithp@keithp.com>
2793 Date: Fri Dec 19 14:37:29 2008 -0800
2795 Add blink-tiny flash and ram versions
2797 commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
2798 Author: Keith Packard <keithp@keithp.com>
2799 Date: Fri Dec 19 14:19:29 2008 -0800
2801 Flash multiple pages. Eliminate off-by-one error in hex_image length.
2803 Signed-off-by: Keith Packard <keithp@keithp.com>
2805 commit 55995515b9d4fc1e193039eab697c5d03db417c2
2806 Author: Keith Packard <keithp@keithp.com>
2807 Date: Fri Dec 19 11:04:16 2008 -0800
2809 Add flash writing code.
2811 Signed-off-by: Keith Packard <keithp@keithp.com>
2813 commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
2814 Author: Keith Packard <keithp@keithp.com>
2815 Date: Thu Dec 18 12:37:32 2008 -0800
2819 Signed-off-by: Keith Packard <keithp@keithp.com>
2821 commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
2822 Author: Keith Packard <keithp@keithp.com>
2823 Date: Thu Dec 18 12:17:41 2008 -0800
2827 Signed-off-by: Keith Packard <keithp@keithp.com>
2829 commit dc03adc179669d41e3551d74b3c5a60db41ff217
2830 Author: Keith Packard <keithp@keithp.com>
2831 Date: Thu Dec 18 12:07:06 2008 -0800
2833 Add ability to load Intel HEX files. Add sample sdcc LED blinker.
2835 Signed-off-by: Keith Packard <keithp@keithp.com>
2837 commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
2838 Author: Keith Packard <keithp@keithp.com>
2839 Date: Thu Dec 18 00:18:50 2008 -0800
2841 Add ability to read/write arbitrary memory. Write LED blinker program.
2843 Signed-off-by: Keith Packard <keithp@keithp.com>
2845 commit 8c879bf51c14a5928135d59211facd72f6a32808
2846 Author: Keith Packard <keithp@keithp.com>
2847 Date: Wed Dec 17 23:15:47 2008 -0800
2849 Move manual bit-banging debug code to separate file
2851 Signed-off-by: Keith Packard <keithp@keithp.com>
2853 commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
2854 Author: Keith Packard <keithp@keithp.com>
2855 Date: Wed Dec 17 23:15:19 2008 -0800
2857 reduce clock to 50us
2859 Signed-off-by: Keith Packard <keithp@keithp.com>
2861 commit fa168f963f8b00144d12aa2770e9c0917cfae123
2862 Author: Keith Packard <keithp@keithp.com>
2863 Date: Wed Dec 17 23:12:59 2008 -0800
2865 Fill out ccdbg-command to support all debug commands.
2867 Signed-off-by: Keith Packard <keithp@keithp.com>
2869 commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
2870 Author: Keith Packard <keithp@keithp.com>
2871 Date: Wed Dec 17 22:24:59 2008 -0800
2873 Clean up bitbanging layer. Add debug printfs.
2875 Signed-off-by: Keith Packard <keithp@keithp.com>
2877 commit 584e28bac8af38de433767e017977ed1adddeb36
2878 Author: Keith Packard <keithp@keithp.com>
2879 Date: Wed Dec 17 12:32:15 2008 -0800
2881 Clean up sample debug files
2883 Signed-off-by: Keith Packard <keithp@keithp.com>
2885 commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
2886 Author: Keith Packard <keithp@keithp.com>
2887 Date: Mon Dec 8 17:25:28 2008 -0800
2889 Add support for input-only lines (-)
2891 commit 4f38974a9941cddaba27c17c5a46f923db386c94
2892 Author: Keith Packard <keithp@keithp.com>
2893 Date: Sat Dec 6 16:32:27 2008 -0800
2897 commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
2898 Author: Keith Packard <keithp@keithp.com>
2899 Date: Sat Dec 6 16:32:12 2008 -0800
2901 Add libusb support and lots more examples
2903 commit 39801e6e9fb9388072ee414a447f74095a6ac960
2904 Author: Keith Packard <keithp@keithp.com>
2905 Date: Fri Nov 28 22:57:07 2008 -0800
2909 commit 01cb2799875e086ee6096627c058ee235bbc33d5
2910 Author: Keith Packard <keithp@keithp.com>
2911 Date: Thu Nov 27 17:07:15 2008 -0800
2913 Add prototypes, add stub mainline, add .gitignore
2915 commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
2916 Author: Keith Packard <keithp@keithp.com>
2917 Date: Thu Nov 27 12:33:40 2008 -0800
2919 cc1111 debug port access through cp2103 serial chip