AVR Drivers: Difference between revisions
Jump to navigation
Jump to search
m
→Software
m (→Hardware) |
m (→Software) |
||
Line 34: | Line 34: | ||
Different operating systems will have different software available, for more info or at least some info about [http://www.ladyada.net/learn/avr/setup-mac.html Mac look here], for [http://www.ladyada.net/learn/avr/setup-unix.html Unix here]. [http://www.ladyada.net/learn/avr/setup-win.html Windows is quite straightforward.] | Different operating systems will have different software available, for more info or at least some info about [http://www.ladyada.net/learn/avr/setup-mac.html Mac look here], for [http://www.ladyada.net/learn/avr/setup-unix.html Unix here]. [http://www.ladyada.net/learn/avr/setup-win.html Windows is quite straightforward.] | ||
You will at least need AVRDUDE (AVR Downloader UploaDEr) to upload and download files to the Atmel chip. It is a command line interface (DOS). If you use Tido's programs then you don't need to compile anything: those programs are ready to be loaded. If you install WinAVR, AVRDUDE will be included. You can also install AVRDUDE separately. | You will at least need '''AVRDUDE''' (AVR Downloader UploaDEr) to upload and download files to the Atmel chip. It is a command line interface (DOS). If you use Tido's programs then you don't need to compile anything: those programs are ready to be loaded. If you install WinAVR, AVRDUDE will be included. You can also install AVRDUDE separately. | ||
Or if you do not like AVRDUDE and what something with GUI, you can try [http://extremeelectronics.co.in/avr-tutorials/gui-software-for-usbasp-based-usb-avr-programmers/ '''eXtreme Burner - AVR'''], download latest version at the bottom of the page under release. It can read/write (download/upload) and it also has the required driver for USBasp in the installation. If you only want to write a new firmware (already compiled Tido's, DrJones's, ...) this should be all you need. | |||
You may also need to install a driver for your '''USBasp'''. I've used the cheap eBay USBasp pictured above ([http://www.fischl.de/usbasp/ a Fischl clone]) and latest driver from [http://sourceforge.net/projects/libusb-win32/ '''libusb-win32''' project]. Should work on all Windows 98 and newer. The software package has a wizard application, connect your USB device, run the wizard, select your connected USBasp and the wizard will generate a driver for that devices for you. Then install the generated driver by running it's installer. | |||
' | If you want to customize Tido's programs you will need a C compiler configured to work with AVR equipment. (Some people write AVR programs in assembly language which gives more compact programs, but you are on your own if you go that route.) You have two options: WinAVR (AVR-GCC) or AVR Studio. | ||
'''WinAVR''' - [http://winavr.sourceforge.net/ WinAVR] is a free collection of all the software you need as well as a graphical user interface (GUI) to edit, compile, and load programs. [http://www.eclipse.org/downloads/ | '''[http://www.atmel.com/tools/atmelstudio.aspx Atmel Studio]''' - Atmel Studio (newer AVR studio, it's been renamed) is available free from Atmel to allow you to write and compile programs and load them. It has a neat interface for some programming boards, but not USBasp (it seems it still can't upload using USBasp without external tool like AVRDUDE), so if you are using USBasp, you will still need AVRDUDE to actually upload the files. The latest version is called Atmel Studio 6 which runs on Windows and uses MS Visual Studio Shell and .NET 4.0 (both installed automatically). | ||
'''WinAVR''' - [http://winavr.sourceforge.net/ WinAVR] is a free collection of all the software you need as well as a graphical user interface (GUI) to edit, compile, and load programs. [http://www.eclipse.org/downloads/index.php Eclipse IDE for C/C++ Developers Eclipse IDE for C/C++ Developers] is another free GUI that goes on top of WinAVR (or MHV AVR) and is what Tido uses. It requires a plug-in that allows it to work with AVR. Follow instructions [http://interactive-matter.eu/how-to/developing-software-for-the-atmel-avr-with-avr-eclipse-avr-gcc-avrdude/ here] for installing WinAVR and Eclipse with AVR Eclipse plugin. Eclipse is optional. Then configure Eclipse for AVR. There is also a [http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin Wiki] about Eclipse AVR. | |||
'''[http://www.makehackvoid.com/project/mhvavrtools MHV AVR Tools]''' - A WinAVR replacement since WinAVR development is stopped. It has newer AVRDUDE, AVR-GCC and AVR-LIBC along with other packages. It can be used in combination with AVR Eclipse or anywhere else the same way as WinAVR as an external tool like in Atmel Studio to provide AVRDUDE or compiler to the studio. | |||
As with all bundled software and drivers, they may be out of date. | |||
===BLF-VLD=== | ===BLF-VLD=== |