Screwed up my Arduino
Moderators: adafruit_support_bill, adafruit

Screwed up my Arduino

by millerg on Sat Dec 01, 2012 8:24 pm

I have an Arduino board that I screwed up when loading firmware with a cheap parallel port programmer. The USB side is fine but it is non responsive when trying to program via USB or AVRisp. I think I messed up some fuse bits. My thought is that the simplest fix would be to snip all the legs off, remove the chip and pins, then replace with a new chip.

Any other suggestions?

Can the Adafruit team supply an SMT Atmega328?

Greg
millerg
 
Posts: 14
Joined: Tue Feb 21, 2012 11:35 am

Re: Screwed up my Arduino

by westfw on Sun Dec 02, 2012 12:27 am

The most common cause of a "locked" chip is to have set the fuses for something like "external oscillator" when you actually have an external crystal; since this shuts off the chip electronics that drive the crystal, there is no working clock, and ISP programming doesn't work without a clock.

You may be able to fix this by injecting a clock to the proper pin. Adafruit's ISP Programming Shield is set up to do this, and you might get away with a simple temporarily-connected oscillator or 555 timer or something.

See http://www.avrfreaks.net/index.php?name ... c&t=106325 for more details.
User avatar
westfw
 
Posts: 1373
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area

Re: Screwed up my Arduino

by millerg on Sun Dec 02, 2012 6:27 pm

It gets even better...

The Arduino board I am trying to fix is working on the USB side and non responsive on the ATmega side. I grabbed my working Arduino and loaded the Arduino ISP sketch and it threw an error while loading. It looks like the program is running as the heartbeat LED is going on and off but I can not communicate with it. It does not even show up as a USB device on my Mac.

Now I have one Arduino board that can talk and not think, and one that can think and not talk.

Any advice would be appreciated.

Greg
millerg
 
Posts: 14
Joined: Tue Feb 21, 2012 11:35 am

Re: Screwed up my Arduino

by franklin97355 on Sun Dec 02, 2012 6:46 pm

Have you tried putting the talking and thinking parts together? Chip from one with board from the other?
User avatar
franklin97355
 
Posts: 4799
Joined: Mon Apr 21, 2008 1:33 pm

Re: Screwed up my Arduino

by millerg on Sun Dec 02, 2012 7:44 pm

franklin97355 wrote:Have you tried putting the talking and thinking parts together? Chip from one with board from the other?


One is SMD and the other is DIP.
millerg
 
Posts: 14
Joined: Tue Feb 21, 2012 11:35 am

Re: Screwed up my Arduino

by millerg on Tue Dec 11, 2012 12:43 am

Re-soldered the programming connector and every pin on the SMD ATmega328 and it is good. This was a lesson for me. I bought this from a website in china...never again. The balance of my purchases have been from Adafruit and that is where I will keep coming bacteria to.

Greg
millerg
 
Posts: 14
Joined: Tue Feb 21, 2012 11:35 am