Hello everyone ... It been a while I'm trying to bootload 2 micro controllers ATMEGA328P-PU but unsuccessfully ... I have no electronic issue because I've disconnected & reconnected the whole system more than 10 times but still I have the exact same error ... I've seen all topics and tried everything but I still have the same following error, can you please help me ? :
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/adamboukhssimi/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodem1411
Using Programmer : stk500v1
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 :
Error while burning bootloader.
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Zero response means no connection to the target. It can caused by several reasons: bad wiring, USB cable, incorrect port or configuration...
The hint is in the log: "Double check connections and try again...", but do not obey the second part of it "use -F to override".
This could be potentially another problem: "User configuration file does not exist or is not a regular file, skipping".
No, a different file will still get you the same error message. You need to find out why the device isn't responding or is responding with 0x0000f0.
Check the wire, did you get the pin 1 from correct corner of the IC chip? Is all the wires good? Is the USB cable good? Is the reset pin not locked to ground by accident? Is the GND and VCC wiring correct? If you used external power and not USB power, make sure GND from both are connected.
Hi !
I have exactly the same problem, and I managed to solve it very simply : by removing a capacitor from the quartz. Incomprehensible, but it works!
(however, the length of the wires adds capacity, and the value of the quartz capacities is very small (22pF), so this can maybe have consequences...and I saw that you used long cables to connect your quartz)
Hoping that it helped you !
Korentin >> I'm so grateful and thankful to you dude, it's exactly the solution, I have no explanation (and wires can't add capacity because the global capacity of C1 and C2 in serie is C1*C2/(C1+C2) so it's smaller) but it finally worked, I tested my chip by importing a program into it (blink) and it works just fine, THANK YOU ALL GUYS !
I just had to remove the 2x22pF between quartz and gnd ... It works !!
That makes sense. Short bits of wire adds capacitance to the signal and combined with 22pF the total value ended up higher and rendered the clock useless in the end. I wouldn't have caught this since I usually have mine much closer to the chip. Maybe make a tiny PCB board with 2 angled pin header at 0.1" spacing and a jumper wire to connect to ground? Since not all chips have convenient ground pin next to the xtal pin. ATTiny84 for example, if one wished to use external clock, those pins are next to VCC and the nearest GND pin is on other side of the chip.