Programming all fuse and lock bits, as well as Flash and EEPROM

Erik Christiansen <[email protected]> Wed, 16 Jul 2003 13:11:53 +1000
Newsgroups gmane.comp.hardware.avr.general
Message-ID <[email protected]>
G'day,

   Does anyone know what is a good linux-hosted way to fully
   program/fuse/lock the range of AVR microcontrollers? (Looked through
   the archives, finding only one related post.)

   A sufficient hardware component seems to present itself, if I
   correctly interpret Atmel's STK500.pdf:
>>>
   The STK500 supports all Programming modes of all AVR microcontrollers in the
sockets as well as ISP Programming of external target systems.
   ...
   The Flash, EEPROM, and all Fuse and Lock Bit options can be programmed
individually or with the sequential automatic programming option.
<<<

   But the avrdude manpage states:
>>>
   Avrdude supports Atmel's STK500 programmer as well as a simple
   hard-wired programmer connected directly to a ppi(4) parallel port.
   ...
   Avrdude can program the EEPROM and flash ROM memory cells of
   supported AVR parts.  Where supported by the serial instruction
   set, fuse bits and lock bits can be programmed as well.
<<<

   A good deal of documentation points out that serial programming
   cannot set all of the fuse and lock bits on various AVR products.

   What do avrdude users do when it's time to play with the increasing
   complement of "fuse" bits in recent AVR offerings? (Do all the AVR
   fuse and lock bits live in the "hfuse" and "lfuse" bytes that appear
   in the avrdude html "Terminal Mode Examples"?)

   Is there perhaps a more complete solution that should be considered?

Regards,
Erik