Get Adobe Flash player

USBtinyISP

User Rating:  / 0
PoorBest 

Link Articolo Originale: http://www.ladyada.net/make/usbtinyisp/download.html

 

 

Drivers

For windows, we use a modified LibUSB driver. You can download it here:

  • Windows USBtinyISP driver built with libusb v1.12. The windows binaries below are built for this driver. If you want to use the latest WinAVR use this!
  • If you are using 64 bit windows Vista or 7 (or you're just plain having annoying problems with the driver above), try the Windows 7 x64 bit driver.You'll still need to click the button taht says "install anyways" when it complains its not verified.

For historic reasons, we have a:

  • Windows USBtinyISP driver built with libusb v1.10. Use this for older WinAVR's. Dont use this unless you have to interface with old versions of software that are bound to libusb v1.1
AVRDUDE

AVRDUDE is the recommended software to use if you want to program/flash an AVR microcontroller, here are compiled binaries with the patches and USB support

  • The latest version of WinAVR has avrdude v5.5 with usbtinyisp support so just install that! (Detailed instructions are here)
    Make sure that you have the v1.12 driver installed not the v1.10 or you'll have problems. 
  • Mac OS X PPC binaries version v5.4
    Copy avrdude.conf into /usr/local/etc and avrdude into /usr/local/bin
  • Mac OS X Intel binaries version v5.4 
    Copy avrdude.conf into /usr/local/etc and avrdude into /usr/local/bin
  • Patched Source code for Mac, Linux or other unixy machines
    You can just grab avrdude 5.5 which supports usbtiny out of the box! Detailed instructions are here

To compile avrdude for your own machine, first make sure you have libusb (and libusb-dev) installed. You can use fink (on a Mac) or apt-getor download it from sourceforge. Whatever, just try to get a recent version.

Next, decompress the source code and open up a terminal window. cd to the directory and type in ./configure or sh configure and look for a line that scrolls by with something like checking for usb_get_simple_string in -lusb... yes. If you see it then libusb was properly detected.

Sometimes, for unknown reasons, libusb is installed but it is not detected. In this case, after configure is done, edit the Makefile in the same directory. 
Look for the line starting with LIBUSB = and change it to LIBUSB="-lusb" if you're on a MacOSX machine change it to LIBUSB="-lusb -framework CoreFoundation -framework IOKit" 
Next, edit ac_cfg.h and look for the line /* #undef HAVE_LIBUSB */ and underneath it add #define HAVE_LIBUSB 1

If you and then ./make and then sudo ./make install it will place avrdude in /usr/local/bin and avrdude.conf in /usr/local/etc

Files for v2.0

The latest!

This firmware is based off of the USBtiny code originally here.

  • Zip with all v2.0 firmware files (relevant files including precompiled hex file are in the spi subfolder)
    Use the precompiled .hex file and Makefiles as your compiler may not be able to squeeze the code down to fit in the chip. Modify the Makefile inspi as needed and, in the spi folder, type in "make fuse flash" Beyond that, you're on your own. 
    You must use avr-gcc v3.4.6 and avr-libc v1.4.4 as part of Winavr-20060421 to compile the firmware. Please do not post to the forums asking for help on how to compile or burn the firmware.
Files for v1.0

The board design is not single sided, but its close: you will need to solder in the 5 wires that would go on the top. I have successfully toner-transfer etched this design

This firmware is based off of the USBtiny code originally here.

v1.04 is a possible hotfix for some flakiness, you can try either one.

USBtiny500 compatibility bridge for AVR Studio

Login Form

Elettronica Open Source