Hi Folks,
I'm struggling with two boards using a 328P. I have to mention that another 8 are working nicely. I can't get the bootloader on the chip of these two boards. Yes, I had some problems during bring-up and the attempts to install the bootloader. I'm pretty sure now that all connections (MISO, MOSI, SCK, Reset ) are okay, they are checked with a continuity tester. Operation voltage is fine. Trying to install the bootloader using an Uno board I get the well described:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override this check.
Double checked it with a command line command:
avrdude -P /dev/ttyACM1 -b 19200 -c avrisp -p m328p -v -F
avrdude: Version 5.11.1, compiled on Oct 30 2011 at 10:41:10
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg WunschSystem wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/axel/.avrduderc"
User configuration file does not exist or is not a regular file, skippingUsing Port : /dev/ttyACM1
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 20 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 0x00Programmer 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 usavrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OKavrdude done. Thank you.
So everything points to not being in contact with the target 328P. Could I actually have the 328P bricked by trying to install the bootloader with an erroneous hardware (e.g. issuing a HW reset during programming)? Other ideas?
Thanks in advance.
- Tuxuser