NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » Replacing the MCU - Initialising the bootloader
July 20, 2010 by pjack ![]() |
Hello, It took me a while to find out how to do this, despite all the good threads out there, none of them were able to sum it up like I would have liked, hence I write this thread. The hardware I used, I got from european suppliers, but they also ship worldwide. The subject of acquiring a new Microcontroller (ATmega168 - 20PU) and replacing it with the one you received with your nerd kit, because you believe it to be broken will require a bit of work and cash. You will need an ISP Programmer. I used this one mySmartUSB light for a price of 14.95€ which enabled me to burn the bootloader on the microcontroller directly via a usb connection. And evidently a new ATmega168-PU which you can get from most electronic suppliers online for about 6€ Here are the steps I followed.
This image may help... and so may this one... If in doubt look at this thread or the technical page of the ISP Programmer. Also, crystal and capacitor can stay in place. I should have taken a photo of the whole set up, but I guess you will see that on your own.
After that.. you are back in the world of nerdkits. I hope this thread will be of use to some people. It would have been for me. Good luck! |
---|
Please log in to post a reply.
Did you know that you can aim and fire a servo-controlled water gun from your computer? Learn more...
|