Re: Programming all fuse and lock bits, as well as Flash and EEPROM
Jason Kyle <[email protected]> Wed, 16 Jul 2003 19:15:17 +1200
| Newsgroups | gmane.comp.hardware.avr.general |
|---|---|
| Message-ID | <[email protected]> |
At 13:11 16/07/2003 +1000, Erik Christiansen wrote: >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.) See http://savannah.nongnu.org/projects/uisp/ , it can program all the lock/fuse bits. You can of course add the fuse/lock bit programming to the command line along with FLASH/EEPROM programming so all is achieved in one session. Best Regards, Jason Kyle > 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