使用 icsp 烧程序


使用ICSP 就是不依靠 bootloader才烧程序

http://www.arduino.cc/en/Tutorial/ArduinoISP  


6pin 的 isp 应该如下:

使用 icsp 烧程序_第1张图片



下面的文章谈到了如何upload

http://tutorial.cytron.com.my/2011/09/30/how-to-program-arduino-by-using-avr-usbasp-programmer/

1)to C:\Documents and Settings\”user”\Application Data\Arduino. Open the file preferences.txt. Find the sentence upload.using = bootloader, and change it to upload.using = usbasp.

2)open the folder of the software arduino which you have installed at the beginning. Open Folder …\hardware\arduino. Then open the text file programmers.txt and add another 2 lines at below of the last sentence in the text file:
USBasp.name=USBasp
USBasp.protocol=usbasp


淘宝有若干USBAsp, 但资料各异,且自带烧录程序,不知道对arduino有效

(反复试验,taobao上买了8.5元的东东实验成功了,上传要用 File -> upload using programmer. 直接国人开发烧录程序比如progisp也可以,先要把熔丝读出,否则发现arduino运行慢了几倍(可能是降频了))



另一篇

https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader/connecting-the-programmer

使用 icsp 烧程序_第2张图片


云台板的运用

http://bbs.5imx.com/bbs/forum.php?mod=viewthread&tid=952976&extra=page%3D1

使用 icsp 烧程序_第3张图片


arduino mini 线的接法

使用 icsp 烧程序_第4张图片



born bootloader

http://tutorial.cytron.com.my/2011/12/19/burning-arduino-bootloader-with-avr-usbasp/

你可能感兴趣的:(单片机)