Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ avrdude -c usbasp -p atmega168p -v -U lfuse:w:0xE2:m -U hfuse:w:0xDD:m -U efuse:w:0x05:m -U lock:w:0x0F:m
- avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55
- Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
- Copyright (c) 2007-2014 Joerg Wunsch
- System wide configuration file is "/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf"
- User configuration file is "~/.avrduderc"
- User configuration file does not exist or is not a regular file, skipping
- Using Port : usb
- Using Programmer : usbasp
- AVR Part : ATmega168P
- 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 512 4 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 : 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 instructions
- Reading | ################################################## | 100% 0.00s
- avrdude: Device signature = 0x1e940b
- avrdude: safemode: lfuse reads as E2
- avrdude: safemode: hfuse reads as DD
- avrdude: safemode: efuse reads as 5
- avrdude: reading input file "0xE2"
- avrdude: writing lfuse (1 bytes):
- Writing | ################################################## | 100% 0.00s
- avrdude: 1 bytes of lfuse written
- avrdude: verifying lfuse memory against 0xE2:
- avrdude: load data lfuse data from input file 0xE2:
- avrdude: input file 0xE2 contains 1 bytes
- avrdude: reading on-chip lfuse data:
- Reading | ################################################## | 100% 0.00s
- avrdude: verifying ...
- avrdude: 1 bytes of lfuse verified
- avrdude: reading input file "0xDD"
- avrdude: writing hfuse (1 bytes):
- Writing | ################################################## | 100% 0.00s
- avrdude: 1 bytes of hfuse written
- avrdude: verifying hfuse memory against 0xDD:
- avrdude: load data hfuse data from input file 0xDD:
- avrdude: input file 0xDD contains 1 bytes
- avrdude: reading on-chip hfuse data:
- Reading | ################################################## | 100% 0.00s
- avrdude: verifying ...
- avrdude: 1 bytes of hfuse verified
- avrdude: reading input file "0x05"
- avrdude: writing efuse (1 bytes):
- Writing | ################################################## | 100% 0.00s
- avrdude: 1 bytes of efuse written
- avrdude: verifying efuse memory against 0x05:
- avrdude: load data efuse data from input file 0x05:
- avrdude: input file 0x05 contains 1 bytes
- avrdude: reading on-chip efuse data:
- Reading | ################################################## | 100% 0.00s
- avrdude: verifying ...
- avrdude: 1 bytes of efuse verified
- avrdude: reading input file "0x0F"
- avrdude: writing lock (1 bytes):
- Writing | ################################################## | 100% 0.00s
- avrdude: 1 bytes of lock written
- avrdude: verifying lock memory against 0x0F:
- avrdude: load data lock data from input file 0x0F:
- avrdude: input file 0x0F contains 1 bytes
- avrdude: reading on-chip lock data:
- Reading | ################################################## | 100% 0.00s
- avrdude: verifying ...
- avrdude: 1 bytes of lock verified
- avrdude: safemode: lfuse reads as E2
- avrdude: safemode: hfuse reads as DD
- avrdude: safemode: efuse reads as 5
- avrdude: safemode: Fuses OK (E:05, H:DD, L:E2)
- avrdude done. Thank you.
- $ avrdude -v -patmega168p -cusbasp -Pusb -e -Uflash:w:youyue858d.cpp.hex
- avrdude: Version 6.1, compiled on Mar 23 2014 at 04:42:55
- Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
- Copyright (c) 2007-2014 Joerg Wunsch
- System wide configuration file is "/usr/local/Cellar/avrdude/6.1/etc/avrdude.conf"
- User configuration file is "~/.avrduderc"
- User configuration file does not exist or is not a regular file, skipping
- Using Port : usb
- Using Programmer : usbasp
- AVR Part : ATmega168P
- 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 512 4 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 : 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 instructions
- Reading | ################################################## | 100% 0.00s
- avrdude: Device signature = 0x1e940b
- avrdude: safemode: lfuse reads as E2
- avrdude: safemode: hfuse reads as DD
- avrdude: safemode: efuse reads as 5
- 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 "youyue858d.cpp.hex"
- avrdude: input file youyue858d.cpp.hex auto detected as Intel Hex
- avrdude: writing flash (5558 bytes):
- Writing | ################################################## | 100% 3.78s
- avrdude: 5558 bytes of flash written
- avrdude: verifying flash memory against youyue858d.cpp.hex:
- avrdude: load data flash data from input file youyue858d.cpp.hex:
- avrdude: input file youyue858d.cpp.hex auto detected as Intel Hex
- avrdude: input file youyue858d.cpp.hex contains 5558 bytes
- avrdude: reading on-chip flash data:
- Reading | ################################################## | 100% 3.28s
- avrdude: verifying ...
- avrdude: 5558 bytes of flash verified
- avrdude: safemode: lfuse reads as E2
- avrdude: safemode: hfuse reads as DD
- avrdude: safemode: efuse reads as 5
- avrdude: safemode: Fuses OK (E:05, H:DD, L:E2)
- avrdude done. Thank you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement