The Story So Far…

AVRFuses
March 14, 2008 2:14 pm [32 Comments]

Free AVR fuse programmer for Mac OS X by Jason von Nieda


AVRFuses is a simple fuse programmer for the AVR series of microcontrollers from Atmel. It is written to mimic the look, feel and utility of the AVR Studio fuse programmer.

The primary useful feature of AVRFuses is that it lets you intelligently select which fuses to set just like in AVRStudio. You don’t need to know bit numbers or have the data sheet handy like in most other programmers. It does this by using the exact same part configurations as AVR Studio does. AVR Studio is free from Atmel, but it only works in Windows. This program was written to bring some of it’s functionality to Mac OS X.

AVRFuses is now Open Source! Check it out at https://github.com/vonnieda/AVRFuses

Download Latest Version

AVRFuses_1.4.8.zip version 1.4.8 for Mac OS X

Previous Version

AVRFuses was originally written in C#.NET so that it could run under Mac OS X and Linux using Mono as well as Windows. Due to the slow development of Mono I decided to abandon this effort and rewrite it as a Mac OS X only Cocoa application. You can still download the old version below if you’d like to use it in Linux or Windows. If you are using Mac OS X I recommend you download the latest version above.

AVRFuses.exe version 0.5.0.0 for .NET

This version supports avrdude for reading and writing fuses. Make sure
you fill in the properties on the avrdude tab before using Read or Program.

32 Responses to “AVRFuses”

  1. Howey Says:

    hi Jason

    Thanks for spending time to create AVRFuses.

    I have been trying to keep minimal changes to the Makefile created by AVRStudio4 so that my work on the Mac will be seamless when used back on the PC. AVRStudio Makefile generates EEPROM hex files with ‘eep’ extension, and your current version of AVRFuses doesn’t allow selection of such files; I have to make that amendment either by renaming or editing Makefile for every project.

    How about this minor inclusion in the next version?

    I am hoping to have some time to develop tools on Mac OS X as well…

    Thanx.

    “Howey”

  2. Aaron Says:

    Is AVRFuses open source?

  3. Henky Says:

    Great utility!!! Very usefull for beginners like me. Thanks.

  4. Daniele Says:

    Absolutely astounding, AVRfuses was suggested to me at exactly the right moment: I wanted to make an ATmega8 run off an external crystal and I was quite worried about getting the fuses right, as I have already locked myself out of a tiny2313 in the past by accidentally disabling /RESET. This made it a breeze.
    Thank you very much!

  5. Mike Says:

    This is fantastic – thanks so much!
    Please keep up the excellent work, and develop this further!

  6. Aakash Says:

    I get the error “avrdude” config file not found…in the path to avrdude i just type “avrdude”…im using MacPack on leopard and avrdude works fine through the command line

    whats wrong?

  7. Simon Says:

    Hi,

    cool program. but I have a problem with the fuses of an atmega644. I can read the fuses and write the exact same fuses back. But if i change something (for example deactivaiong JTAG) I get the following error:
    avrdude: verification error, first mismatch at byte 0×000
    0xd9=!0×99
    avrdude: verification error; content mismatch
    FAILED

    any idea?

  8. Josh Says:

    Hello,

    Does AVRFuses work with AVRMacPack?
    I have installed AVRMacPack on my MacBook and entered the installation location for AVRMacPack as the “Path to avrdude”.
    The following output message appears:

    Loading avrdude config …
    SUCCESS
    FAILED

    Any suggestions?

    Thanks

  9. Stan Says:

    Hi Jason,

    Thanks for this little program, I find it really useful! I have found it while looking for replacement for FUSE calculator, when my favourite web was down:

    http://www.engbedded.com/cgi-bin/fc.cgi/

    Development suggestion: I see you have little output window down at the bottom. It would be really nice if you can display the actual avrdude command executed. This would enhance value of this program in two ways – 1) to get an idea what command is issued 2) educate people how to use avrdude command properly (as sometimes it’s little tricky)

    I have also discovered one issue: When selecting a slower baud rate i.e. 4800 in the Preferences, all operations always fails. When using command line (-B 4800) it works fine.

  10. Well, AVRFuses did work with AVRMacPack for me, just that you have to set the right path for avrdude which is a hidden file.
    I went to the applications folder, where shortcut to AVRMacPack manual was located and right clicked it to show the original file. Avrdude was lying someone there.
    For more details, you can visit :
    http://kshdeo.blogspot.com/2009/03/avr-fuse-programmer-for-mac.html

  11. Dave Cole Says:

    Jason:

    Could you modify the Fuses window so that it scrolls horizontally as well as vertically? I’d like to be able to read all of the information off the right-hand side of the window.

    Thanks.

    \dmc

  12. Jim Schimpf Says:

    Thanks a lot for the program, helped me mess with fuses on some AVR’s it’s way easier than messing with avrdude. Also thanks for outputting the command line that is very useful to see what is happening.

    And another request (don’t you just love it…). Would it be possible to specify where the avrdude.conf file is located ?

    Very useful program and thanks for putting in the effort.

    –jim

  13. E. Schulze Says:

    Hi,
    this is a wonderful tool.
    Using AVRFuses.exe version 0.5.0.0 for .NET
    I recognized that no ATmega328p support is available,
    although avrdude is prepared for this chip.
    Because the m328p is now very popular,
    it would help many people if could include support for
    this.
    Kind regards
    Ekkehard

  14. Daniel Says:

    Great Program! Looks nice and works like a charm on my mac!

    Daniel

  15. red Says:

    what’s the function of ‘read’ button? what is this button’s behavior? (I’m a fist-timer so I am bit afraid of spoiling my uc)

  16. mick Says:

    Welcome
    There is a floating “display fuses” button in this program.
    Can you fix and update?

    Best regards
    Michal Przybyl

    By the way – very usefull program

  17. Alex Says:

    Hello Jason,

    I bought ” 51 AVR ISP Programmer ” from eBay, but when I typed ” ls / dev ”

    in the terminal, the new device was not found. In my system settings for

    usb port, the new device is called ” XWUSBASP ” and made by ” XWOPEN “.

    Can you please support my programmer, please.

  18. c0d3z3r0 Says:

    Hello!

    AVR Fuses is a great program! Thank you very much!
    But I have one problem. The Fuses texts are not shown completely and appear truncated. Could you please fix this? That would be really great!

    Best regards

  19. Cardoso Says:

    Just tried it on a mac to deactivate the external crystal for the internal one in my Arduino.

    Works like a charm, although I did struggle to understand that I had to double-click to select the fuse I wanted. Still, great program. :)

  20. Support for attiny4313 would be nice. Or can I add support myself?

  21. Ali Naderi Says:

    I just want to thanks to you!
    thank you.

  22. xythobuz Says:

    Hi, thanks for your great work! Just a little feedback for the new Update (V 1.4.7): Resize the Window while in the Fuses Tab and the “Low”, “High” and “Extended” Labels stay at their position instead of moving with the textfields. If you could fix that…?

  23. Peter Says:

    Hi Jason,

    dealing with a nasty problem on Mountain Lion (avrdude stopped to wark together with the avrisp MKII) I found your comment on http://avr.2057.n7.nabble.com/avrdude-slow-to-start-in-OS-X-with-AVRISP-mkII-USB-patch-included-td2164.html
    which then lead me to this page. So I want to thank you very much. The patch you mentioned there really did the trick for me to be able to use the AVRISP MKII with Mountain Lion together with libusbx and libusb-compat. Not sure if this solves the root cause, but as a work-around it did the job.

    I also like AVRFuse. Especially the Fuse part. Even I’m familiar with bits and bytes, it is always a good Idea to have a guided way to change those critical bits :-)

  24. Alain Says:

    Hi,
    I installed AVRfuses 1.4.6 on a mac running OS X 10.7.5 (11G3), as soon as I launch AVRfuses, the application quites.
    Is AVRfuses compatible with Mac OS X Lion ?

    Best Regards

    Al

  25. Mike Says:

    Hi, Jason!

    I’m having problems getting AVRFuses working on 10.8.5 with a plain installation of CrossPack. ‘avrdude’ is version 5.11.1, and it’s at /usr/local/CrossPack-AVR/bin/avrdude. When AVRFuses comes up and displays the panel to select the programmer preferences, the programmer pull down is empty.

    I make a symlink to avrdude in /usr/local/bin, but that didn’t help.

    I looked for any hard-coded paths in your executable, but didn’t see any, so… I’m trying to figure out what’s so different on this system from yours.

    Any clues?

    Thanks!

  26. Mike Says:

    Jason fixed my problem by pointing me to AVRFuses 1.4.7, which works great. Thanks, Jason!

  27. Berry Says:

    Hi Jason
    can you tell me how mike’s problem fixed?
    I’m having problem same like Mike.

  28. Stefan Says:

    I really appreciate the programm. Eclipse avr plugin failed on my mac. This tool flashed the hex file. Thanks a lot!

  29. Hi Jason
    I just love AVRfuses : it’s so helpful to me
    Just 1 little wish : I would like to copy the commands displayed in the bottom window but I cannot
    could you make them copy-able ?
    Many thanks

  30. Guglielmo Says:

    Hi Jason,
    very useful program. Thanks. Please, can you add, in the FUSE page, also the LOCKBIT fuses ?

    Thanks a lot !!! :)

  31. Stefan Says:

    Hi Friends,

    I got the failure “loading AVR config” FAILURE
    Where is the avrdude located on Mac OS X?

    Thanks, Stefan

  32. Lorant Says:

    Hello!

    Thank You, it works fine with my Atmega 128A. Only one short remark is that i have to select the Atmega128 option even for my 128A also otherwise it does not work. It was a little bit confusing for the first time but nevertheless it’s a “must have” tool for the AVR programmers under OSX.

    Regards,
    Lóránt

Leave a Reply

Spam protection by WP Captcha-Free