avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] CRC check


From: Theodore A. Roth
Subject: Re: [avrdude-dev] CRC check
Date: Tue, 21 Oct 2003 20:55:08 -0700 (PDT)

On Wed, 22 Oct 2003, idefixx wrote:

> Hi guys!
> Thanks for your help! The combination on avrdude on srecord works great!
> I'm very happy about these useful tools. But there is one thing I'd like
> to ask for: If I create a .hex file that writes the CRC16 checksum to the
> last two addresses of the EEPROM, avrdude always rewrites the entire
> eeprom, instead of just writing to the desired two addresses. If there is
> data stored in the EEPROM that I must not overwrite, I always have to read
> the EEPROM content to a file first, insert the checksum with srecord and
> then write the file back to the EEPROM. Wouldn't it be possible to make
> avrdude to perform the programming only on the addresses given in the .hex
> file? Actually this should be possible, as the avrdude terminal mode also
> is able to program single memory bytes without changing other bytes. Or,
> if there is a special reason to always start a programming cycle from
> address 0x0000, would it be possible to enable avrdude doing single byte
> operations similar to the terminal mode, but outside the terminal mode?
> Regards.
> /idefixx

It may be possible to just write an avrdude script to drive avrdude in 
terminal mode to do what you want. Just put all the commands you need to 
issue in a file and run avrdude like this:

  $ avrdude < commands.in

Ted Roth





reply via email to

[Prev in Thread] Current Thread [Next in Thread]