Go Down

Topic: How to make an Arduino-compatible minimal board (Read 5 times) previous topic - next topic


May 15, 2012, 10:14 pm Last Edit: May 15, 2012, 10:21 pm by crchisholm Reason: 1
Ok according to avrdude using -v my fuses are currently....
lfuse = 0x62
hfuse = 0xD9
efuse = 0x7  (07 I guess)

according to the simulator in AVR Studio, I need lfuse to be FF, so it seems that I should be able to use avrdude to make the changes like this...

avrdude -c usbasp -p m328p -U lfuse:w:0xff:m

I am assuming that this will change the lfuse and leave efuse and hfuse as they are.  

Does this seem to be the right direction?  
(it almost seems that I should be able to do it in AVR Studio, but don't know how to get it to recognize my usbasp)
Charlie R Chisholm

Nick Gammon

Yes that should do it.

My AVR uploader sketch, described here:


... can now be used to change fuses.


So...I do the avrdude as outlined above and the final message is an error.  I'm think "Oh crap!"  Then I realize that if it changed the fuse, it would expect the occilator and even though it communicated long enough to change the fuse, it couldn't communicate after tha to give the rest of the message.

Plugged it into the board that was running so slow and it does exactly what I wanted.

Thank you again.  I love it when a forum plan comes together.

Charlie R Chisholm


Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Nick Gammon

My recent sketches all support that chip.

The ATmega640, ATmega1280, ATmega1281, ATmega2560 and ATmega2561. Amongst others.

You can get them all in a batch from here:


Just click the Downloads button.

Go Up