Cypress技术论坛
直播中

张喆

7年用户 162经验值
私信 关注
[问答]

CY7C68013A无法从Eeprom读取固件

在我们最近的大规模生产中,我们发现该装置的小部分(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)

杜美娜

2018-9-14 15:12:57
你好,金涛正,
你查过的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
举报

张喆

2018-9-14 15:23:52
引用: wangcong12138 发表于 2018-9-14 16:10
你好,金涛正,
你查过的FX2LP复位引脚时序将在数据表中提到的价值观一致吗?
还有其他的I2C设备连接在I2C总线的EEPROM开机以外?

嗨,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
举报

杜美娜

2018-9-14 15:28:57
引用: jsjdfsdf 发表于 2018-9-14 16:21
嗨,Srinath,
谢谢你的帮助…你的问题的答案是:
A)复位引脚的时序与规格的要求略有不同,我们使用的是ADM1818(2.88伏),因此,它将重置。

你好,金涛正,
-重置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
举报

张喆

2018-9-14 15:47:03
引用: wangcong12138 发表于 2018-9-14 16:26
你好,金涛正,
-重置5ms的定时是数据表中提到的最小值。超过5毫秒的任何东西都很好。
-请检查是否有其他的I2C设备作为主机。FX2LP应该是公共汽车的唯一主人。

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
举报

更多回帖

发帖
×
20
完善资料,
赚取积分