Arduino Rev 2. Atmega328 - USB2Serial - Bootloader

Hi all,

Like many I recently bought two atmega328 without bootloaders. All I have is an arduino ethernet shield, a usb2serial adapter, and an arduino rev2, is it possible to burn the bootloader with any of this items? Maybe through the usb2serial or ethernet shields icsp.

I would really appreciate some help. I have tried many solutions proposed by arduino, but none of them had worked. I still get this message:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

If you could provide step to step instructions it would really get me started.

I also have the pickit2 programmer from microchip, but cant find anythin in the internet with clear instructions on how to use it with the atmega328.

thanks again for any help

You could do it with a solderless breadboard, wire the blank chips to the SPI pins: D10 to blank chip reset, D11 to D11, D12 to D12, D13 to D13, power, gnd, and run the Optiloader sketch on the Uno. https://github.com/WestfW/

Thanks crossroads,

I havent checked carfeylly the optiboatloader but it seems it uses an arduino to program the atmel328,, does it mean i have to leave an atmega328 at the arduino board and a second one on a breadboard? is this why you stated d10 to d10, etc...

Would this work with the minimal connection showed here at the bottom of the page?: http://arduino.cc/en/Tutorial/ArduinoToBreadboard

thanks again

Yes and yes. See the video at the bottom of this link.
http://arduino.cc/forum/index.php/topic,68183.0.html

thanks Crossroads, it has worked like a charm with no crystal at all. I have now uploaded some sketches. I let it you know if it worked for sure.

Cool.