完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我找到了HID+UBART的一些例子。
但是,在我的例子中,我希望保留我的自定义设备并添加这个UBUART。 目前,我有一个完整的项目(如果我需要分享一些东西),我需要清理项目,并将其移植到CY8CKIT-059的最低限度。 在我的全部项目中: Windows只显示我的自定义设备(UBUART没有被检测到)。 但是,如果我通过设备管理器面板手动安装驱动程序:我可以制作一个UBUART,但是我的自定义USB设备消失了… 所以目前,在设备管理器面板中的时间都是不可能的。 这可能是可行的,因为它是一个KiPrg的例子:程序员+ UBUART [注释]在我的情况下,程序员将是我的自定义设备。 那么在我的申请中有什么问题呢? -自定义设备的M**.INF -我的UBFS配置(IAD或其他技巧) -… 以上来自于百度翻译 以下为原文 I found some example for HID + USBUART. However in my case, i want keep my custom device and add this USBUART. Currently i have a full project (if i need share somethings), i need to clean the project and port it into CY8CKIT-059 with the minimum. In my full projet: - Windows dectect only my custom device (the USBUART isn't detected). - However, if i install driver manually by the device manager panel: i can make an u***uart but my custom u*** device disappears... So currently, both in same time into the device manager panel seems not possible. It's probably feasible, because it's the case of a KitProg : programmer + u***uart [NOTE]in my case the programmer will be my custom device So what is wrong in my application? -my *.inf for custom device -my u***fs config (IAD or an others tricks) -.. |
|
相关推荐
8个回答
|
|
我想你正在寻找如何在USB上创建复合设备,因为KBA将是有用的:
用PSoC 3、PSoC 4L或PSoC 5LP—KBA223 141实现USB复合设备 以上来自于百度翻译 以下为原文 I think you are looking for how to create composite device on USB, for that this KBA will be useful: Implementing USB Composite Device with PSoC 3, PSoC 4L, or PSoC 5LP - KBA223141 |
|
|
|
这个链接也可能是有用的:
PSOC5LP -多USB设备在单一的UBFS组件? 以上来自于百度翻译 以下为原文 This link may also be useful: PSoC5LP - Multiple USB devices on single USBFS component? |
|
|
|
关于这些链接:我在找到问题之前就找到了。 这对我很有启发性: 我们有一个例子鼠标+ CDC UART我的目标非常相似(测试这个小项目:它的作品) -我们有IAD配置说明(参见下面的配置) -… 从我的角度来看,它不是固件问题,因为Windows可以安装自定义设备或USBUART司机: -我只能安装一个 -秩序并不重要:定制或UBUTART = & gt;但最后窗口没有在同一时间进入装置面板。 你有联系或例子INF文件安装结合USB设备? 罗宾。 以上来自于百度翻译 以下为原文 About these links: i found it before post my question. It' was very instructive for me : - we have an example mouse+cdc uart very similar to my goal (it tested this small project : it works) - we have IAD config explanation (see below my config) - .. from my point of view it isn't firmware issue because windows can install driver for custom device or u***uart: - i can install one only - the order doesn't matter : custom or u***uart => but at the end windows cannot have both in the same time into the device panel. Do you have link or example of inf file to install combined u*** device? Robin. |
|
|
|
你好,罗宾, 我能理解的是,你有一个复合设备(HID+UBUART)和另外一个UBUART。 它类似于具有多个COM端口,这个链接可能是有用的: 作为多个COM端口的USB? 以上来自于百度翻译 以下为原文 Hello Robin, What I can understand is that you have one composite device (HID+USBUART) and one other USBUART. Its similar to having Multiple COM port, this link may be useful: Re: USB as multiple COM ports? |
|
|
|
安克斯,
谢谢你为我抽出时间。 因此,我的应用程序可以在CY8CKIT-059上工作,我将分享我的项目并试图解释预期的行为。 CyPress KiPro(绿色)被检测为“双”设备:UARTCOM和KitProg 但是我的USB设备,我只能同时看到一台设备,而不是像吉普格一样。 事实上,我期待Windows要求我安装2个设备驱动程序后,将USB插头插入USB连接器(橙色侧)… 但只要求一个!! 奇怪的事情是我可以安装驱动程序 USB UART:驱动程序(*.INF)进入文件夹生成的源程序 -我的应用程序:我不能共享它(但是如果我安装它,USB UART(COM30)消失。) Windows只能显示我的USB设备中的一个。然而,Windows有可能显示2个设备用于同一个USB连接器:KitProg就是这样。 最好的问候, 罗宾。 FieltoStoMe.Cyrj.CaseVo.02.Zip 1021.9 K 以上来自于百度翻译 以下为原文 anks, Thank you to take time for me. So my application can works on CY8CKIT-059, i will share my project and try to explain the expected behavior. The Cypress KitProg (green) is detected like "double" devices : UartCom AND KitProg But my u*** device, i can only see one device at the same time not both like kitProg In fact i'm expecting that Windows ask me to install 2 devices drivers after plug the USB into the u*** connector (orange side)... But only one is requested!! The strange things is i can install driver for - USB UART : the driver (*.inf) is into the folder Generated source - MY APPLICATION : i cannot share it (but if i install it, the USB UART (COM30) disappears.) => Windows can show only one of my USB device. however it is possible that windows shows 2 devices for the same USB connector : it's the case with KitProg. best regards, Robin.
|
|
|
|
你好,罗宾, 谢谢你的解释。 请通过HIMA检查这个论坛线程交互04,这将是有益的: 用两个VCP和一个“自定义”接口创建USB组合设备 对于使用IADS的设备,该设备用INF文件中的接口的PID VID和MI(多接口号)组合来识别。因此,相应的INF文件必须被改变,包括界面的英里数。对于我们的示例项目,供应商特定的接口有mi_00和CDC类有mi_01。因此,我们将改变INF文件u***fs_1_cdc INF包括CDC类接口MI:从描述:% % = driverinstall,USB vid_04b4 &;pid_8051:% % = driverinstall描述,USB vid_04b4 &;pid_8051 &;mi_01 同样,在cyu***.inf将被修改为包括供应商特定的接口VID和PID和MI::% vid_xxxx &;pid_xxxx。DeviceDesc % =适用于CYUSB,USB vid_xxxx &;pid_xxxx:% vid_04b4 &;pid_8051。DeviceDesc % =适用于CYUSB,USB vid_04b4 &;pid_8051 & amp;mi_00 改变的INF文件可以用来指向一个设备驱动程序。如果你使用了错误的INF文件为设备,如用mi_00 INF文件mi_01接口。它会把错误说INF文件不包含您的设备信息 以上来自于百度翻译 以下为原文 Hello Robin, Thanks for the explaination. Please check this Forum thread interaction#04 by HIMA, it will be helpful: Create an USB composite device with two VCP and one 'custom' interface For a device that uses the iADs, the device is recognized with the PID-VID-and-MI (multiple interface number) combination of the interface in the inf file. Thus, the appropriate inf files have to be altered to include the MI number of the interface. For our example project, the vendor specific interface has MI_00 and the CDC class has MI_01. Thus, we will alter the inf file USBFS_1_CDC .inf to include the MI of the CDC class interface: From: %DESCRIPTION%=DriverInstall, USBVID_04B4&PID_8051 To: %DESCRIPTION%=DriverInstall, USBVID_04B4&PID_8051&MI_01 Similarly, the CyUSB.inf will be altered to include the VID and PID and MI of the vendor specific interface: From: %VID_XXXX&PID_XXXX.DeviceDesc%=CyU***, USBVID_XXXX&PID_XXXX To: %VID_04b4&PID_8051.DeviceDesc%=CyU***, USBVID_04b4&PID_8051&MI_00 The altered inf files can be used to point to the driver for a device. In case if you use the wrong inf file for a device, like using the MI_00 inf file for MI_01 interface. It will throw up the error saying that the inf file does not contain the information for your device |
|
|
|
安克斯, Mixxx帮了我一点忙。 Windows可以指示2个驱动程序,但Windows只能安装一个。 它似乎接近解决我的问题,但目前情况并非如此。 罗宾。 以上来自于百度翻译 以下为原文 anks, MI_XX helps me a little bit. Windows can indicate 2 drivers but windows can only install one. it's seems close to fix my issue but currently it's not the case. robin. |
|
|
|
您可以检查这个项目的复合设备,并检查如何复合设备正在枚举: PSOC4200 L USB复合器件的设计——Hackster.io 以上来自于百度翻译 以下为原文 You can check this project for composite device and check how the composite device is getting enumerated: Designing PSoC4200L USB Composite Device - Hackster.io |
|
|
|
只有小组成员才能发言,加入小组>>
750个成员聚集在这个小组
加入小组2060 浏览 1 评论
1817 浏览 1 评论
3626 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1755 浏览 6 评论
1503 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
490浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
345浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
406浏览 2评论
350浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
842浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-13 03:47 , Processed in 1.092805 second(s), Total 93, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号