I am trying to program a new ATMega328 chip by plugging it into an Arduino Uno board in place of the existing chip of the same type, but I find that, although the replacement chip successfully runs the default test program (ie, it flashes the LED), it does not responds to downloads from the Arduino Environment.
In more detail:
- The Uno board (Farnell #2075382) is Rev 3. It faultlessly accepts downloads from the Arduino IDE (running under Windows 7) when it has its original chip in place.
- The spec for the replacement chip (Farnell #1848694) states that it is preprogrammed with a Uno bootloader.
- The original chip and the replacement one are both marked ATMega328P-PU (but they do have different numbers tagged on: the original chip has “1230”, the replacment one “1201”).
- The default program on the original chip flashes the LED about once a second indefinitely; the replacement chip flashes it 4 times at about the same rate, then stops.
- The Arduino IDE fails to download sketches when the replacement chip is in place. (Specifically, avrdude reports “avrdude: stk500_getsync(): not in sync: resp=0x00”.)
It looks as if there may be some incompatibility between the bootloader in the replacement chip and either the Arduino board or the current Arduino IDE. Does anyone have any suggestions?