C:\1avrdude>avrdude -c usbasp -p m2560
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x1e9801
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\avrdude>avrdude -c usbasp -p m2560 -B 10 -U flash:w:atmega2560.hex
C:\1avrdude>avrdude -c usbasp -p m2560 -B 10 -U flash:w:atmega2560.hex
avrdude: set SCK frequency to 93750 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x1e9801
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: set SCK frequency to 93750 Hz
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: reading input file "atmega2560.hex"
avrdude: input file atmega2560.hex auto detected as Intel Hex
avrdude: writing flash (256458 bytes):
Writing | ################################################## | 100% 119.06s
avrdude: 256458 bytes of flash written
avrdude: verifying flash memory against atmega2560.hex:
avrdude: load data flash data from input file atmega2560.hex:
avrdude: input file atmega2560.hex auto detected as Intel Hex
avrdude: input file atmega2560.hex contains 256458 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 67.17s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1e000
0xff != 0x0d
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\1avrdude>avrdude -c usbasp -p m2560 -U flash:w:atmega2560.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.08s
avrdude: Device signature = 0x1e9801
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: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: reading input file "atmega2560.hex"
avrdude: input file atmega2560.hex auto detected as Intel Hex
avrdude: writing flash (256458 bytes):
Writing | ################################################## | 100% 1988.30s
avrdude: 256458 bytes of flash written
avrdude: verifying flash memory against atmega2560.hex:
avrdude: load data flash data from input file atmega2560.hex:
avrdude: input file atmega2560.hex auto detected as Intel Hex
avrdude: input file atmega2560.hex contains 256458 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1542.89s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1e000
0xff != 0x0d
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
C:\1avrdude>
avrdude.exe: stk500_2_ReceiveMessage(): timeout
avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "E:\Downloads\arduino-1.0.5-r2\hardware/tools/avr/etc/avrdude.conf"
Using Port : usb
Using Programmer : usbasp
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc
avrdude done. Thank you.