avatar

Kamilien1

Member Since: May 1, 2010

Country: United States

Profile

Bio

Learning the ropes to build my own sweet devices one day

Role

Consultant, researcher in energy

Websites

tedxbigapple.com

  • Tutorial - Beginning Embedded Electronics - 3 | about 2 years ago

    I need help fixing my Atmega328p!

    After completing the lab, I ran the command

    avrdude -p m168 -P lpt1 -c stk200 -U lfuse:w:0xE1:m

    and now my Atmega328p might be bricked. When I pull out and put back in the external clock, the LED goes to completely on, no blinking. When I try running ANY command, the LED goes off, and I get the following error (using -F)

    avrdude: AVR device not responding

    avrdude: initialization failed, rc=-1

    avrdude: AVR device initialized and ready to accept instructions

    avrdude: Device signature = 0x000000

    avrdude: Yikes! Invalid device signature.

    avrdude: Expected signature for ATMEGA328P is 1E 95 0F

    avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option.

    I have searched help forums, these messages, and the only thing useful I have come up with is the following thread: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=106325

    which states

    “A large proportion of the threads posted to this website are as a result of experiments with ISP and setting fuses that have gone wrong and left the chip in a state where it appears you can no longer do ISP any more. … The usual "damage” is simply that you have changed the state of the CKSEL fuse bits."

    Can anyone help me? I’ll be sure to post the solution in our forum afterward.

    Thanks!

No public wish lists :(