Follow-up Comment #4, bug #17487 (project avrdude):
I just submitted a patch to allow avrdude to read and write at arbitrary
memory locations. You simply specify a block length (in bytes) followed by
the byte offset in the hex file then finally the byte offset in flash or
eeprom.
Here's a command line example:
avrdude -cstk500v2 -B4 -pm16 -P/dev/ttyS0 -v -e -Uflash:w:main.hex:i,10,0,6
this will write 10 bytes from byte offset 0 in main.hex to byte offset 6 in
flash
values can be in decimal or hex, and all are optional (will default to zero).
Values must be multiples of two since the AVR memory is arranged in 16-bit
words.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?17487>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev