完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在我们最近的大规模生产中,我们发现该装置的小部分(2%)(使用CY7C68013A)没有。
在一定条件下从EEPROM读取固件。只有当用户插入USB电缆时,才会发生这种情况。 从设备到设备的电源,并快速将它重新插入(例如在5秒内)…注意到我们观察到了 主功率(包括5V、3.3V和其他),它们都在1秒(当关闭时)下降到GND,并且在板上。 电压监视器将复位MCU(CY7C68013A),当3.3V VCC达到2.8V(上电时)…当出现这样的问题时, 电源,复位,时钟到CY7C68013都很好,但是我们没有观察到I2C总线上的I2C脉冲(正常)。 启动,很多这样的I2C设备插入在活动时,单片机读取固件从EEPROM)。 如果我们等待更长的时间(后关闭),如20秒,这样启动失败率较低的问题了如果等待… 为30秒(和插头回)。 注: 1)。这样的问题只出现在设备的次要部分(2%)。 2)。对有问题的设备,它具有率(如50)显示的问题甚至我们做一个快速的塞子/。 3)。对有问题的设备,如果我们等待更长的时间后关闭(然后插上),率太低。 我知道这可能是PCBA硬件相关的问题(例如焊接问题),但我的问题是什么能让 CY7C68013A卡在引导装载程序无法读取外部EEPROM固件。 谢谢! 以上来自于百度翻译 以下为原文 In our recent mass production, we found that there're minor part (~2%) of the device (using CY7C68013A) doesn't read firmware from Eeprom on certain conditions. That only happens if user plugs off the USB cable (which also provides power to device) from the device and quickly plug it back on (e.g. within 5 seconds)...Note that we observed the main powers (including 5V, 3.3V and others), all of them are down to GND in 1 second (When plug off), and the on board voltage monitor will reset the MCU (CY7C68013A) when the 3.3V Vcc reaches ~2.8V (When power on)...When such issue occurs, the Powers, Reset, Clock to CY7C68013 are all good, but we didn't observe any the I2C pulses on the I2C bus (on normal booting, there're many such I2C activities when device is plugged on and the MCU reads firmware from Eeprom). If we wait for longer time (after plug off), e.g. 20 seconds, such booting fail rate is lower...the issue was gone if waiting for 30+ seconds (and plug back). Note: 1). Such issue only show up on minor part of the devices (~2%). 2). For a problematic device, it has rate (e.g. 50%) to show the issue even we do a quick plug off/on. 3). For a problematic device, if we wait longer after plug off (and then plug it on), the rate is much lower. I understood that this might be the PCBA hardware related issue (e.g. soldering issue), but my question is what might make the CY7C68013A is stuck in the boot loader and can't read firmware from external Eeprom. Thanks! |
|
相关推荐
6个回答
|
|
你好,金涛正,
你查过的FX2LP复位引脚时序将在数据表中提到的价值观一致吗? 还有其他的I2C设备连接在I2C总线的EEPROM开机以外? 当问题发生时,确实在引导装载设备保持或做装置来为“未知设备”,在设备管理器? -请在故障时共享I2C总线捕获。 最好的问候, 斯里纳斯 以上来自于百度翻译 以下为原文 Hello Jintao Zheng, - Did you check the RESET pin timings of the FX2LP to be in accordance with the values mentioned in the datasheet? - Are there any other I2C devices connected on the I2C bus other than the boot EEPROM? - W henever the issue happens, d oes the device stay in the boot loader or does the device come up as an 'Unknown Device' in the device manager?- Please share the I2C bus captures upon failure. Best regards, Srinath S |
|
|
|
wangcong12138 发表于 2018-9-14 16:10 嗨,Srinath, 谢谢你的帮助…你的问题的答案是: A)复位引脚的时序与规格的要求略有不同,我们使用的是ADM1818(2.88伏),因此,它将重置。 当VCC达到2.88伏时,为150毫秒(数据表表示当VCC达到3.0V时为5ms)……这可能是问题所在吗?其实我们用过 这种设计(ADM1818作为电压监控器)多年(在各种CY7C68013A为基础的设计,100000 +单元)…但仅非常 最近,这样的问题出现了(很小的比率)。 b)。是的,有几个,1X DSP和1X MCU(其他MCU)都与/RST保持为“L”,以及I2C IO扩展器(PCA9536)。事实上, 我们也怀疑这个问题可能与其他的I2C设备有关。 C)。在大多数情况下,主机(Windows)将在一段时间之后(例如30秒)显示“未知设备”。 D)。当上电(插电)时,SCL和SDA都很高(斜升到高,因为每个都有上拉电阻),对于故障情况,SDA下降到“L”(~0.1V)并停留在那里,SCL总是“H”(3.3V)……没有任何其他故障(失效情况下)。 还有一个问题:当CY7C68013A在引导加载程序中时,端口引脚(例如PA0-PA7)状态是什么?谢谢! 最好的问候! JT 以上来自于百度翻译 以下为原文 Hi Srinath, Thanks for help...The answers to your questions are: a). The Reset pin timing is slightly different from the requirements on the spec., we're using ADM1818 (2.88V), so, it will reset for 150ms when Vcc reaches 2.88V. (The datasheet says 5ms when Vcc reaches 3.0V)...could that be the problem? Actually we used such design (ADM1818 as voltage monitor) for many years (on various CY7C68013A based designs, 100,000+ units)...but only very recently, such issue showed up (in small rate). b). Yes, there're several, 1x DSP and 1x MCU (other MCU) both are held with the /RST to "L", and a I2C IO expander (PCA9536). Actually, we also doubt the issue might be related to the other I2C devices. c). In most cases, the host (Windows) will show "Unknown Device" finally after some time (e.g. 30+ seconds). d). When power up (plug in), both SCL and SDA are high (ramping to high, as there're pull up resistor for each), for the failure cases, the SDA drops to "L" (~0.1V) and stay there, the SCL is always "H" (3.3V)....there're no any other acitivities (upon failure case). One more question: What is the Port pin (e.g. PA0 - PA7) status when the CY7C68013A is in boot loader? Thanks! Best Regards! JT |
|
|
|
jsjdfsdf 发表于 2018-9-14 16:21 你好,金涛正, -重置5ms的定时是数据表中提到的最小值。超过5毫秒的任何东西都很好。 -请检查是否有其他的I2C设备作为主机。FX2LP应该是公共汽车的唯一主人。 -其他I2C设备的地址不应与FX2LP开机EEPROM相同。这可能导致总线争用。 在引导时,端口引脚为三态。 最好的问候, 斯里纳斯 以上来自于百度翻译 以下为原文 Hello Jintao Zheng, - RESET timing of 5ms is a minimum value that is mentioned in the datasheet. Anything above 5ms is fine. - Please check if there are other I2C devices that are acting as master. FX2LP should be the sole master of the bus. - The address of the other I2C devices present should not be the same as that of FX2LP boot EEPROM. This can cause bus contention. Upon booting, the port pins are tri-stated. Best regards, Srinath S |
|
|
|
wangcong12138 发表于 2018-9-14 16:26 Srinath 谢谢你提供的信息。 基本上,肯定只有一个I2C主机(68013A)和I2C地址的I2C设备。 是不同的。然而,由于CY7C68013A是第一个启动的设备… 出现问题时,其他I2C设备处于复位状态(2X MCU),它们将被设置为从 他们已经不正常了,开始正常工作了……我们会进一步看看。 目前的I2C设备状态..谢谢! JT 以上来自于百度翻译 以下为原文 Srinath, Thanks for the info. Basically, there's certainly only one I2C master (68013A) and the I2C addresses of the I2C devices are different. However, as the CY7C68013A is the very first device booted...at the moment of the issue showing up, other I2C devices are in RESET (the 2x MCUs, they will be set to slave when they're out of RESET and start to work normally)...we will take further look at the I2C device status at the moment..Thanks! JT |
|
|
|
你好,金涛正, 我相信你会在I2C线上增加上拉电阻。在引导时,SCL和SDA线应该是逻辑高的。如果FX2LP发现这些行中的一个逻辑低,枚举将失败。请在启动时重新检查SCL和SDA线路的电压电平。 最好的问候, 斯里纳斯 以上来自于百度翻译 以下为原文 Hello Jintao Zheng, I believe that you would have added the pull-up resistors on the I2C lines. Upon booting, the SCL and SDA lines should be logic HIGH. In case the FX2LP finds one of these lines to be logic LOW, the enumeration will fail. Kindly, recheck the voltage levels of the SCL and SDA lines upon booting. Best regards, Srinath S |
|
|
|
wangcong12138 发表于 2018-9-14 16:50 嗨,Srinath, 是的,SCL和SDA都有1.5 KOHM的上升。 当然,SDA(失败案例)的“L”状态是不正确的(它停止了68013A的引导加载程序)…我们从一开始就观察到它是“L”(从V3.3开始)。斜坡),似乎有一个I2C设备(不CY7C68013A)行为不端……我们试图找到哪一个 原因之一。 谢谢! RGDS! JT 以上来自于百度翻译 以下为原文 Hi Srinath, Yes, both of the SCL and SDA have 1.5kohm pull up. Certainly, the "L" state of SDA (failure cases) is not correct (which stops the boot loader of the 68013A)...and we observed that it's "L" from the very beginning (from the V3.3. ramping), it seems that there's an I2C device (not CY7C68013A) mi***ehaved...we're trying to find which one and why. Thanks! Rgds! JT |
|
|
|
只有小组成员才能发言,加入小组>>
756个成员聚集在这个小组
加入小组2124 浏览 1 评论
1866 浏览 1 评论
3681 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1800 浏览 6 评论
1549 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
605浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
451浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
448浏览 2评论
400浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1082浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-12 00:18 , Processed in 1.151822 second(s), Total 57, Slave 51 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号