Difference between revisions of "AVR Drivers"

1,002 bytes added ,  09:29, 19 June 2013
no edit summary
(add link to Modifying BLF-VLD)
Line 23: Line 23:


'''Clip alternative:''' You may be able to get by without a clip, by soldering leads to the chip temporarily. BLF user HID45 soldered pins only to the corner legs of the chip which is way easier than trying to solder adjacent legs, and then manually holds leads on the other two legs while someone else runs the computer. There's a picture [http://budgetlightforum.com/node/799?page=6#comment-37959 here].
'''Clip alternative:''' You may be able to get by without a clip, by soldering leads to the chip temporarily. BLF user HID45 soldered pins only to the corner legs of the chip which is way easier than trying to solder adjacent legs, and then manually holds leads on the other two legs while someone else runs the computer. There's a picture [http://budgetlightforum.com/node/799?page=6#comment-37959 here].
'''DIY clip:''' There is also an option to make the clip yourself from spare parts if you have the time, tools and precision. Translated version with a custom PCB provided. [http://budgetlightforum.com/node/18776 How to build a SOIC programming clip.]


===Software===
===Software===


You need some kind of software to interface with the USB programmer to read or load programs into the Atmel chip.
You need some kind of software to interface with the USB programmer to read or load programs into the Atmel chip.
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.


You may also need to install a driver for the USBasp.
You may also need to install a driver for the USBasp. I've used the cheap eBay USBasp (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 or AVR Studio.  
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 or AVR Studio.  
confirmed
36

edits