armok01128932

所属分类:USB编程
开发工具:Visual C++
文件大小:160KB
下载次数:15
上传日期:2007-05-30 20:05:05
上 传 者01422hao
说明:  m8 usb to rs232
(sp usb to rs232 444444444444444444444444 )

文件列表:
AVR-CDC.2006-08-28\avrcdc.inf (1417, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega168i.hex (8134, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega168p.hex (8134, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega48i.hex (7876, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega48p.hex (7876, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega88i.hex (7876, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega88p.hex (7876, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\cdcmega8p.hex (7741, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\MakeFile (2087, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdcmega\usbconfig.h (10744, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdctiny\cdctiny45.hex (8371, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdctiny\cdctiny45r.hex (8375, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdctiny\cdctiny85.hex (8371, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdctiny\cdctiny85r.hex (8375, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdctiny\MakeFile (2006, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\cdctiny\usbconfig.h (10744, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\main.c (9911, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\sw-uart-asm.S (5545, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\sw-uart.c (2342, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\uart-asm.S (3049, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\uart.c (2699, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\uart.h (5141, 2006-08-28)
AVR-CDC.2006-08-28\avrcdc\usbdrv\Changelog.txt (4625, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\iarcompat.h (2099, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\License.txt (23595, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\oddebug.c (1117, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\oddebug.h (2950, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\usbconfig-prototype.h (10666, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\usbdrv.c (21817, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\usbdrv.h (23173, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\usbdrvasm.asm (553, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\usbdrvasm.S (28034, 2006-06-26)
AVR-CDC.2006-08-28\avrcdc\usbdrv\USBID-License.txt (7056, 2006-06-26)
AVR-CDC.2006-08-28\cdcmega48.pdf (9959, 2006-08-28)
AVR-CDC.2006-08-28\cdctiny45.pdf (9949, 2006-08-28)
AVR-CDC.2006-08-28\Changelog.txt (733, 2006-08-28)
AVR-CDC.2006-08-28\License.txt (19884, 2006-08-28)
AVR-CDC.2006-08-28\testreport\cdc-mega.pdf (18404, 2006-08-28)
... ...

AVR-CDC This is the Readme file to firmware-only CDC driver for Atmel AVR microcontrollers. For more information please visit http://www.recursion.jp/avrcdc/ SUMMARY ======= The AVR-CDC performs the CDC (Communication Device Class) connection over low-speed USB. It provides the virtual RS-232C interface without installing dedicated driver. The AVR-CDC is originally developed by Osamu Tamura. Akira Kitazawa has significantly contributed to improve this software. SPECIFICATION ============= AVR-CDC with USART (ATmega8, 48, 88..) speed: 1200 - 19200bps datasize: 5-8 parity: none/even/odd stopbit: 1/2 AVR-CDC without USART (ATtiny45 and 85) speed: 1200 - 4800bps datasize: 8 parity: none stopbit: 1 supply current: 8mA Without USART, some characters will be corrupted if full-duplex transaction continues long in high baud rate. Slower speed is recommended. With USART, there are times when use of the receive interrupt causes obstacle in USB communication. In that case, use polling version (cdcmega*p.hex). The actual transfer rate depends upon the terminal software strongly. On Windows, HyperTerminal sends one character at a time for every packet. Therefore, the transmission speed is one character/mSec at the maximum. Although the CDC is supported by Windows XP/2000, Mac OS X,9.1, and Linux, CDC on low-speed USB is not allowed by the USB standard. Use AVR-CDC at your own risk. USAGE ===== Build your circuit and write firmware (cdcmega*p.hex/cdctiny*.hex) into it. If you use ATmega8, omit D2 since its minimum operating voltage is higher. C1:104 means 0.1uF, R3:1K5 means 1.5K ohms. High speed version is available on ATmega48-168. Recompile with #define USE_UART_RXD_INTERRUPT in uart.h (cdcmega*i.hex). If you use another bit for USB_CFG_DMINUS_BIT, modify usbconfig.h and recompile codes. You can reverse the polarity of TXD and RXD if you need connect to RS-232C directly on non-UART version (use cdctiny45r.hex). Recompile with #define UART_CFG_INVERT 1 in uart.h. [Windows XP/2000] When you connect with a USB port first, a Driver Setup Dialog appears. Specify the folder in which "avrcdc.inf" exists, without searching automatically. Although it is warned that the driver is not certified, confirm it. It only loads Windows' built-in usbser.sys. Then, the Virtual COM port appears. [Mac OS X] You'll see the device /dev/cu.usbmodem***. [Linux] The device will be /dev/ttyACM*. Kernel 2.6 does not allow the low speed bulk transfer on UHCI host. uhci_q.c / usb_uhci.c must be modified to enable bulk transfer. DEVELOPMENT =========== This driver has been developed on AVR Studio 4.12 and WinAVR 20060421. Create new GCC project named "cdctiny" or "cdcmega" under "avrcdc/" without creating initial file. Select each Makefile at "Configuration Options". The code size of AVR-CDC is 2.8KB, and 128B RAM is required at least. Fuses RSTDISBL = 1 (ATtiny) WDTON = 1 BODLEVEL = 101 CKSEL = 1110 SUT = 11 Disabling Reset pin requires the High Voltage Serial Programming at ATtiny. USING AVR-CDC FOR FREE ====================== The AVR-CDC is published under an Open Source compliant license. See the file "License.txt" for details. You may use this driver in a form as it is. However, if you want to distribute a system with your vendor name, modify these files and recompile them; 1. Vendor String in usbconfig.h 2. COMPANY and MFGNAME strings in avrcdc.inf Osamu Tamura @ Recursion Co., Ltd. http://www.recursion.jp/avrcdc/ 26 June 2006

近期下载者

相关文件


收藏者