tag:dev.sinusoid.com,2005:/2008/06?format=atomSinudev - Technical Notes : Archives for Sinudev - Technical Notes Archives for Sinudev - Technical Notes June 2008 sinusoid technical area - microcontrollers2012-05-05T03:50:49ZTypourn:uuid:df11d156-9c41-419d-84a7-74fb76119bd12008-06-10T23:07:15Z2012-05-05T03:50:49ZmarklvitAVR fuse programmer for OS XFor anyone who works with AVR 8 bit microcontrollers, the programming software used is an important part of the development process. Atmel provides AVR Studio 4, which operates on the Windows operating system, but does not
provide an equivalent environment for other operating systems such as Linux, BSD or OS X.<p><br>
Fortunately there are several excellent open source tools available for these other operating systems such as the <a href="http://www.nongnu.org/avr-libc/user-manual/install_tools.html">GNU toolchain</a>, <a href="http://www.nongnu.org/uisp/">UISP</a>, <a href="http://savannah.nongnu.org/projects/avrdude/">AVRDUDE</a> etc.
<p>
One area that is lacking on AVRDUDE is the handling of fuses. While they can be programmed, and read back, this is a messy process and a mistake can render the processor useless for further serial In System Programming unless a parallel programmer is available. Also an adaptor may be required for the parallel programmer if it is a surface mount device, and the removal of the chip from the circuit. It is much better to get the fuses set correctly in the first place. <p>
AVR Studio does this by offering a GUI interface with check boxes for each item such as clock speed, type of oscillator, brown out detection, etc.
Now there is a useful tool for those who develop on Apple Macs that allows AVR fuses to be programmed in a GUI manner similar to the AVR Studio method - AVRFuses. <p>
<a href="http://www.vonnieda.org/software/avrfuses">AVRFuses</a> is written using the native OS X Cocoa interface. The look and behaviour of the fuses section of the program is just like same section in the AVR Studio application.
AVRFuses requires AVRDUDE to be installed to work properly as its backend, but this will usually be installed already on an OS X machine used for AVR development, or can be easily installed from Macports.
It also has a section similar to AVR Studio for reading and writing flash and EEPROM memory on the microcontroller, although this feature is probably less interesting than the fuse manipulation.
<p>
In the open source spirit, <a href="http://www.vonnieda.org/software/avrfuses">AVRFuses</a> is free of charge.<hr /><p><small>Original article writen by marklvit and published on <a href='http://dev.sinusoid.com'>Sinudev - Technical Notes</a> | <a href='http://dev.sinusoid.com/2008/06/10/avr-fuse-programmer-for-os-x'>direct link to this article</a> | If you are reading this article elsewhere than <a href='http://dev.sinusoid.com'>Sinudev - Technical Notes</a>, it has been illegally reproduced and without proper authorization.</small></p>