further in the arduino IDE i have selected the board as -Arduino Duemilanove or Nano w/ ATmega328. i am able to upload the AVRISP sketch on to the arduino board... further when i try to burn bootloader on to my atmega 168 chip i get the error message
" avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Double check chip, or use -F to override this check. ". how do i go about this?
OK .. as said i have added a 120 ohm resistor between the reset pin and the 5 v supply.. i have selected the board as atmega nano/atmega 328... i uploaded the avrisp sketch. then i selected my board as - arduino diceimela ,Nano w /Atmega 168, and
selected burn bootloader>arduino as isp.
i get the following error message
" avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x11
avrdude: stk500_cmd(): programmer is out of sync "
as said i have added a 120 ohm resistor between the reset pin and the 5 v supply.. i have selected the board as atmega nano/atmega 328... i uploaded the avrisp sketch
Wrong order. Ensure the 120 ohm resistor is not connected. Select the board you will use as a programmer. Upload the ArduinoISP sketch. Connect the 120 ohm resistor between +5V and RESET. The board will now function as a programmer.
In addition, you will be well served by connecting an LED (with series resistor) to pin 9. A "heartbeat" should be present.
the signature of my atmega 328 ( which is on my main arduino board) is 0x1e 0x95 0x0F.. and the signature of my atmega 168 ( the one to be bootloaded is 0x1e 0x94 0x0b .
the error message shows up
"avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Double check chip, or use -F to override this check."
ok .. i have selected my board as Arduino Duemilanove w/ atmega328. uploaded the avrisp sketch. (Done uploading).
then i connect the 120 ohm resistor between the reset and 5v pins. then i go to burn bootloader..to boot-load my atmega168 chip. it shows -
"avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check."
the signature of my atmega 168 ( the one to be bootloaded is 0x1e 0x94 0x0b .
the error message shows up: "avrdude: Expected signature for ATMEGA328P is 1E 95 0F
If you're trying to burn a bootloader in a 168, and you're getting an error message that it's "expecting" a 328 signature, that means you didn't select the right "board" in the boards menu before you clicked the "burn bootloader" button.
The sequence should be: select "nano with 328", upload Arduino ISP, disable auto-reset, connect 168 board or chip, select (one of) the 168-based boards, "burn bootloader."
Hello, I am also trying to bootload into the Atmega 168 A-PU , and I get the invalid device signature error. How did you get over that error? Please help.