1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-12-23 16:51:08 +02:00
Commit Graph

20 Commits

Author SHA1 Message Date
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
19fb0d31fa fw/: add DIAG protocol (supply voltage measurement, for diagnostics) 2012-07-01 10:43:37 -03:00
Werner Almesberger
b4c855f25a revert nonsensical c9923b4282
That's why sleep deprivation is a bad thing ...
2012-06-28 16:35:01 -03:00
Werner Almesberger
c9923b4282 fw/antorcha.c (main): allow a new sweep to preempt an active sweep
Waiting until the current sweep finished could delay the next sweep
(without cancelling it), confusing the timing.
2012-06-28 01:33:31 -03:00
Werner Almesberger
0a0792688b fw/: add parameter upload (untested), move parameters from antorcha.c to param.c 2012-06-27 02:36:08 -03:00
Werner Almesberger
308c094af2 fw/: rearrange parameters and move defaults from antorcha.c to proto.h 2012-06-27 02:15:50 -03:00
Werner Almesberger
cb846be507 fw/antorcha.c: add backward sweep 2012-06-25 11:37:16 -03:00
Werner Almesberger
00180fb287 try cleaner sweep synchronization algorithm
The predictive part doesn't produce useful results so far, so we still
use a fixed offset from the trigger.
2012-06-25 10:48:19 -03:00
Werner Almesberger
023c2aa1e9 fw/: base sweep start time on absolute time
This way, we can define the next sweep while the previous one is still
in progress.
2012-06-24 11:59:52 -03:00
Werner Almesberger
695bc5a25a fw/: reduce image width from 100 to 80 square pixels
To achieve square 100 pixels (1:6.25 image aspect ratio), very vigorous
movement is needed. 80 pixels (still 1:5) are easier. Initial estimates
suggested a usable range of 1:4-1:5, so this is still good.

Note that we may want to change the aspect ratio of the pixels themselves
in the future (for smoother letters), so the pixel count may go up again.

80 pixels correspond to 11 characters in a 7x5 font with 2 pixels
separation between characters. We may want to go up to 82 pixels
to allow a 12th character - or use a proportional font.
2012-06-23 21:57:18 -03:00
Werner Almesberger
7816ea89d5 fw/antorcha.c: crude synchronization of image with movement
Doesn't look too bad for a first try.
2012-06-23 21:53:26 -03:00
Werner Almesberger
f0e79b8dcc fw/: add acceleration sensor sample protocol (untested) 2012-06-21 12:12:10 -03:00
Werner Almesberger
eaa11b110c fw/: sample the acceleration sensor (untested) 2012-06-21 08:56:56 -03:00
Werner Almesberger
ab00d8e231 fw/antorcha.c: don't overrun image by one line in test mode 2012-06-20 16:48:16 -03:00
Werner Almesberger
9bc9c57fb2 fw/: simple image test mode (still untested) 2012-06-20 10:41:27 -03:00
Werner Almesberger
87cc67d5f7 fw/: add image data upload (completely untested) 2012-06-20 10:30:40 -03:00
Werner Almesberger
7003c9c35b fw/: added image sweep (completely untested) 2012-06-20 07:39:24 -03:00
Werner Almesberger
cc4b5607c7 RESET protocol to jump from application to boot loader without power cycling 2012-06-18 20:31:20 -03:00
Werner Almesberger
89b10939f9 make firmware upload protocol less secure but lean; boot loader works 2012-06-18 18:22:56 -03:00
Werner Almesberger
df6ceb8394 fw/: first version of experimental firmware 2012-06-16 22:16:37 -03:00