0
\$\begingroup\$

I am using an Arduino Nano as an ISP programmer. And I want to program my Atmega328p-pu with it. I followed this tutorial: Using Arduino nano as an isp programmer

But I want to use internal 8MHz clock. So I remove the crystal and caps. (In the picture shown below )

When I use avrdude to program my chip there is a problem:

device signature = 0x000000 or 0xffffff

Sometimes it responds a wrong signature like 0x0000ff. Can someone help me solve this problem?

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

But I want to use internal 8MHz clock. So I remove crystal ,caps. (In picture shown below )

Apart from removing caps you should also be changing the fuses for selecting the internal clock source and disabling the clock/8 fuse


Try to select a lower baud rate in avrdude, That might help as well

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.