I have an ATMEGA328-PU (no “P”, the non-pico power chip) in an Arduino Uno R3 board.
Using this command:
** **~> avrdude -p atmega328 -c arduino -P /dev/ttyACM0 -v** **
I get this error message:
** **avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = [color=red]0x1e950f[/color] (probably m328p) avrdude: Expected signature for ATmega328 is 1E 95 14** **
However, looking at the same chip on the same board via the ISP connector:
** **~> avrdude -p atmega328 -c avrispmkII -v** **
It correctly confirms the signature:
** **avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = [color=red]0x1e9514[/color] (probably m328)** **
How can this be? Why does the AVRISP mkII read correctly and the arduino programmer not?
Is the arduino programmer actually reading the chip? Or is it just assuming that there is an ATMEGA328P in the socket!!
Regards, Martin