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

10 Commits

Author SHA1 Message Date
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
19fb0d31fa fw/: add DIAG protocol (supply voltage measurement, for diagnostics) 2012-07-01 10:43:37 -03:00
Werner Almesberger
a859b3b8b9 fw/proto.h (TP_BWD_START_DEFAULT): raise from 50 ms to 70 ms, like TP_FWD_START_DEFAULT
Going to the longer aluminium stick changed the timing a bit.
2012-06-28 01:53:18 -03:00
Werner Almesberger
d651c23a04 fw/proto.h: assorted cleanup and corrections
- remove struct params.clkT_period
- correct size of tp_*_start
- correct size of tp_*_pix
- move MAX_LINES from image.h to proto.h (to ease sharing with tools)

Things now work a bit differently from how they were planned back when
clkT_period was added.
2012-06-27 03:07:56 -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
f0e79b8dcc fw/: add acceleration sensor sample protocol (untested) 2012-06-21 12:12:10 -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
56476539cf fw/: addition of boot loader (WIP) and assorted cleanup and improvements
The boot loader currently uses the protocol switch intended for the
application. This makes it too big to fit in the very limiting
constraints the ATmega168 poses - and there's not even cryptographic
authentication yet. We'll have to dumb it down quite a bit.
2012-06-18 10:56:43 -03:00