Can No Longer Program ATmega chip with Arduino ISP

I just looked up the Arduino pinout and connected the two ISP headers together, and put pin 10 of the programmer to reset of the target

which Arduino boards do you have?
maybe to be sure try connect both without using any of ISP header pins.

Did you ever post the schematic and pcb layout ?

I tried going direct without the ISP header, connecting D13->D13, D12->D12, D11->D11, D10->RESET, GND->GND, still no luck. One is an Arduino Nano and one is a Sparkfun Redboard (Its all I could find)

Also, I have extra atmega328p-au's straight from the factory, never touched. In theory, these would have the default fuses set right? So it should be programmable without any need for a high voltage parallel programmer? Although one of the target boards never actually got programmed successfully so I dont see how the fuses could have been set

yes, In theory


Here is the schematic for one of the two target boards, if you think the layout would be helpful, I can post a picture of both sides. But again, I did verify this design and the other one to be working not too long ago

Yes the fuses should be unless the clock-source doesn't match the physically present clock. If you have a 16MHz clock on it and the fuses are set for a different external crystal, then not. It should be on the default fuse settings 0x62 0x99 0xFF

Most would be well aware of the published schematics of Arduino.
What was requested on a couple of occasions was a detailed schematic of how you connected your components, including power supplies.

You want help but getting requested info is like getting blood out of a stone.
Anyone would think you have a NASA secret.

Your DAC might be interfering with ICSP programming; or anything else connected to the SPI interface.

I don't think it's the DAC since it used to work fine, I also have a board with nothing populated but the uC and the programming header, that doesn't work. It also doesn't explain why I can't program one Arduino with another using the ArduinoISP sketch

Sorry, I don't really understand what you're asking for. I posted the schematic of one of the boards, wasn't that what you meant? That schematic was my custom board.

If you still don't understand perhaps I should print it out once again.

Well you must be making some mistake there, if you want to dive into that, because that obviously is supposed to work.

@bluejets , @kolaha , @Deva_Rishi ... want's to see a drawing of the connections between the programmer and the Atmega.

And 5V to 5V? And the reset capacitor? And have you tried different jumpers.

Well, I think everyone here is at a loss as to how to help you. Flashing the bootloader and fuses is a process that's known to work, so something you believe to be true in your setup or procedure just isn't. But I'm still at IDE V1.8.8, so I am particularly unhelpful with anything concerning v2. I would just suggest again that you flash arduinoisp.ino to the programmer, from v2, if you haven't tried that already, in case it has been changed for v2.

Also, we can't see exactly how you've connected the programmer and target boards together, or what procedure you go through in the IDE to do the flashing. I think that's what others have been asking for, not the schematic of your board. In any case, perhaps you could tell us how we can help you at this point.

Ok I finally figured it out. I was able to program both Arduino and the target boards. Apologies, had I figured out that you were asking for the wiring diagram between the two Arduino's, this probably would have gotten resolved sooner, so sorry for the confusion there. I was making the wiring diagram, following the Arduino guide on the ISP stuff here and I noticed the 10uF reset capacitor in a different place than I had previously had it.

So without the capacitor suppressing the programmers reset signal, nothing was working. I followed a YouTube tutorial which had this capacitor on the target's reset signal which I guess was incorrect. Thanks for the help guys

Indeed it was incorrect. Glad you got it working.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.