avr-chat
[Top][All Lists]
Advanced

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

[avr-chat] please help me using avrdude


From: André Kjellstrup
Subject: [avr-chat] please help me using avrdude
Date: Mon, 29 Oct 2012 15:24:27 +0100

I did program some 162 microcontrollers a year ago using a cheap usbASP clone from ebay.
Today, I fail to read out fuses, or program a new firmware using the same hardware.
I thought there was something wrong with USBASP , so I bought another one, and still fail to read/program both working, and blank Atmel 162 controller.

The major difference the last year, may be my Linux - maybe avrdude is updated ?
no matter what I try to do, I get "avrdude: error: programm enable: target doesn't answer. 1 "

regarding the "avrdude: auto set sck period (because given equals null)"  I's always been there, and it worked before.
I cannot upgrade teh usbASP , because the cheap clones use OTP controller.


address@hidden:~$ sudo avrdude -p m162 -c usbasp -P usb -U lfuse:r:-:i -v

avrdude: Version 5.11.1, compiled on Oct 30 2011 at 10:41:10
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

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

         Using Port                    : usb
         Using Programmer              : usbasp
         AVR Part                      : ATMEGA162
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         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
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   128    0 yes     16384  128    128  4500  4500 0xff 0xff
           eeprom        65    20     4    0 no        512    4      0  9000  9000 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           lock           0     0     0    0 no          1    0      0 16000 16000 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

         Programmer Type : usbasp
         Description     : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

address@hidden:~$

Regards
André

reply via email to

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