C:\work>rem =========== step1===================
C:\work>avrdude -c diecimila -p t2313 -P ft0 -B 4800 -u -U
hfuse:w:0xD9:m -U lfuse:w:
0xE2:m -U efuse:w:0xFF:m
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## |
100% 0.00s
avrdude: Device signature = 0x1e910a => ATtiny2313 (t2313)
avrdude: reading input file "0xD9"
avrdude: writing hfuse (1 bytes):
Writing | ################################################## |
100% 0.02s
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xD9:
avrdude: load data hfuse data from input file 0xD9:
avrdude: input file 0xD9 contains 1 bytes
avrdude: reading on-chip hfuse data:
Reading | ################################################## |
100% 0.02s
avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xE2"
avrdude: writing lfuse (1 bytes):
Writing | ################################################## |
100% 0.02s
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 "0xFF"
avrdude: writing efuse (1 bytes):
Writing | ################################################## |
100% 0.00s
avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xFF:
avrdude: load data efuse data from input file 0xFF:
avrdude: input file 0xFF contains 1 bytes
avrdude: reading on-chip efuse data:
Reading | ################################################## |
100% 0.02s
avrdude: verifying ...
avrdude: 1 bytes of efuse verified
avrdude done. Thank you.
C:\work>rem =========== step2===================
C:\work>avrdude -c diecimila -p t2313 -P ft0 -B 38400 -u -e -U
flash:w:"C:\work\s2313
a22.hex":a
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## |
100% 0.00s
avrdude: Device signature = 0x1e910a => ATtiny2313 (t2313)
avrdude: erasing chip
avrdude: reading input file "C:\work\s2313a22.hex"
avrdude: input file C:\work\s2313a22.hex auto detected as Intel
Hex
avrdude: writing flash (2048 bytes):
Writing | ################################################## |
100% 2.63s
avrdude: 2048 bytes of flash written
avrdude: verifying flash memory against C:\work\s2313a22.hex:
avrdude: load data flash data from input file
C:\work\s2313a22.hex:
avrdude: input file C:\work\s2313a22.hex auto detected as Intel
Hex
avrdude: input file C:\work\s2313a22.hex contains 2048 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## |
100% 2.00s
avrdude: verifying ...
avrdude: 2048 bytes of flash verified
avrdude done. Thank you.
C:\work>rem =========== step3===================
C:\work>avrdude -c diecimila -p t2313 -P ft0 -B 38400 -u -U
eeprom:w:"C:\work\EEPROM.
EEP":a
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## |
100% 0.00s
avrdude: Device signature = 0x1e910a => ATtiny2313 (t2313)
avrdude: reading input file "C:\work\EEPROM.EEP"
avrdude: input file C:\work\EEPROM.EEP auto detected as Intel Hex
avrdude: writing eeprom (34 bytes):
Writing | ################################################## |
100% 0.50s
avrdude: 34 bytes of eeprom written
avrdude: verifying eeprom memory against C:\work\EEPROM.EEP:
avrdude: load data eeprom data from input file
C:\work\EEPROM.EEP:
avrdude: input file C:\work\EEPROM.EEP auto detected as Intel Hex
avrdude: input file C:\work\EEPROM.EEP contains 34 bytes
avrdude: reading on-chip eeprom data:
Reading | ################################################## |
100% 0.05s
avrdude: verifying ...
avrdude: 34 bytes of eeprom verified
avrdude done. Thank you.
C:\work>pause
続行するには何かキーを押してください . . .