搜索
bottom↓
回复: 7

usb-isp for win7 的驱动

[复制链接]

出0入0汤圆

发表于 2014-9-27 16:22:26 | 显示全部楼层 |阅读模式
本帖最后由 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, 杜汶泽)

出0入0汤圆

发表于 2014-9-27 19:30:14 来自手机 | 显示全部楼层
马老师还在玩avr吗 studio都出到6了 您老还用4呢?

出0入0汤圆

发表于 2014-9-27 21:14:50 | 显示全部楼层
马老师,USB ISP 在windows 7 x64 SP1下老是断开需要重新插拔一下才能用,有什么好的办法可以解决,比如D+D-,3.6V加电平转换,后级3.3v,5v转换,会不会更好点

出0入0汤圆

发表于 2014-9-27 21:17:24 | 显示全部楼层
感谢,马老师

出0入0汤圆

发表于 2014-9-27 21:59:51 来自手机 | 显示全部楼层
这个案子在目前比较新的电脑硬件上可能存在兼容问。题

出0入0汤圆

发表于 2014-10-23 08:25:24 | 显示全部楼层
马老师的AVR教程非常的好。。。一开始不理解为什么要讲汇编,现在知道了。做个STM32的教程吧,出个书,或者是在线之类的教学。

出0入0汤圆

发表于 2014-10-23 08:32:16 | 显示全部楼层
sbk100 发表于 2014-9-27 19:30
马老师还在玩avr吗 studio都出到6了 您老还用4呢?

编译器次要的。。。。不过是更方便。。。。。

出0入0汤圆

发表于 2014-10-23 08:35:14 | 显示全部楼层
你们还在研究历史,现在  Win7   Win8    Win10       都是免安装的了          (你们都是院士了)
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-28 05:19

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表