Bootloader on Atmega168 using AVR Programmer

Hello guys,
I have build a simple AVR programmer
(AVR Programmer).

Can i use this to burn the arduino bootloader on my atmega168 chip using the arduino 0018 software itself ?

I am using Serial version of arduino...

I am pretty sure that the answer would be a "no". I think from within the IDE the programmer support is quite limited.

But you should be able to burn bootloader using avrdude though.

Is there any tutorial for the same ?

Yes - and there are even windows GUIs for that. Google/Yahoo... is your friend.

I got my Atmega168 from on of the dealer of arduino.

Now i am having some other problem...
I am facing problems in uploading the sketch...

I have the troubleshooting guide.. tried all the options provided, but still unsuccessful...

Operating System: Windows XP
Arduino Board: Serial
Controller: Atmega168

I am geeting an error which says this:

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

Please help !

Do you know for sure that you have bootloader on the chip? It looks like the PC is not communicating with the chip.

I called the dealer and asked for a solution... He replaced the chip with a new one...

But when he tried to program the chip, using my hardware, the same error appeared.

So now, i have a problem with my hardware (i think so)... Bcoz, i tested the board with the bootloader default blinking LED program on D13 and it works well but while programming the chip i get the same error....

I have used the transistor version of the Arduino Serial Board...
How can i debug my problem ?

I have used the transistor version of the Arduino Serial Board...
How can i debug my problem ?

Well you have to determine if you have a good serial link back and forth to the PC.

  1. Remove the processor chip for this test.
  2. wire a jumper from pin 0 to pin 1. This will cause a loop-back connection.
  3. Launch the Arduino IDE, select the proper comm port number.
  4. click on the Arduino serial monitor, anything you type and send in the transmit window should be echoed back into the receive window.
  5. If you don't see data coming back, time for a scope to see which direction the serial data is failing.

Lefty

  1. wire a jumper from pin 0 to pin 1. This will cause a loop-back connection.

@retrolefty
Which pins (pin 0 & pin 1) are you talking about ? I checked schematic but i could not get pin 0 and pin 1 labeled anywhere !

  1. If you don't see data coming back, time for a scope to see which direction the serial data is failing.

I will check it and let you know !

Which pins (pin 0 & pin 1) are you talking about ? I checked schematic but i could not get pin 0 and pin 1 labeled anywhere !

I'm talking about the standard Arduino pin connectors that have pin 0 and pin 1. If you do not use standard arduinon connectors then pins 2 and 3 of the processor chip.

Lefty

okay i got it now...

I ll do the said and let u know !