Go Down

Topic: Messed up some fuses (Read 1 time) previous topic - next topic

Tom Carpenter

#5
Jan 04, 2013, 08:26 pm Last Edit: Jan 04, 2013, 11:29 pm by Tom Carpenter Reason: 1
Fortunately it looks like you haven't disabled SPI or the reset pin.

You have however selected 'External Clock' as the oscillator which means you cannot at the moment use a crystal.

What you need to do is remove the crystal (carefully so you can put it back on later), and feed a clock signal into XTAL1 (Pin1 of the IC). The clock will need to be say 8MHz. It may be possible to feed the clock signal in to Pin1 without removing the crystal, so you might want to try it before removing the crystal.
I have attached a picture which shows a place where you can solder a wire on to the board to get access to pin 1.

If you have a spare arduino which can still be programmed with via USB, you can use that to provide a clock signal. Alternatively you can burn new fuse settings into the Atmega328 that is on the board to output its system clock and feed that output into the 8u2.

Once you have got a clock source into the chip, you can use ISP to correct the fuse settings. I believe the correct settings for the 8u2 are:
Low = 0xFF
High = 0xD9
Extended = 0xFF (or 0xCB if you want brown out enabled)
~Tom~

tim7

You might not need to remove the on-board crystal.  I've previously been able to apply external clock signals to the 328p on an Uno without disconnecting the resonator.

Docedison

as long as the driving clock output goes to the input of the driven clock you should have no problems. Any other connection will be problematical.

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

pico


In which case the only way to recover them is to use a high voltage programmer to burn the correct fuse settings.


Being a parallel programming method, HV programming is not generally an option for an in-circuit chip, unfortunately.
WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Go Up