Source: use usbasp for Uno burn write bootloader atmega16u2, atmega328p firmware burn -in tutorial
Arduino board Because the operation does not cause the firmware damage, or want to update the firmware? Today I would like to introduce you how to use usbasp Burn write bootloader. Personally, this method is more convenient and less expensive than using TINYISP. First of all, make sure there is a usbasp downloader on the hand, a treasure on a search a lot of, the following to Tsrobot compatible UNO board, respectively introduced MEGA16U2 firmware and mega328p firmware burning write. driver installation for ______________________________________________________________________ Downloader:
after inserting the usbasp into your computer's USB interface, you are prompted to locate the hardware and install it as shown below. <ignore_js_op>
image 1.png (220.78 KB, downloads:)
Download attachments to albums
2013-5-12 14:22 Upload
Select "Install from list or specified location" <ignore_js_op>
image 2.png (342.5 KB, download number: 3)
Download attachments to albums
2013-5-12 14:22 Upload
Select drive path: <ignore_js_op>
image 4.png (342.46 KB, download number: 3)
Download attachments to albums
2013-5-12 14:22 Upload
Click Next, install Complete: <ignore_js_op>
image 5.png (271.17 KB, download number: 4)
Download attachments to albums
2013-5-12 14:22 Upload
after successful installation, see in Hardware Device Manager: <ignore_js_op>
image 3.png (294.51 KB, download number: 3)
Download attachments to albums
2013-5-12 14:22 Upload
describes the installation function, the downloader can be used normally. ★ ★ Sell online usbasp is usually 10P interface (Atmel Blue version of the standard ISP interface), and Arduino uses a 6P interface, so you can buy a 10p-6p conversion interface, or directly with the DuPont line one by one connection, note that the power does not answer the line. Here we use the following adapter: <ignore_js_op>
10-6p.jpg (45.26 KB, download number: 3)
Download attachments to albums
2013-6-7 20:11 Upload
———————————————————————————————————————————————————————— mega16u2 firmware burning: for example, plugging the "on" light on the device board will illuminate: <ignore_js_op>
usbasp2.jpg (141.8 KB, download number: 5)
Download attachments to albums
2013-6-7 20:13 Upload
to open the supporting Progisp software, the following steps are as follows: <ignore_js_op>
usbasp2.jpg (92.11 KB, download number: 3)
Download attachments to albums
2013-5-12 14:22 Upload
The third step of the fuse bit configuration section is as follows: <ignore_js_op>
usbasp3.jpg (116.25 KB, download number: 6)
Download attachments to albums
2013-5-12 14:22 Upload
★ Note that the fuse bit configuration after a certain point to write, verify that the fuse bit is not correctly written, you can read the point after writing, to see if the same as write! Fourth Step into flash, firmware in the Arduino IDE root directory, such as: <ignore_js_op>
usbasp4.jpg (53.59 KB, download number: 4)
Download attachments to albums
2013-5-12 14:22 Upload
The fifth step of the automatic, waiting for a moment to download the complete, then you can plug in the USB cable, the computer can be recognized.
Burn Write mega328p bootloader: For example, the "on" light on the device board will be lit: <ignore_js_op>
usbasp3.jpg (156.89 KB, download number: 2)
Download attachments to albums
2013-6-7 20:15 Upload
the chip model needs to be changed to atmega328p. as follows: <ignore_js_op>
image 6.png (45.62 KB, download number: 3)
Download attachments to albums
2013-5-12 14:41 Upload
The fuse bits of all Arduino chips can be found in this file: <ignore_js_op>
image 8.png (67.74 KB, download number: 5)
Download attachments to albums
2013-5-12 14:41 Upload
Open with Notepad and find the fuse bit configuration description for Uno: <ignore_js_op>
image 9.png (143.48 KB, download number: 3)
Download attachments to albums
2013-5-12 14:41 Upload
the following fuse bit configuration: <ignore_js_op>
image 7.png (72.02 KB, download number: 5)
Download attachments to albums
2013-5-12 14:41 Upload
★ Note that the fuse bit configuration after a certain point to write, verify that the fuse bit is not correctly written, you can read the point after writing, to see if the same as write! Fourth Step into flash, such as: <ignore_js_op>
image 10.jpg (37.69 KB, download number: 6)
Download attachments to albums
2013-5-12 14:52 Upload
Finally click the last step of the automatic, waiting for the program to download the complete.
Use usbasp to write bootloader tutorials for the Arduino burn