|
本帖最后由 machao 于 2014-9-27 17:14 编辑
根据德国人的USB-ISP制作的AVR下载线,其上位机下载使用官方的AVRSTUDIO平台。驱动是用MAG8接USB口,模拟一个串口工作的。开始的驱动是FOR XP的,现在都是WIN7了。
原来提供的一个FOR WIN7(2008年的)的驱动,可是很多人反映安装还是有问题。我到http://www.recursion.jp/avrcdc/lowbulk.html看了一下,下载了一个新板的驱动(2010年的),适合XP、WIN7版。提供大家使用。
该驱动在我女儿的手提上测试通过(win7旗舰版,AVRSTUDIO 4.18),在我的XP环境下也通过。
注意,使用这个驱动,如果是XP系统,必须升级到SP3。也就是 XP+SP3。(微软从XP+SP3开始,更新了USB的低层协议,所以原来for xp的驱动不能用了,具体可到http://www.recursion.jp/avrcdc/lowbulk.html理解更多的技术细节)
实在不行的话,可在淘宝上购买免驱动的USB-ISP下载线,但官方AVRSTUDIO平台是不支持下载的,必须安装使用另外专用的上位机下载软件(德国人的开源项目,一些人在该基础上进行改动,换掉了最低层的协议,并专门编写了配合使用的下载软件,变成产品卖了)
早期的帖子在这里:http://www.amobbs.com/forum.php? ... ht=usb%2Bisp%2Bwin7。“如何在win7下安装USB-ISP驱动” (三年前的帖子)。供有兴趣的参考。
============================
LOWCDC.SYS
This is the Readme file about patch drivers for using low-speed CDC
(Communication Device Class) protocol on Windows. For more information
please visit
http://www.recursion.jp/avrcdc/
The lowcdc.sys are developed by Osamu Tamura.
SUMMARY
=======
The "avrcdc.inf" and "lowcdc.inf" are INF files to load Windows' pre-
installed driver "usbser.sys", which performs virtual COM ports over the
CDC protocol.
The "lowcdc.sys" performs the "Low-speed" CDC connection between Windows
XP/Vista and the USB devices. This tiny filter driver resides between
"usbser.sys" and the USB port driver, and configures pipes for the
low-speed devices.
The "lowcdc.vbs" switches its transfer modes. The bulk transfer is fast,
but is not allowed by the USB 1.1 standard. The interrupt transfer is slow
(<=1KB/Sec, or <=9600bps), but meets the standard and reduces system load.
The low-speed bulk transfer fails when a USB 2.0 High-speed Hub connected
to a PC's USB 2.0 port, because of the transaction translator.
SPECIFICATION
=============
This patch works as follows:
Step 1. Configures the interrupt pipes instead of bulk pipes.
Step 2. Reforms the interrupt pipes to the bulk after the endpoints
were generated.
Step 3. Reports the created pipes as the bulk to the upper layer.
Step 4. Ignores the interface pipe request.
Platform: Windows 2000/XP/Vista/7.
Function: Configures the CDC endpoints for the low-speed devices.
Structure: Kernel mode driver
Size: 6,400 bytes
These drivers are designed for AVR-CDC, and may not work properly on other
"low-speed CDC" devices. Use this driver at your own risk.
USAGE
=====
[Files]
-- Readme.txt <= This file
-- License.txt
-- lowcdc.vbs <= Switch bulk/interrupt modes
/raw
-- avrcdc.inf <= (Windows 2000/XP)
/w2k
-- lowcdc.inf <= Windows 2000 (bulk mode only)
-- lowcdc.sys
/xpvista7
-- lowcdc.inf <= Windows XP/Vista/7 x32
-- lowcdc.sys
/vista64
-- Readme64.txt
-- lowcdc.inf <= Windows Vista x64
-- lowcdc.sys
/src <= Source code
[Install]
1. Connect AVR-CDC device to the system. Windows launches the
New HardwareWizard.
2. Specify the folder in which "lowcdc.inf" exists, without
connecting to "Windows Update" nor searching automatically.
On Windows 2000, use "avrcdc.inf".
Ignore the warning that the driver is not certified.
3. Check the virtual COM port number in the Ports section of
the Device Manager.
4. Double click "lowcdc.vbs" to switch transfer modes (XP/Vista/7).
[Uninstall]
1. Connect AVR-CDC device.
2. Within the Device Manager window, right click the "Virtual
Communications Port" on the list, and delete the driver.
On Vista, check the box to remove the driver completely,
and skip the step 3.
3. Remove the "avrcdc.inf/lowcdc.inf"-corresponded "oemX.inf/pnf"
pair from the "/windows/inf/" folder. (X is a decimal number)
Search for "AVR-CDC" string in all the oem*.inf files to find
them.
DEVELOPMENT
===========
This driver has been developed on WinDDK 6001.18002/7600.16385
and was based on the sample (src/general/toaster/filter/devlower).
Copy the source code into /src and build it under the WinDDK environment.
USING lowbulk.sys FOR FREE
==========================
The lowcdc.sys is published under an Open Source compliant license.
See the file "License.txt" for details.
Osamu Tamura @ Recursion Co., Ltd.
http://www.recursion.jp/avrcdc/
15 July 2008
02 February 2009
20 March 2009
30 March 2009 -- fixed a shutdown problem.
06 June 2009 -- combined bulk/interrupt modes.
24 August 2009 -- fixed to support Win 2000 (bulk mode).
21 March 2010 -- fixed lowcdc.vbs for comma-decimal point problem (by Jan Chochola).
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|