Avrdude + burning an empty ATMEGA328P-PU + Usbasp
1. I tried to read the chip and check it:
avrdude -c usbasp -p m328p
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.
2. After some googling I decided just burn it:
avrdude -c usbasp -p m328p -U flash:w:TransistorTester.hex -U eeprom:w:TransistorTester.eep -v
avrdude: Version 5.11-Patch#7610, compiled on Aug 31 2011 at 08:02:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg WunschSystem wide configuration file is “avrdude.conf”
Using Port : lpt1
Using Programmer : usbasp
AVR Part : ATMEGA328P
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 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 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 0x00Programmer 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: AVR device initialized and ready to accept instructionsReading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as 7
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: reading input file “TransistorTester.hex”
avrdude: input file TransistorTester.hex auto detected as Intel Hex
avrdude: writing flash (23828 bytes):Writing | ################################################## | 100% 20.72s
avrdude: 23828 bytes of flash written
avrdude: verifying flash memory against TransistorTester.hex:
avrdude: load data flash data from input file TransistorTester.hex:
avrdude: input file TransistorTester.hex auto detected as Intel Hex
avrdude: input file TransistorTester.hex contains 23828 bytes
avrdude: reading on-chip flash data:Reading | ################################################## | 100% 15.51s
avrdude: verifying …
avrdude: 23828 bytes of flash verified
avrdude: reading input file “TransistorTester.eep”
avrdude: input file TransistorTester.eep auto detected as Intel Hex
avrdude: writing eeprom (14 bytes):Writing | ################################################## | 100% 0.17s
avrdude: 14 bytes of eeprom written
avrdude: verifying eeprom memory against TransistorTester.eep:
avrdude: load data eeprom data from input file TransistorTester.eep:
avrdude: input file TransistorTester.eep auto detected as Intel Hex
avrdude: input file TransistorTester.eep contains 14 bytes
avrdude: reading on-chip eeprom data:Reading | ################################################## | 100% 0.01s
avrdude: verifying …
avrdude: 14 bytes of eeprom verifiedavrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as 7
avrdude: safemode: Fuses OKavrdude done. Thank you.
Done!
Events + Scheduler + Email when someone is connected via RDP Exchange 2010 + Converting into VM
Comments are currently closed.