完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我使用的是PSoCYC8C4248AZI L45,并试图实现UsBuTART,但不管我做什么,我都无法使它在Windows中识别该设备。
我从样本UBUART项目开始,并做了很少的改动,超出了一些不执行的IFF代码,并添加了一个红色和绿色的状态。 4248是在3.3V,我是自供电它从外部来源。来自USB的5V应用于VBUS,并且我已经尝试了所有的VBUS监视的组合。我试过交换D+/D,但没什么区别。D线最初通过串联电阻,但后来我消除了它们。在当前原型上没有其他的过滤或静态保护。 每当我插入它时,在Windows(10)中得到一个错误消息,即设备描述符请求失败。它通常认识到我确实在USB端口上插入了一些东西,但是我会特别指出,在DEV周期中,它不会总是尝试加载驱动程序。沿途的某个地方,它对这个功能更加敏感。 我安装了生成的.INF文件作为项目的一部分(我必须引导到恢复模式,以允许Windows安装一个未签名的驱动程序)。这没有什么区别。 我还安装了一些我在旅途中发现的通用CyPress USB驱动程序,但这似乎也没什么区别。 附件是今天的项目,以及我在设备管理器中看到的错误消息的截图。 我对USB设备的开发是新的,所以我不太确定还有什么可以帮助其他人解决问题。看起来我离这件事只有一步之遥。 扎克 未知设备 39 K USPFSU UART01. Cyrkkz.zip 3.7兆字节 以上来自于百度翻译 以下为原文 I'm using a PSOC CY8C4248AZI-L485 and trying to implement the USBUART but no matter what I do, I can't get it to recognize the device in Windows. I started with the sample USBUART project, and made very few changes beyond stripping out some #ifdef code that wasn't executing, and adding a red and green status LED. The 4248 is running at 3.3V, and I'm self-powering it from an external source. The 5V from the USB is applied to the VBUS, and I've tried all combinations of VBUS monitoring both on and off. I've tried swapping D+/D- and it made no difference. The D lines were initially passed through series resistors, but I've since eliminated them. There is no other filtering or static protection on the current prototype. Whenever I plug it in, I get an error message in Windows (10) that the Device Descriptor Request Failed. It usually recognizes that I did plug something in to the USB port, but I will add that especially early on during the dev cycle, it wouldn't always attempt to load drivers. Somewhere along the way it's gotten more responsive to that function. I installed the .inf file that is generated as part of the projct (I had to boot into the recovery mode to allow Windows to install an unsigned driver). That made no difference. I had also installed some generic Cypress USB driver that I found during my travels, but that hasn't seemed to make any difference either. Attached is the project as it stands today, as well as a screenshot of the error message that I'm seeing in Device Manager. I'm new to the USB device development, so I'm not really sure what else might be useful to others to troubleshoot. It seems like I'm just one little step away from getting this going though. Zack
|
|
相关推荐
1个回答
|
|
今晚我做了更多的挖掘,D -(引脚35)在3.8V左右浮动,当我第一次插入USB电缆时,我看到这条线在大约一秒钟的时间里切换到低电平。D+线(引脚34)保持在地电位的整个时间。
我交换了d+/d线,范围显示得更像我所期望的。两条线切换,它们彼此相反。 在PSoC上重新启动之后,我终于注意到,我确实有一个USB & GT;串行端口枚举(COM5)。唯一奇怪的是,在USB控制器下,我仍然有一个显示同一设备描述符请求失败的辅助设备。 以上来自于百度翻译 以下为原文 I did a little more digging tonight on this, and the D- (pin 35) is floating up around 3.8V, and when I first plug in the USB cable, I see that line toggling low with data for about a second. The D+ line (pin 34) stays at ground potential the whole time. I swapped the D+/D- lines and the scope shows more like what I'd expect. Both lines toggle, and they're opposite of each other. After a couple of reboots on the PSOC, I finally noticed that I did in fact have a USB->Serial port enumerating (COM5). The only odd thing is that I still have a secondary device that is showing up with the same Device Descriptor Request Failed under USB Controllers. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2075 浏览 1 评论
1829 浏览 1 评论
3645 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1766 浏览 6 评论
1517 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
517浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
371浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
413浏览 2评论
360浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
868浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 01:01 , Processed in 0.799452 second(s), Total 49, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号