arduinoでAruduinoISPを使用してbootloaderを書き込み時に下記のエラーが出たので,その内容を調べたときのメモです。
Yikes! Invalid device signature. |
arduino.ccのトラブルシューティングに、以下の情報あります。
Why do I get errors about an invalid device signature when trying to upload a sketch? If you get an error like: avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check. it can mean one of two things. Either you have the wrong board selected from the Tools > Board menu or you're not using the right version of avrdude. Arduino uses a slightly modified version of avrdude to upload sketches to the Arduino board. The standard version queries for the board's device signature in a way not understood by the bootloader, resulting in this error. Make sure you're using the version of avrdude that comes with Arduino. |
http://arduino.cc/en/Guide/troubleshooting より
大体以下のような感じの意味です。
Tools > Boardのメニューで正しいボードが選択されていないか、avrdudeのバージョンが間違っているときに発生します。avrdudeですが、Arduinoはスケッチをアップロードするのに、ちょっと改造されているバージョンのものを使用してます。
標準版(未改造版)のavrdudeだと、Aruduinoのブートローだ載ったチップのdevice signatureを正しく認識してくれないので、このエラーが出た時は、Arduino用のavrdudeを使っているか確認するとよいです。
Arduino用avrdudeのソースはこちら。
http://svn.berlios.de/wsvn/arduino/avrdude-5.4-arduino/#_avrdude-5.4-arduino_
バイナリは、下記ページでダウンロードできる開発環境zipを展開すると、中に入ってます。
http://arduino.cc/en/Main/Software
関連記事
コメントを残す