i2c-tiny-usb - (c) 2006 by Till Harbaum---------------------------------------http://www.harbaum.org/till/i2c_tiny_usbThe firmware code itself is distributed under the GPL, butone of the usb codes comes under a separate license. Plase seethe .txt files in usbdrv for details.The default configuration is for a attiny45. The Makefile.mega8allows to compile the device for the Atmega8 cpu. This includesthe possibility to use the atmega8 rs232 for debugging.The attiny45 has to be programmed in high voltage serialprogramming (hsvp) mode since this application needs thereset pin to be reconfigured for other use.This project supports two usb implementations: the avrusb andusbtiny. Due to this four Makefiles exist:Makefile-avrusb.tiny45 - build with avrusb for Attiny45Makefile-avrusb.mega8 - build with avrusb for Atmega8Makefile-usbtiny.tiny45 - build with usbtiny for Attiny45Makefile-usbtiny.mega8 - build with usbtiny for Atmega8Just typemake -f Makefile-avrusb.xxx programormake -f Makefile-usbtiny.xxx flashto compile and upload the file. Please adjust e.g. programmersettings in the Makefile.If you don't want to recompile the firmware yourself you mightuse the included firmware.hex which is a prebuilt binary for theattiny45. Plase make sure you adjust the fuses accordingly.They need to be set to "external crystal > 8Mhz" and the RESETpin has to be disabled in order to be re-used for applicationspecific purposes. See Makefile-avrusb.tiny45 for more details.