avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] New -U option for AVRDUDE


From: E. Weddington
Subject: [avrdude-dev] New -U option for AVRDUDE
Date: Wed, 03 Sep 2003 10:03:36 -0600

Brian wrote:
-------------------
Thus, to update the flash, eeprom, high fuse, low fuse, and extended
fuse on an ATmega128, one could do the following:

        avrdude -p m128 -e -U flash:w:diag.hex:i     \
                           -U eeprom:w:eeprom.hex:i  \
                           -U efuse:w:0xfd:m         \
                           -U hfuse:w:0x99:m         \
                           -U lfuse:w:0xe1:m

The backslash is the command line continuation character in Unix.

Operations are performed in the order in which they are encountered on
the command line.  All other options such as -e, etc, are performed
before the first -U sequence.  If verify in in effect, all "write"
operations result in a subsequent verify.  Alternately, once can
disable verify using -V and request a specific verify operation by
using a 'v' operation of -U, i.e.:
-------------------

I was just noticing that this wonderful example wasn't in the manual. 

Also, I couldn't find anything about programming fuses (like in the example 
above). The manual on the memtype switch -m didn't have any description of 
the valid names for the fuse "memory types".

Eric




reply via email to

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