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.
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 :
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.