i2c_tiny_usb

所属分类:单片机开发
开发工具:C/C++
文件大小:207KB
下载次数:8
上传日期:2011-09-09 23:21:45
上 传 者truevoxdei
说明:  I2C tiny USB connector

文件列表:
i2c_tiny_usb (0, 2010-06-09)
i2c_tiny_usb\firmware (0, 2010-06-09)
i2c_tiny_usb\firmware\check.py (1392, 2006-11-22)
i2c_tiny_usb\firmware\checksize (777, 2006-11-09)
i2c_tiny_usb\firmware\COPYING (18008, 2006-11-09)
i2c_tiny_usb\firmware\main.c (14685, 2007-01-06)
i2c_tiny_usb\firmware\main.hex (6764, 2007-01-06)
i2c_tiny_usb\firmware\Makefile-avrusb.mega8 (2995, 2006-12-03)
i2c_tiny_usb\firmware\Makefile-avrusb.tiny45 (2612, 2006-12-03)
i2c_tiny_usb\firmware\Makefile-usbtiny.mega8 (656, 2006-12-03)
i2c_tiny_usb\firmware\Makefile-usbtiny.tiny45 (675, 2006-12-03)
i2c_tiny_usb\firmware\usbconfig.h (4898, 2007-01-05)
i2c_tiny_usb\firmware\usbdrv (0, 2010-06-09)
i2c_tiny_usb\firmware\usbdrv\Changelog.txt (3890, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\iarcompat.h (1683, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\License.txt (23595, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\oddebug.c (1131, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\oddebug.h (2902, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\oddebug.o (661, 2006-12-15)
i2c_tiny_usb\firmware\usbdrv\usbdrv.c (20364, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\usbdrv.h (20219, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\usbdrv.o (4184, 2006-12-15)
i2c_tiny_usb\firmware\usbdrv\usbdrvasm.asm (611, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\usbdrvasm.o (4876, 2006-12-15)
i2c_tiny_usb\firmware\usbdrv\usbdrvasm.S (26887, 2006-11-09)
i2c_tiny_usb\firmware\usbdrv\USBID-License.txt (6499, 2006-11-09)
i2c_tiny_usb\firmware\usbtiny (0, 2010-06-09)
i2c_tiny_usb\firmware\usbtiny\common.mk (1560, 2006-11-22)
i2c_tiny_usb\firmware\usbtiny\crc.S (2954, 2006-11-22)
i2c_tiny_usb\firmware\usbtiny\def.h (1967, 2006-11-22)
i2c_tiny_usb\firmware\usbtiny\int.S (14319, 2006-11-22)
i2c_tiny_usb\firmware\usbtiny\usb.c (10268, 2006-11-22)
i2c_tiny_usb\firmware\usbtiny\usb.h (784, 2006-11-22)
i2c_tiny_usb\firmware\usbtiny.h (3414, 2007-01-05)
i2c_tiny_usb\kernel (0, 2010-06-09)
i2c_tiny_usb\kernel\chips (0, 2010-06-09)
i2c_tiny_usb\kernel\chips\cmps03.c (7241, 2006-11-20)
... ...

i2c-tiny-usb test application - http://www.harbaum.org/till/i2c_tiny_usb ------------------------------------------------------------------------ This simple test application is meant to demonstrate libusb interfacing to the i2c-tiny-usb interface. This is no useful application, if you are only interesting in using the i2c-tiny-usb interface in your linux box please use the kernel driver. Linux ----- This demo application has been developed under and for linux. Just make sure you have libusb installed. To use this program just compile by typing "make" and run the resulting i2c_usb. Be sure that the i2c-tiny-usb kernel driver is not loaded while running the test application. Otherwise the test application will fail with the follwing error message: USB error: could not claim interface 0: Device or resource busy This is due to the fact that no two drivers may access the interface at the same time. Windows ------- This program can be compiled for windows. This has been tested under Linux using xmingw and the windows port of libusb (see http://libusb-win32.sourceforge.net). To install the driver plug the device in and install the driver from the win directory. Then run testapp/i2c_usb.exe This program may also be compiled under windows using cygwin or mingw (which is part of cygwin). In order to use cygwin simply copy usb.h win32-linusb to /cygwin/usr/include and libusb.a to /cygwin/lib and do a "make -f Makefile.cygwin". Don't forget to distribute /cygwin/bin/cygwin1.dll with your file to allow it to run in non-cygwin environments as well. No dll is required when using mingw. In that case copy usb.h to /cygwin/usr/include/mingw and libusb.a to /cygwin/lib/mingw. Finally do a "make -f Makefile.mingw". MacOS X ------- The program can be compiled under MacOS as well. The fink version of linusb has to be installed and a simple "make -f Makefile.macos" will build the native MacOS X version.

近期下载者

相关文件


收藏者