0
\$\begingroup\$

I cant communicate with the Atmega328p. I've flashed fuses low: 0x59, high: 0xD9 and changed wiring. Now I've connected 16Mhz crystal to the XTAL1, XTAL2 pins, and 2x22pF to the crystal. But I can't read/write from/to the chip. How can I recover my avr? Is it possible?

My chip is Atmega328p.

\$\endgroup\$
2
  • \$\begingroup\$ Have you tried the lowest baudrate for programming? \$\endgroup\$ – ChThy Nov 15 '14 at 17:48
  • \$\begingroup\$ Yes. But this does not fix the problem. \$\endgroup\$ – Edward Nov 15 '14 at 22:16
0
\$\begingroup\$

I found the problem. Problem was with fuses. Mentioned fuse settings require a 8Mhz crystal, not 16. So I've attachd external 8Mhz crystal, then changed fuses to use with 16Mhz.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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