Bootloader of AVR chip for my DIYuino

Dear Guys,

I am cloning a ArduinoUnoR3 right now and I ran into countless issues while figuring out the non-hardware part.

First, post a picture of the hardware that I am working on:

  1. Windows7 64bits

  2. STK500v2(I changed the file in Arduino to ISP500v2) http://www.sparkfun.com/products/8702

  3. ArduinoUnoR3 and my self-built one.

http://www.facebook.com/photo.php?fbid= … =1&theater

Progress:

  1. I soldered all the parts, no bridge no open circuit.(checked for a long time)

  2. I replaceed the blank atmega328 with a pre-programmed one (I pulled the one from a working arduino-uno), and it blinked while powered by the USB which means that basically related circuits work all right.

  3. I used Flip 3.4.5 to upload the hex file to the atmega16u2

  4. I used ArduinoIDE to burn the bootloader using ISP to the atmega328.

Problem:

  1. After all of that, I still can’t upload code to my own arduino and

it said “avrdude: stk500_getsync(): not in sync: resp=0x00” in ArduinoIDE 1.0

  1. I tried to use AVR studio6.0 and i can’t find the atmega328 in the device list, why?

This is my first time posting question here in Arduino and let me know if I did anything wrong.

Appreciate any help. smiley-cool

Updated:

Right now, I figured out how to use AVR studio 6 to upload hex file to the Flash or EEPROM of atmega328p and atmega16u2.

Since there are so many files in the hardware folder of Arduino. I really got confused. If any of you has done this before, could you please help me fill in the question below:

A-Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3

B-Arduino-usbserial-atmega16u2-Uno-Rev3

C-Arduino-usbserial-uno

D-UNO-dfu_and_usbserial_combined

E-ATmegaBOOT

F-ATmegaBOOT_168_atmega328

G-ATmegaBOOT_168_atmega328_bt

H-optiboot_atmega328

I - FLASH

II - EEPROM

I should upload ____ to the ____ of Atmega16u2, after that upload _____ to the _____ of Atmega328p.

thanks a lot!

Nice PCB.

Put a known-good AVR chip with bootloader known-good. And known-correct fuse settings for oscillator mode/freq.

If that doesn’t work, suspect artwork boo-boo.