Werner Almesberger
a520877e83
whirl/: LED board for new experimental design variant
2012-11-04 16:54:01 -03:00
Werner Almesberger
20ecf44266
tools/ant-gui/ant-gui.c: call ant-cl to upload the selected image
2012-11-01 20:28:41 -03:00
Werner Almesberger
be1515daac
tools/ant-gui/ant-gui.c (gui): fix scrolling
2012-11-01 20:18:57 -03:00
Werner Almesberger
2eaa1224cf
tools/ant-gui/ant-gui.c (gui): add gap between images
2012-11-01 20:14:06 -03:00
Werner Almesberger
89fffcbcd9
tools/ant-gui/ant-gui.c (generate): ignore coments (lines beginning with "#")
2012-11-01 20:10:08 -03:00
Werner Almesberger
86e1466388
tools/ant-gui/ant-gui.c: add option -F to set font path; add usage
2012-11-01 20:08:43 -03:00
Werner Almesberger
c528c0a068
tools/ant-gui/ant-gui.c: support multiple images per file
2012-11-01 20:00:12 -03:00
Werner Almesberger
5a71d27678
tool/: move dump_* from ant-txt to libant; add IO error checkint
2012-11-01 19:24:17 -03:00
Werner Almesberger
cf8c7f754d
tools/: rename free_edit to free_edits
...
Makes it clearer that it's not about freeing just a single edit record.
2012-11-01 19:06:58 -03:00
Werner Almesberger
1e7fb38c04
ant-cl/ant-cl.c (image): accept standard input (-) as image source
2012-11-01 19:00:53 -03:00
Werner Almesberger
64f441ce3a
tools/ant-gui/: graphical image selector (WIP)
2012-11-01 18:26:42 -03:00
Werner Almesberger
f38d3201d1
rename libtxt to libant
2012-11-01 18:13:03 -03:00
Werner Almesberger
95c7d71fb2
tools/libtxt/edit.c (add_string): NULL-terminate the list of edits
2012-11-01 18:05:47 -03:00
Werner Almesberger
af047755b9
tools/ant-txt/pick: shell script to pick a message from a file
2012-09-14 05:43:18 -03:00
Werner Almesberger
80a2bf3796
tools/libtxt/Makefile: add "ben" target for cross-compilation
2012-09-14 05:34:30 -03:00
Werner Almesberger
8d967a0480
tools/ant-txt/ant-txt.c: add option -x for X bitmap output
2012-09-14 05:32:10 -03:00
Werner Almesberger
d09499ccaa
tools/: add period (.) to character set
2012-09-14 05:31:07 -03:00
Werner Almesberger
69db2f62c4
libtxt/font.c: draw_char returns maximum character width for space
2012-09-13 15:10:38 -03:00
Werner Almesberger
52142fe66b
tools/font/: add 5x9 and 8x12 font
2012-09-13 15:07:38 -03:00
Werner Almesberger
bff9ca5801
fw/accel.c (adcsra): correct typo in comment
2012-07-31 10:02:34 -03:00
Werner Almesberger
d87f5fa0f5
fw/avrdude-antorcha.conf: correct description
2012-07-22 12:26:12 -03:00
Werner Almesberger
a46d226efb
use new avrdude -L option to load project-specific config file
2012-07-22 12:12:33 -03:00
Werner Almesberger
8108aaccd1
fw/diag.c (do_diag): update explanation why we don't enable interrupts
...
The hang was caused by the RF subsystem getting into trouble. The
interrupts still cause some issues, so we don't enable them yet.
A system reset (ant-cl -R) will clean up everything nicely.
2012-07-06 16:58:53 -03:00
Werner Almesberger
a70caced48
fw/antorcha.c (main): reset the RF subsystem if it's idle for ~1 second
...
For some reason, DIAG often stalls the RF subsystem. The periodic reset
brings it back to life.
2012-07-06 16:53:10 -03:00
Werner Almesberger
ed19766266
tools/ant-cl/plot-diag: add title and labels
2012-07-06 14:15:13 -03:00
Werner Almesberger
7d4b092f45
tools/ant-cl/plot-diag: remove extra quote
...
This produced an error message but didn't prevent plot-diag from working.
2012-07-06 14:04:07 -03:00
Werner Almesberger
545e6248f1
tools/ant-txt/ant-txt.c: option -b for binary output (Antorcha image format)
2012-07-01 21:53:52 -03:00
Werner Almesberger
ea3f2a9d6b
tools/: add error reporting to text2edit
2012-07-01 21:29:44 -03:00
Werner Almesberger
e4d8355a2d
tools/libtxt/fonts: move directory to tools/
2012-07-01 21:11:23 -03:00
Werner Almesberger
3219319716
tools/libtxt/edit.c (do_edit): load a default font if user doesn't set one
...
Before, we simply segfaulted.
2012-07-01 21:10:15 -03:00
Werner Almesberger
6bf69b9358
tools/libtxt/edit.c (do_edit): move font loading logic to load_font
2012-07-01 21:08:21 -03:00
Werner Almesberger
817145bcdc
tools/ant-txt/ant-txt.c: new option -F to add font directories
2012-07-01 21:03:51 -03:00
Werner Almesberger
685cd809db
tools/libtxt/: add font search path (untested)
2012-07-01 20:59:49 -03:00
Werner Almesberger
236ef1dad0
tools/libtxt/font.c: split load_image_file (load from open file) off load_image
2012-07-01 20:51:47 -03:00
Werner Almesberger
21e4fb267e
tools/libtxt/: introduce utility functions alloc_size and alloc_type
2012-07-01 20:43:04 -03:00
Werner Almesberger
d33449e128
tools/libtxt/: move alloc_sprintf from font.c to util.h, for later sharing
2012-07-01 20:32:56 -03:00
Werner Almesberger
8cfe660a2e
tools/ant-cl/plot-diag: visualize diagnostic results with gnuplot
...
usage:
ant-cl -D >file
plot-diag file
2012-07-01 20:17:19 -03:00
Werner Almesberger
2de055ce1b
tools/ant-cl/ant-cl.c (send_diag): print the requested pattern (if verbose)
2012-07-01 19:53:53 -03:00
Werner Almesberger
206eb4d591
clean up diagnostic more and make it more robust
...
A number of changes:
- don't enable interrupts, since they often cause hangs (not sure why)
- remove GND measurement
- wait 100 us between AMUX setup and start of conversion, to let input
settle
- reduce delay between line setup and samping from 100 ms to 50 ms,
for this is already sufficient
2012-07-01 19:40:01 -03:00
Werner Almesberger
1b7639c53b
tools/ant-cl/ant-cl.c (send_diag): remove extra ">" from progress
2012-07-01 18:05:46 -03:00
Werner Almesberger
2f82a4f306
tools/ant-cl/ant-cl.c: add diagnostic mode (-D); various RF comm improvements
...
The RF communicaion improvements:
- separate ACK handling from packet(),
- pass ACK payload to caller,
- take reception timeout from callers,
- -d also dumps received packets.
2012-07-01 11:55:51 -03:00
Werner Almesberger
43686321a7
fw/diag.c: fix and improve DIAG function
...
- we didn't send ACKs for the authentication packets
- take multiple samples (4)
- add 100 ms delay to let the battery voltage settle
2012-07-01 11:53:51 -03:00
Werner Almesberger
f5b85a464e
tools/ant-cl/Makefile: update convenience targets for name and directory change
2012-07-01 10:44:42 -03:00
Werner Almesberger
19fb0d31fa
fw/: add DIAG protocol (supply voltage measurement, for diagnostics)
2012-07-01 10:43:37 -03:00
Werner Almesberger
1be433e65f
fw/accel.c (measure_ref): GND and Vbg measurement function (for diagnostics)
2012-07-01 10:38:59 -03:00
Werner Almesberger
a4eeb43963
fw/sweep.c (set_line): export line setting (output on LEDs) function
2012-07-01 10:24:18 -03:00
Werner Almesberger
69d9013a0d
fw/image.c (localize_line): export line format conversion function
2012-07-01 10:20:33 -03:00
Werner Almesberger
6fac517d48
fw/: move secrets to secret.c; rename reset secret to maintenance secret
2012-07-01 10:08:50 -03:00
Werner Almesberger
1a8bfd4684
doc/BOM-ME: BOM for mechanical parts, with examples from www.easy.com.ar
2012-07-01 02:17:37 -03:00
Werner Almesberger
fbe0767eb4
tools/ant-txt/: new utility to compose texts for Antorcha
2012-06-30 14:58:25 -03:00