完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我使用的例子应用USB控制中心与参考板使用FX1部分…CySCAN可以看到部分,下载等伟大工程…但是当使用USB控制中心是看不到部分。通用USB设备不是HID正确的吗?因此,它不显示使用该设备?我有选择的所有选项…我甚至抄袭了密码…它仍然不起作用…
以上来自于百度翻译 以下为原文 I'm using the example application USB Control Center with the reference board using the FX1 part... The CyConsole can see the part, download etc. Works great... But When using the USB Control Center is does not see the part. The Generic USB device is not a HID correct? Hence it does not display using the device? I have all of the options selected.. I even copied the code... and it still does not work... |
|
相关推荐
6个回答
|
|
在注册表项中(必须使用注册表编辑器打开此路径)HKEY-LoalAlxMaultSaleCurrutCuffeStcEnUMUSB将为每个VID/PID序列提供注册表项,并且将为每个端口使用该设备的注册表项。您可以找到一个注册表项,称为设备参数下的每一个。在这个特定的注册表项中,应该有一个带有DriverGUID的GUID值的注册表项,用于控制中心来检测设备。在创建必要的注册表项之后,可以通过手动输入驱动程序GUID来实现这一点。或者在INF文件中,可以取消对CysBuGuID =……的注释。HKR,DriveGUID……并强制Windows使用此INF文件。
以上来自于百度翻译 以下为原文 In the registry key (you have to open this path using registry editor) HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSB There will be a registry key for each vid/pid sequence and there will be registry key for each port in which the device has been used. You can find a registry key called Device parameters under each. In this particular registry key a registry key named DriverGUID with the GUID value of the driver should be present for control center to detect the device. You can achieve this by manually entering the driver GUID after creating the necessary registry key. Or in the inf file you can uncomment the lines CyUSB.GUID =...... HKR,, DriveGUID...... and force windows to use this inf file. |
|
|
|
好的,但是.NET API不应该像原来那样工作吗?只需对所有USB设备进行扫描,只要没有HID,那么它会工作吗?对我来说,这两个API不匹配C API和.NET?我的最终目标是让固件和EEPROM编程。
以上来自于百度翻译 以下为原文 Ok, but should not this .NET API work as is? Just do a scan of all USB devices, just no HID, and then it will work? To me the two API's don;t match the C api and the .NET? My end goal is to have the firmware and EEPROM programmed. |
|
|
|
此外,这是一个默认的开发系统,这项工作是否应付自如?
以上来自于百度翻译 以下为原文 Also, this is a default development system should this work out of the box? |
|
|
|
在C API的cyu***.sys默认驱动程序GUID是硬编码的,因此它检查的价值即使不是在注册表中注册。在.NET API中,当前它不是硬编码的。的64位支持释放。网络接口将很快发生这个值硬编码在它将检测设备即使司机GUID没有注册。这里的逻辑是当你的设备和驱动程序WHQL签署你要利用自己的西元/ PID和driverguid。因此,强调在INF文件中自己的driverguid 2线使用注释。确保这两行的注释应该在所有系统设备做工精细。
以上来自于百度翻译 以下为原文 In the C api the default driver GUID of cyu***.sys is hardcoded and hence it checks for that value even if it is not registered in the registry. In .Net api currently it is not hardcoded. The 64 bit support release of the .Net interface which will happen soon has this value hardcoded in it and will detect the device even if driver guid is not registered. The logic is here when you get the device and driver whql signed you will have to use your own VID/PID and DriverGUID. So to emphasize the usage of your own DriverGUID the 2 lines in the inf file are commented out. ensuring the uncommenting of those two lines should make the device work fine on all systems. |
|
|
|
好的,我知道发生了什么事。1)需要更新INF以使用正确的PID,对于PROM,它是0082,新的INF没有这个定义,但是,很容易改变。2)如果将FX1板插入多个USB端口,USB控制中心可能找不到它。原因是EnUM/UBS/VIDY04B4&PIDY0.02,每个端口有几个条目,因此如果第一个不是活动的,那么控制中心找不到设备…
以上来自于百度翻译 以下为原文 Ok, I see what is going on. 1) needed to update the inf to use the correct PID, for the prom it is 0082, the new inf does not have this one defined, but, easy to change.. 2) If you plugin the FX1 board into several u*** ports the USB control center may not find it. The reason is Enum/USB/Vid_04b4&Pid_0082, there are several entries one per port, thus if the first one is not active, then the control central does not find the device... |
|
|
|
控制中心收集驱动程序GUID注册,然后搜索与该GUID连接到驱动程序的设备。因此,如果它在注册表中的某个VID/PID下注册,那么控制中心应该能够找到它,而不管设备连接到的中心端口。对于PROM有0082,它被用来自动下载监控程序…您可以禁用EEPROM并连接该设备。然后使用VDENEXAX例子,你可以写出想要的值…
以上来自于百度翻译 以下为原文 control center collects the driver GUIDs registered and then searches for device connected to driver with that GUID. So if it registered under some VID/PID in the registry then control center should be able to find it irrespective of the hub port the device is connected to... Regarding prom having 0082 it was used to download the monitor program automatically... you can disable eeprom and connect the device. Then using vend_ax example you can write the desired value... |
|
|
|
只有小组成员才能发言,加入小组>>
726个成员聚集在这个小组
加入小组1938 浏览 1 评论
1685 浏览 1 评论
3449 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1608 浏览 6 评论
1406 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-6-26 15:03 , Processed in 0.913159 second(s), Total 86, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191