ライトエラーなんですよ、リードは出来てる、バッファが足らないとかかな??
comori-no-Mac:opt4 comopy$ avrdude -v -v -pattiny861 -cstk500v1 -P/dev/tty.usbmodemfd511 -b115200 -D -Uflash:w:/var/folders/T0/T0F7DaABGbOac1GerBT-Ek+++TI/-Tmp-/build5421813569867049204.tmp/Blink.cpp.hex:i
avrdude: Version 5.4-arduino, compiled on Oct 9 2007 at 11:20:31
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/Users/comopy/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbmodemfd511
Using Programmer : stk500v1
Overriding Baud Rate : 115200
AVR Part : ATTINY861
Chip Erase delay : 4000 us
PAGEL : PB3
BS2 : PB2
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 10 4 0 no 512 4 128 4000 4000 0xff 0xff
flash 65 6 64 0 yes 8192 64 128 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
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
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 3
Firmware Version: 3.3
Vtarget : 0.3 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e930d
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: reading input file "/var/folders/T0/T0F7DaABGbOac1GerBT-Ek+++TI/-Tmp-/build5421813569867049204.tmp/Blink.cpp.hex"
avrdude: writing flash (1074 bytes):
Writing | | 0% 0.00s
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x00
Writing | ################################################## | 100% 1.14s
avrdude: failed to write flash memory, rc=-4
avrdude: stk500_cmd(): programmer is out of sync
comori-no-Mac:opt4 comopy$ avrdude -v -v -pattiny861 -cstk500v1 -P/dev/tty.usbmodemfd511 -b115200 -D -Uflash:w:/var/folders/T0/T0F7DaABGbOac1GerBT-Ek+++TI/-Tmp-/build5421813569867049204.tmp/Blink.cpp.hex:i
avrdude: Version 5.4-arduino, compiled on Oct 9 2007 at 11:20:31
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/Users/comopy/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbmodemfd511
Using Programmer : stk500v1
Overriding Baud Rate : 115200
AVR Part : ATTINY861
Chip Erase delay : 4000 us
PAGEL : PB3
BS2 : PB2
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 10 4 0 no 512 4 128 4000 4000 0xff 0xff
flash 65 6 64 0 yes 8192 64 128 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
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
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 3
Firmware Version: 3.3
Vtarget : 0.3 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e930d
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: reading input file "/var/folders/T0/T0F7DaABGbOac1GerBT-Ek+++TI/-Tmp-/build5421813569867049204.tmp/Blink.cpp.hex"
avrdude: writing flash (1074 bytes):
Writing | | 0% 0.00s
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x00
Writing | ################################################## | 100% 1.14s
avrdude: failed to write flash memory, rc=-4
avrdude: stk500_cmd(): programmer is out of sync
見事に書き込み失敗してるなーー
どこだろう・・
コメント
コメントを投稿