完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我用PIC18F14K50购买了低引脚数USB演示板,并将工厂演示固件项目编程到它上(简单的USB演示)。我插入了我的PC并获得“设备未被认可”,无法说服Windows与设备进行对话。我最初的假设是OX=盒固件是有缺陷的,但是我知道当我把它插入我朋友的计算机(Windows 7)时,设备被识别并工作得很好。但是,一定是有问题,因为我有2个Windows 7个人电脑,他们都给了我“设备未被认可”的信息。所有的驱动程序在我的电脑和我的朋友之间看起来都是一样的。而且,我的电脑让我没有遇到任何典型的USB设备的麻烦。有人成功地使用了Microchip的演示固件吗?想法改变什么?我正在努力学习USB,所以我是这里的新手,但是我很乐意发布演示代码来进行分析。
以上来自于百度翻译 以下为原文 I purchased the Low Pin Count USB Demo Board with PIC18F14K50, and programmed the factory demo firmware project onto it (a simple USB demo). I plug into my PC and get "Device not recognized" and cannot convince Windows to talk to the device. My assumption at first was that the out-of=box firmware was defective, but I learned that the device is recognized and works fine when I plug it into my friend's computer (Windows 7). However, something must be amiss because I have 2 windows 7 PCs, and both of them give me the "Device not recognized" message. All the drivers seem to be identical between my computer and my friends. Also, my PC gives me no trouble with typical USB devices. Has anyone successfully used Microchip's demo firmware? Ideas what to change? I am trying to learn USB so I'm a total novice here, but I'd be happy to post pieces of the demo code for analysis. |
|
相关推荐
5个回答
|
|
几个月前,在这些论坛中有消息,更新了与PIDIT 3通信的DLL驱动文件。我不能立即识别哪一个文件或哪个线程。与MPLAX的一些版本相关的一些晦涩的问题似乎不再发生在MPLA中。我不太清楚这些USB驱动程序的更新路径,无论它们是安装了MPLAB X安装,还是通过Windows Update。Windows更新是否正常运行?问候,Mysil
以上来自于百度翻译 以下为原文 Some months ago, there was messages in these Forum, with updates to dll driver files used in communication with PICkit 3. I cannot immediately identify which file, or which thread. There have been some obscure problems in connection with some versions of MPLAB X, that seem to no longer occur with MPLAB X v3.55. I am not quite sure of the update path for these USB drivers, whether they are installed with MPLAB X installation, or by Windows Update. So: What version of MPLAB X are you running? Is Windows Update running regularly and successfully? Regards, Mysil |
|
|
|
谢谢Mysil,我有MPLAB X V3.55。我会检查我的Windows更新设置,但我也尝试手动迫使更新的USB驱动程序,Windows告诉我,我有最新的驱动程序。请不要说,我没有问题与MPLAB沟通与程序员,问题是演示电路不会沟通作为USB设备到PC。我应该更清楚这一点-我成功地建立和编程演示板上的演示固件;一旦完成,演示板应该作为一个通用的USB HID设备,并被PC识别。我的PC将无法识别它。
以上来自于百度翻译 以下为原文 Thanks Mysil. I have MPLAB X v3.55. I will check my windows update settings, but I also tried to manually force an update of the drivers for USB, and Windows told me I have the latest drivers. Please not that I don't have an issue with MPLAB communicating with the programmer, the issue is that the demo circuit won't communicate as a USB device to the PC. I should have been more clear about that - I successfully built and programmed the demo firmware onto the demo board; once that was complete, the demo board should act as a generic USB HID device and be recognized by the PC. My PC won't recognize it. |
|
|
|
设备是否出现在设备管理器中?它可以用“?”指示驱动程序未正确安装。有时,在其全知的荣耀中,Windows会傲慢地断言“正确的或最近的驱动程序”已经安装好了,甚至可以报告设备运行正常。但是你可能不得不手动卸载驱动程序,然后当被要求安装一个驱动程序时,选择手动安装,“有盘”,并浏览到你知道的司机的实际位置是正确的。对于Win8和Win10来说,这个过程可能更加繁琐,尤其是如果你已经制作了自己的无符号驱动程序。
以上来自于百度翻译 以下为原文 Does the device show up in the Device Manager? It may show with a "?" indicating the driver is not properly installed. Sometimes Windows in all its omniscient glory will pompously assert that "the correct or most recent driver" is already installed, and it may even report that the device is running properly. But you may have to manually uninstall the driver, and then when asked to install a driver, choose manual installation, "have disc", and browse to the actual location of the driver you know is correct. For Win8 and Win10 the process can be even more tedious, especially if you have made your own custom unsigned drivers. |
|
|
|
HTTP://www. nras.NET/UTILS/UBS.DeViceS.VIEW.HTML可能有帮助——它可以让你卸载旧的“死”USB设备,其中一个可能有一个冲突的驱动程序,特别是如果你玩了很多微芯片小工具,或者其他的“制造商”USB项目。要非常小心地识别你实际使用的所有USB设备,它太容易把你所坐的HID鼠标和键盘分支锯断!
以上来自于百度翻译 以下为原文 http://www.nirsoft.net/utils/u***_devices_view.html may help - it lets you uninstall old 'dead' USB devices, one of which may have a driver that is conflicting, especially if you've been playing with a lot of Microchip gadgets, or other 'maker' USB projects. Be *VERY* careful to positively identify all the USB devices that you actually use, its all too easy saw off the HID mouse and keyboard branch you are sitting on! |
|
|
|
可以是板上跳线设置。我认为,从模糊记忆,特别是J12出来的框在USB支持的错误位置,如果使用USB电源。当然,你的症状表明了这一点。一个特定的跳线在错误的位置确实会导致LPC演示板在某些主机上失败,但对其他主机工作。对不起,我不能把我的手放在我的板上,以确认我正在谈论哪个跳线,但至少你还有别的东西要看。
以上来自于百度翻译 以下为原文 Could be the onboard jumper settings. I think from vague memory particularly J12 comes out of the box in the wrong position for USB support if using USB power. Certainly your symptoms are indicative of this. A particular jumper in the wrong position does cause the LPC demo board to fail enumeration on some hosts but work on others. Sorry I could not put my hands on my board to confirm which jumper I am talking about but at least you have something else to look at. |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
729浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
628浏览 0评论
526浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 15:09 , Processed in 2.557767 second(s), Total 85, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号