avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] Eratic Mega168 behavior?


From: Bob Paddock
Subject: [avrdude-dev] Eratic Mega168 behavior?
Date: Sat, 18 Mar 2006 16:31:50 -0500
User-agent: KMail/1.8.3

I fired up a old STK500 board on my Gentoo Linux box with
a new, fresh from DigiKey, Mega168.  I am getting random
signature and fuse read failures.  Does anyone have any suggestions?

I did see the bug report about the unused efuse bits in the m168, but what
I'm seeing is happening in the other fuses and signature as well.

Clock to fast maybe?

avrdude -P /dev/ttyS1 -p m168 -c stk500 -v -v -t
avrdude: AVR device initialized and ready to accept instructions

Short spew:
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x0c9406 [Should be 0x1E9406].
avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may 
not be reliable.
avrdude: safemode: To protect your AVR the programming will be aborted

avrdude done.  Thank you.

Full spew:
avrdude: Version 5.1
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file does not exist or is not a regular file, 
skipping

         Using Port            : /dev/ttyS1
         Using Programmer      : stk500
         AVR Part              : ATMEGA168
         Chip Erase delay      : 9000 us
         PAGEL                 : PD7
         BS2                   : PC2
         RESET disposition     : dedicated
         RETRY pulse           : SCK
         serial program mode   : yes
         parallel program mode : yes
         Timeout               : 200
         StabDelay             : 100
         CmdexeDelay           : 25
         SyncLoops             : 32
         ByteDelay             : 0
         PollIndex             : 3
         PollValue             : 0x53
         Memory Detail         :

                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           eeprom         0     0     0    0 no        512    0      0  3600  
3600 0xff 0xff
           flash         65     6   128    0 yes     16384  128    128  4500  
4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  
4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  
4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  
4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  
4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0    
 0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0    
 0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500
         Hardware Version: 2
         Firmware Version: 1.14
         Vtarget         : 5.1 V
         Varef           : 5.0 V
         Oscillator      : 3.686 MHz
         SCK period      : 1.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x0c9406
avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may 
not be reliable.
avrdude: safemode: To protect your AVR the programming will be aborted

avrdude done.  Thank you.




reply via email to

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