Low MISO voltage/Device Signature 0x000000

Hi everyone!

I recently designed a circuit around the ATMEGA328P-AU (TQFP package) and was having trouble communicating with it. I salvaged an old Arduino UNO and loaded it with the ArduinoISP sketch. Hooked up the 328P through a breadboard and went to burn the bootloader and got the error message: avrdude: Device signature = 0x000000

Looking under the scope it seems as the MISO voltage doesn't even reach 1 V.


SCK: Yellow
MOSI: Magenta
MISO: Cyan

I've tried the aforementioned UNO as my ISP and also a MEGA. I've tried multiple chips in TQFP package. I even pulled the DIP 328P off of the UNO and got the same results.

I've scoured the internet for any remedies to no avail. Any help would be greatly appreciated.

A schematic would be appreciated. My crystal ball is at the cleaners.

I hope it comes back squeaky clean!
I don't have a schematic, but I do have a wiring diagram for you.
SimpleBreadboardAVR
This is how I currently have it setup.

Hmmm. It's been a while since I did that, but it seems to me, a lot of components are missing... have you read the tutorial on making and programming a stand alone AtMega on this site?

I followed these tutorials:

As well as countless forum posts. I also did try it with the 16 MHz crystal, but I only have 10 µF caps.

Okay then let's see images of your actual wiring.


On the MEGA2560:
Pin 50: MOSI
Pin 51: MISO
Pin 52: SCK

Edit: I'm just now reading that the MEGA needs a 10 µF electrolytic cap across the reset and ground pins. I don't have one on hand so I'll have to try this at a later date. That being said, I'm not sure if this affects the MISO voltage.

No.

Even through countless double and triple checks, I still manage to make mistakes.

Correction: On the MEGA2560:
Pin 50: MISO
Pin 51: MOSI
Pin 52: SCK

I double checked my wiring to make absolutely sure I have it wired up correctly and yet I'm still receiving the same error, and same low voltage from MISO.

There is a jumper to 5V missing in the image, vs. the Fritzing you posted.

I believe I have figured out the issue. Bear with me.

With the 328P on the breadboard, it required an 8 MHz crystal to function. The issue was that I was using 10 nF caps instead of 22 pF caps like the tutorial recommended. So crystal with no caps worked fine

Going back to my main circuit board, long story short (pun intended) there was supposed to be a 10 kΩ pull-up resistor on the reset line. Turns out it was only 5.3 Ω. So the ISP couldn't drop the reset voltage.

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