Wow. 

Well, we can take a stab at it ... is there any documentation that would
walk us through the steps of making a new programmer? As in - copy the
stk500v2 file, change one line in a grammar file, ... 

I don't want to get lost in a grammar file (never having made it to
lex/yacc in my career - lots of Perl - but missed the whole lex/yacc
experience - hardware guy ;-). 

-Gary

-----Original Message-----
From: Joerg Wunsch [mailto:[email protected]] 
Sent: Tuesday, April 28, 2009 1:50 PM
To: [email protected]
Cc: Gary Spivey
Subject: Re: [avrdude-dev] Add CRC to transfers?

As Gary Spivey wrote:

> So - we were wondering about the possibility of modifying both the
> bootloader and avrdude to do a CRC check on each and every
> element/packet that comes across the comms link BEFORE acting upon
> it.

I think that's possible, but it would require a completely new
programmer implementation, source code file, avrdude.conf grammar,
etc.  You can perhaps clone one of the existing implementations for
that.

Another option might be to use the -x option for that.  It's intended
to pass options down to the individual programmer implementation, so
you could e.g. add an option like "-x crc" to an existing programmer
(like stk500v2).

Personally, I'd prefer the first variant.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to