CYUSB3014不能给Flash下载程序

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Lambert_li
Level 3
Level 3
Distributor - Arrow(GC)
10 replies posted 10 questions asked 5 replies posted

我们这边在开发一个带USB3.0接口的CAN通讯监控工具的时候,USB出现了一个问题。在USB3.0接口上通过control center工具给flash下载程序的时候,会提示SPI flash下载失败,而用USB2.0则可以正常下载程序。下载完程序后,USB芯片会在3.0模式下隔几秒重复枚举一次,而USB2.0接口上一切正常。而CYUSB这部分的原理图我们在之前版本的CAN工具上已经正常使用。请问您有遇到过类似问题或者有什么建议吗?

SPI flash型号是W25Q16JVUUIQ

0 点赞
1 解答
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

客户可以对照AN70707的checklist看看板子设计的有没有设计缺陷。

在原帖中查看解决方案

0 点赞
6 回复数
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi,

请问同样的固件下载到RAM中也会隔几秒重复枚举一次吗?理论上来说固件是由FLASH复制到RAM中运行的。


Regards,
Eddie

0 点赞
Lambert_li
Level 3
Level 3
Distributor - Arrow(GC)
10 replies posted 10 questions asked 5 replies posted

经过验证,在USB3.0模式下能下载程序到RAM,但依然存在重复枚举的问题。

0 点赞
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

那这个问题和SPI flash就没什么有什么关系,客户需要检查板子USB3.0的信号有什么问题,或者换一台电脑看看是不是这个电脑的USB口有问题。

0 点赞
Lambert_li
Level 3
Level 3
Distributor - Arrow(GC)
10 replies posted 10 questions asked 5 replies posted

能给出一些可能的原因吗?比如USB3.0信号质量不好,或者电源不符合要求会导致这个现象。

0 点赞
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

客户可以对照AN70707的checklist看看板子设计的有没有设计缺陷。

0 点赞
Lambert_li
Level 3
Level 3
Distributor - Arrow(GC)
10 replies posted 10 questions asked 5 replies posted

我现在是想通过CyU3PDebugPrint 这个 函数把数据通过cdc传到上位机,我附件的程序都配置好了,但是CyU3PDebugPrint 这个函数死活不能通过usb输出,所以想请求支持一下

0 点赞