Werner Almesberger
a11670bb7b
tornado/fw/sim/alg.c: accept data from standard input; fix "process"
2012-12-09 16:56:32 -03:00
Werner Almesberger
95cfa9202c
tornado/fw/sim/alg.c: take duration of simulation from command line
2012-12-09 16:33:12 -03:00
Werner Almesberger
07e0df0d6a
tornado/fw/sim/alg.c: separate data processing from sample generation
2012-12-09 16:29:00 -03:00
Werner Almesberger
4d09658036
tornado/fw/ben/ben.c: accept optional byte address argument
2012-12-05 13:25:25 -03:00
Werner Almesberger
3c343536b1
tornado/fw/mmc.[ch]: read/write address is not in sectors, just call it "addr"
2012-12-05 13:23:54 -03:00
Werner Almesberger
59b53f6e89
tornado/fw/mmc.c: print R1 response when running on Ben
2012-12-05 13:22:36 -03:00
Werner Almesberger
e2172b4eef
tornado/fw/ben/ben.c (main): use getopt
2012-12-05 13:01:13 -03:00
Werner Almesberger
cb324a81fc
tornado/fw/ben.c: new option -w to write to a sector
2012-12-05 12:56:51 -03:00
Werner Almesberger
0703611bbd
tornado/fw/mmc.c (mmc_wait): add 1 ms delay to wait loop
...
MMC-SPI specifies a card delay of up to 100 ms, which is easier to match
with an explicit delay than with a loop count.
2012-12-05 11:34:31 -03:00
Werner Almesberger
d2f569fbf2
tornado/fw/: apply platform separation by include also to io.h
2012-12-05 11:32:41 -03:00
Werner Almesberger
557a80c3c6
tornado/fw/: handle platform separation for delay function via include path
...
... and not via #ifdef
2012-12-05 11:30:50 -03:00
Werner Almesberger
c7ed8fbc4a
tornado/fw/Makefile (CFLAGS): don't -I../../ben-wpan/atusb/fw/include/
2012-12-05 11:28:52 -03:00
Werner Almesberger
f82f7c34bc
tornado/fw/mmc.c (mmc_wait): return success or failure (timeout)
2012-12-05 11:01:36 -03:00
Werner Almesberger
9bf1f83597
tornado/fw/mmc.c: call mmc_recv for low-level I/O, not mmc_read
2012-12-05 10:59:54 -03:00
Werner Almesberger
d5a4ffe139
tornado/fw/mmc-hw.c (mmc_recv): make sure to send 0xff when receiving
2012-12-05 10:58:26 -03:00
Werner Almesberger
c9e36f90a2
tornado/fw/mmc-hw.c (mmc_activate): allow card to "pre-charge" (Ben needs this)
2012-12-05 10:35:27 -03:00
Werner Almesberger
f449308cc5
tornado/fw/ben/Makefile: compile static binary and un-phony "ben"
2012-12-05 10:27:28 -03:00
Werner Almesberger
1e29171a26
tornado/fw/ben/: add cross-platform testing with the Ben (untested)
2012-12-04 22:39:38 -03:00
Werner Almesberger
4064698884
tornado/fw/mmc-hw.c: complete hardware driver (untested)
2012-12-04 11:56:56 -03:00
Werner Almesberger
a1c7a948d2
tornado/fw/: add MMC driver (WIP, based on Mass Storage for V-USB by "lleeloo")
2012-12-04 10:52:15 -03:00
Werner Almesberger
f3c22bc6ab
tornado/fw/: display test text on positive zero crossing
2012-12-04 07:28:55 -03:00
Werner Almesberger
c6bef66427
tornado/fw/led.[ch]: add led_show_pgm to display row from Flash
2012-12-04 07:27:49 -03:00
Werner Almesberger
2161eec066
tornado/fw/txt: xbm2tornado to create #include-able tornado binary; -g for t
2012-12-04 07:27:15 -03:00
Werner Almesberger
a5694eba05
tornado/fw/txt/: tools for text conversion
...
txt2xbm: convert text to XBM, using ghostscript
stretch: resample XBM with rotation correction (x-axis only)
xbm2gp: convert XBM to gnuplot, taking into account rotation
plot: plot xbm2gp output
t: run all the above to display "TEST"
2012-12-04 00:56:36 -03:00
Werner Almesberger
6ccdd5255a
tornado/fw/tornado.c: add test mode indicating positive zero-crossing
...
Works sometimes but often produces false zero-crossings, particularly
if there are many chain "jumps".
2012-12-03 21:55:21 -03:00
Werner Almesberger
bc00a4d979
tornado/fw/sim/: crude simulation of sensor behaviour and signal processing
2012-12-03 21:23:46 -03:00
Werner Almesberger
8c868198ed
tornado/fw/: acceleration sensor "driver"
2012-12-03 21:23:02 -03:00
Werner Almesberger
7b766ed93c
tornado/: use UART in SPI mode to send LED patterns (at 4 Mbps)
2012-11-23 19:28:38 -03:00
Werner Almesberger
bef7d5debf
tornado/doc/geom.fig: geometry as seen by the acceleration sensor
2012-11-23 12:34:52 -03:00
Werner Almesberger
936aa81114
tornado/doc/README: describe some technical parameters
2012-11-23 11:41:39 -03:00
Werner Almesberger
a2d224ba92
tornado/README: (very) brief introduction
2012-11-23 11:41:03 -03:00
Werner Almesberger
76a58d6434
tornado/doc/mech.fpd: increase length of bottom part of stick from 5 cm to 12 cm
2012-11-23 11:07:19 -03:00
Werner Almesberger
9447541679
tornado/fw/tornado.c: use LED_* to communicate with LED bar; update demo
...
Instead of a counter, which worked okay with 16 LEDs but is useless with
all 64 of them, we now show a filling/emptying bar. The update speed is
high enough that rotation results in about a quarter-circle pattern.
2012-11-23 10:47:41 -03:00
Werner Almesberger
53b2df2683
tornado/led/led.brd: change label from "WHIRL" to "TORNADO"
2012-11-19 12:31:51 -03:00
Werner Almesberger
6a8fd6cc9f
rename "whirl" to "tornado"
2012-11-19 12:30:57 -03:00
Werner Almesberger
08e7c6bb11
whirl/doc/mech.fpd: mechanical structure (placement of boards on stick)
2012-11-19 12:28:24 -03:00
Werner Almesberger
9a4fd0f524
whirl/fw/: design testing: acceleration sensor
...
Switch selects display move: N = counter, E = WE axis; S = NS axis; SW = hold
2012-11-17 16:44:47 -03:00
Werner Almesberger
fd3494004e
whirl/fw/: move test code from boot.c to whirl.c and make prog-app work
2012-11-17 16:13:14 -03:00
Werner Almesberger
08b06adbf9
fw/avrdude-antorcha.conf: move to common/ and share with whirl/fw/
2012-11-17 16:08:23 -03:00
Werner Almesberger
d8663289dc
whirl/fw/: firmware for design testing: LED bar, 8:10 card, "joystick"
2012-11-17 15:39:18 -03:00
Werner Almesberger
a5befafb90
whirl/fw/: skeleton test firmware (doesn't do anything useful yet)
2012-11-16 19:23:01 -03:00
Werner Almesberger
404211cea3
fw/pcb/: Makefile and mkmk for PCB making (forgot to add them)
2012-11-07 17:54:59 -03:00
Werner Almesberger
1516e41387
whirl/cpu/: flip CON2 (to LEDs) and increase width of power traces
...
For 2 A we need a trace width of about 0.4 mm, not 0.3 mm.
2012-11-06 15:08:44 -03:00
Werner Almesberger
b1457366d2
whirl/*/pcb/: add Makefiles for cutting/drilling PCBs
2012-11-06 15:06:53 -03:00
Werner Almesberger
0fad7768e8
whirl/cpu/: add CPU module for "whirl" design
2012-11-05 19:44:35 -03:00
Werner Almesberger
769e21919a
whirl/*: move to whirl/led/; also rename whirl.* to led.*
2012-11-05 09:53:15 -03:00
Werner Almesberger
00fb50daaf
whirl/whirl.brd: clean up layout; upgrade 3V3 to "Power"; fatten power vias
2012-11-04 17:57:52 -03:00
Werner Almesberger
17e14a4357
whirl/: add component values
2012-11-04 17:22:09 -03:00
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