1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 13:22:48 +02:00
Commit Graph

30 Commits

Author SHA1 Message Date
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