1
\$\begingroup\$

I think I bricked two ATmega328Ps when I was trying to burn new bootloaders using Arduino Pro Mini, the USBasp programmer and the Extreme Burner AVR software. I had two ATMega328p with bad booloaders and I intended burn the correct bootloader to the chips.

First I connected the USBasp programmer to my Arduino Pro Mini equipped with an ATmega328P. I verified that communication was good as I could read and write to EEPROM. All was excellent.

I was using the following fuses:

LOW Fuse Byte=0x62
High Fuse Byte=0xD9
Extended=0xFF 
Lock = 0xFF
Calibration = 0xFFFF FF8A

Then the following happened:

  1. I killed the 1st chip when I only pressed button ERASE CHIP on the programmer.

  2. I killed the 2nd chip when I wrote the following fuses to it:

LOW Fuse Byte=0xFF
High Fuse Byte=0xDA
Extended=0xFD 
Lock Fuse = 0xCF

In both cases I had the following error message:

Cannot Communication with chip
Power On failed

avrdude output similar messages:

RC=-1. No answer...
(avrdude -c usbasp -p m328p -U lfuse:w:0x62:m -U hfuse:w:0xd9:m -U efuse:w:0xff:m )

How can I solve this problem?

How can I reset all the fuses to factory default to make the chips respond again?

\$\endgroup\$
  • \$\begingroup\$ Welcome to EE.SE, Sergey! If you don't get any good answers here, try posting your question at Arduino StackExchange. \$\endgroup\$ – Ricardo Jun 25 '14 at 12:22
  • \$\begingroup\$ Makes sense. Either way: how does the Pro Mini come into play in this setup? Do you mean you are trying to burn a bootloader on the ATMegas that are mounted on the Pro Mini boards? \$\endgroup\$ – RJR Jun 25 '14 at 12:26
1
\$\begingroup\$

If I understand you correctly, these are standalone chips?

The fuse values you set have the chips clocked by an external oscillator. Either set up a crystal on a breadboard, or just generate a clock with a PWM signal from your Arduino Pro Mini (in the latter case, you may want to limit your programming speed).

| improve this answer | |
\$\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.