Hi folks,
I have an Arduino Uno R3 SMD edition that I'm trying to program with another Arduino Uno. I can successfully program another Arduino Uno SMD with this setup as well as stand-alone atmega238p's, so I know my process is good and the programmer Uno is good. Here's my process:
- Upload ArduinoISP sketch to the programmer Uno and hookup proper wires to the target board
- Compile arduino blink sketch and get hex file to easy access location
- in Windows 7 command prompt in same folder as Blink.hex run:
avrdude -P COM5 -b 19200 -c avrisp -p m328p -v -e -U flash:w:Blink.hex
When I plug in this specific target board directly to USB to program it, it is not recognized and doesn't even pop up as a COM port. When I hook it up to the programmer-arduino and run step (3) I get:
avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\WinAVR-20100110
\bin\avrdude.conf"
Using Port : COM5
Using Programmer : avrisp
Overriding Baud Rate : 19200
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
eeprom 65 5 4 0 no 1024 4 0 3600
3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500
4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500
4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500
4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500
4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500
4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0
0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
Programmer Type : STK500
Description : Atmel AVR ISP
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.07s
avrdude.exe: Device signature = 0xffffff
avrdude.exe: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.
Most notably the last few lines stating " ...Yikes! Invalid device signature..." This same target board does not show up on USB in windows (stated before), as other boards do. This board may have had an over-voltage input on the 5v pin to the tune of 12v, sometime in it's life.
What do you think causes this error message? Could it be a fried atmega328 SMD chip or the USB to serial controller? By not getting success when the atmega328 is programmed directly makes me believe it may be friend and replaceable. Other voltage readings from the regulators and other parts compare positively to my working boards. Thoughts?