使用Arduino Nano燒錄ATtiny13A韌體備忘

參考
https://blog.csdn.net/sadanubis2008/article/details/105984422
(此篇提到一個重點,Arduino Nano本身要變成編碼器時,Programmer參數要改成AVR) ISP)
https://forum.arduino.cc/t/solved-arduinoisp-avrdude-on-linux/330626/18?u=flight1976 (若出現avrdude: stk500_disable(): unknown response=0x12錯誤時,使用此篇把serial port佔用方式可解決)

硬體
Arduino Nano x 1
ATtiny13A x1
麵包板及線材數條

先將Arduino Nano內的韌體改為ArduinoISP
操作方式為載入ArduinoISP source code (File -> Examples-> 11.ArduinoISP->ArduinoISP)


版子改成Arduino Nano (Tools->Board->Arduino AVR Boards -> Arduino Nano)
Programmer改成AVR ISP (Tools->Programmer->AVR ISP)
燒錄Arduino Nano本身的韌體

依照參考資料內的接線把Arduino Nano與ATtiny13A完成接線

重點是ATtiny13A燒錄前,Programer參數要改成Arduino as ISP(MicroCore)

Facebook Comments Box