Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I have an ATmega328P that seems to be fried. It was in an Arduino board (Freakduino-chibi, specifically) and working when it suddenly stopped responding at all.

Investigation showed that the fault followed the chip from board to board.

Using a BusPirate, I tried to access the chip via avrdude and the ICSP header on the Arduino. No dice: avrdude failed to initialize the chip. Using the same board and a different 328P, avrdude was successful.

Any thoughts on how to possibly resurrect the broken chip?

share|improve this question
1  
have you tried banging it firmly on the side? –  vicatcu Dec 8 '10 at 18:16
    
Is it possible to set fuses in the Arduino environment? It doesn't look like the Freakduino-chibi has an external oscillator, which would be a problem if the ext. osc. fuses are set. Just put a 1MHz clock on the XTAL pin. –  tyblu Dec 9 '10 at 0:09
    
Banging it had no effect. :-( –  Peter Loron Dec 10 '10 at 8:14

3 Answers 3

up vote 5 down vote accepted

If you "fried" it by burning your fuses incorrectly, then you just need some high voltage programmer like original STK500 or similar. Otherwise buy the new AVR MEGA chip and simply replace the bad one. If you are lucky then nothing else was burnt.

share|improve this answer
1  
@Andreja: Are you sure the AVRISP mkII can do HVSP? The documentation says nothing about it and I don't see any sort of HV source on the one sitting at my desk. –  Nick T Dec 8 '10 at 14:54
    
@Nick T I'll do some more research and look for sources on that. I remember that couple years ago when I was researching AVR devices, I found info about mkII ISP doing high voltage programming, but I didn't savve the link. –  AndrejaKo Dec 8 '10 at 15:04
    
@Nick T It turns out that I confused AVRISP for some other programmer. I apologize for spreading misinformation. I did find couple of other programmers which do support HV like this or this. –  AndrejaKo Dec 8 '10 at 15:14
    
Interesting. I'll see if I can cobble together something that will do the HV programming and see if I can clear the fuses. –  Peter Loron Dec 10 '10 at 8:48

The HV Rescue Shield 2.x is a high voltage parallel mode fuse programmer for Atmel AVR microcontrollers.

alt text

If that doesn't fix it...

share|improve this answer
5  
Well, it was a bit funny once. Don't kill it. –  stevenvh Dec 8 '10 at 8:20

It's either dead or needs fuses resetting as other have said.

If you have access to an electron microscope and some impossibly thin wires or a very precise and glitchy power supply, other options are available:

http://www.cl.cam.ac.uk/~sps32/mcu_lock.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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