Hello. I am trying to program a new atmega238 chip.
I've got an Arduino Decimilia board and and an Arduino mega. I replaced the decimilia's chip with the new atmega328, written the program ArduinoISP from the examples. I selected "Arduino as ISP" in programmer, and selected Arduino Duemilanove with Atmega328 as board.
The connections are like in the tutorial:
http://arduino.cc/en/Tutorial/ArduinoISPWhen I lounchs "burn bootloader" from the menu, the response is
avrdude: stk500_recv(): programmer is not respondingI tried this from Linux and From Windows. To use the arduino as programmer under Linux I added a 10uF capacitor between reset and gnd pin to avoid resetting when the port is openned.
May be the Arduino ISP program does not work correctly in a the Arduino Mega (Atmega 1280)? Any ideas on how to find the problem?
Edit: I connected the heartbeat led and it does not blink. Then, I decided to use the decimilia as programmer, but connecting the new chip in a breadboard.
With the decimilia the heartbeat does blink OK. But When I try to burn the bootloader I receive this error:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.