2012/01/16 16:21:59
電池つながない:認識はされてるようだが通信できない模様.
C:\Documents and Settings\n\My Documents\default>avrdude -c usbtiny -B 1 -pm328p
-U flash:w:bar.hex
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
電池つなぐ:そもそも認識されない
C:\Documents and Settings\n\My Documents\default>avrdude -c usbtiny -B 1 -pm328p
-U flash:w:bar.hex
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
2012/01/23
動いた!! 回路が間違ってることに気づいたがそれを直しても動かず.コマンドの-Bっていうオプションを外したら動いたよ!
にはつけると速くなるからつけろと書いてあるんだけど,これのせいでどれだけ悩まされたことか!
C:\Documents and Settings\n\My Documents\default>avrdude -c usbtiny -pm328p -U f
lash:w:bar.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e950f
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: reading input file "bar.hex"
avrdude: input file bar.hex auto detected as Intel Hex
avrdude: writing flash (182 bytes):
Writing | ################################################## | 100% 0.13s
avrdude: 182 bytes of flash written
avrdude: verifying flash memory against bar.hex:
avrdude: load data flash data from input file bar.hex:
avrdude: input file bar.hex auto detected as Intel Hex
avrdude: input file bar.hex contains 182 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.11s
avrdude: verifying ...
avrdude: 182 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
最終更新:2012年01月23日 18:09