Cypress技术william hill官网
直播中

王翰音

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

FX2LP在C0负荷下 fx2lp with c0 load

你好,
我有一个EEPROM与A2、A1 FX2LP板,A0(0,0,0),为柏建议,我8bytes.iic file.but EEPROM编程小失败。
在我们的硬件,FX2LP连接EEPROM(16kbytes)通过I2C buffer.is它I2C缓冲是这个问题吗?
当做,C0负荷下的FX2LP
吉瑟纳利
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello,
I have a fx2lp board with eeprom connected with  A2,A1,A0(0,0,0),as cypress suggested,i am programming small eeprom with 8bytes.iic file.but programming is failed.
in our HARDWARE,FX2LP is connected to eeprom(16KBytes) through i2c buffer.is it i2c buffer is problem for this issue?
regards,
geethanjali.

回帖(22)

王翰音

2018-8-20 01:43:10
你好,Geethanjali,
请确保有上拉电阻的SCL和SDA线。
-您能指定您使用的EEPROM吗?
最好的问候,
萨尼亚尼亚
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello Geethanjali,
 
-Please make sure that there are pull up resistors on the SCL and SDA lines.
-Can you specify which EEPROM you are using?
 
Best Regards,
Sananya
举报

杜美娜

2018-8-20 01:54:27

你好,盖萨,
当程序-gt;fx2-& gt;小EEPROM从CyPress USB控制中心中选择时,主机发出一个供应商命令0xA2,将内容加载到小EEPROM中,这应该是一个8字节可寻址的EEPROM。
因此,为了克服这个问题,主机不应该发布供应商命令0xA2,而是应该发出将要加载到大EEPROM中的供应商命令0xA9,即16字节可寻址EEPROM。
修改可以在CysB.DLL文件的一部分中的功能块私有BooLoad PROMIICE()中完成。此函数存在于CYFX2DEVICIC.CS文件中。
修改下面的语句
ReqEng==ISLARGEEPROM?(字节)0xa9:(字节)0xa2;

ReqCODE=0xA9;
执行此更改后,必须构建CysB.DLL文件。这可以与控制中心一起使用,以执行向16字节可寻址EEPROM的数据传输。
最好的问候,
斯里纳斯
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello Geetha,
 
When the Program -> FX2 -> Small EEPROM is chosen from the Cypress USB Control Center, the host issues a vendor command 0xA2 to load the contents into the small EEPROM, which should be a 8-byte addressable EEPROM.
 
So, to overcome this, instead of issuing the vendor command 0xA2, the host should issue the vendor command 0xA9 which would load the contents into the large EEPROM, i.e 16-byte addressable EEPROM.
 
The modification can be done in the function block private bool LoadEpromIIC() which is part of the CyUSB.dll file. This function is present in the CyFX2Device.cs file.
 
Modify the below statement
 
ControlEndPt.ReqCode = isLargeEEprom ? (byte)0xA9 : (byte)0xA2;
 
to
 
ControlEndPt.ReqCode = 0xA9;
 
After performing this change, the CyUSB.dll file has to be built. This can be used along with the Control Center to perform data transfers to the 16-byte addressable EEPROM.
 
Best regards,
Srinath S
举报

夏焕丽

2018-8-20 02:10:20
引用: 不cdvdhgdh 发表于 2018-8-20 01:43
你好,Geethanjali,
请确保有上拉电阻的SCL和SDA线。
-您能指定您使用的EEPROM吗?

你好,萨尼亚
上拉电阻存在于SCL上,SDATA编程通过RAM工作。EEPROM使用的是24LC128,即大EEPROM。{大EEPROM和小EEPROM编程都不工作,编程失败}。
大EEPROM的编程与另一个板一起工作,在该板中,EEPROM通过I2C直接连接到FX2LP,而不需要任何I2C缓冲器。
当做,
吉瑟纳利
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            hello sananya,
pullup resistors are there on the scl and sdata.programming through RAM is working.EEPROM used is 24LC128 ,that is large eeprom.{both large eeprom and small eeprom programming is not working,programming failed}.
 
programming of large EEPROM is working with another board,in this board ,eeprom is directly connected to fx2lp through I2C without any i2c buffer.
 
regards,
geethanjali.
举报

王翰音

2018-8-20 02:20:49
引用: wangcong12138 发表于 2018-8-20 01:54
你好,盖萨,
当程序-gt;fx2-& gt;小EEPROM从CyPress USB控制中心中选择时,主机发出一个供应商命令0xA2,将内容加载到小EEPROM中,这应该是一个8字节可寻址的EEPROM。
因此,为了克服这个问题,主机不应该发布供应商命令0xA2,而是应该发出将要加载到大EEPROM中的供应商命令0xA9,即16字节可寻址EEPROM。

你好,克里斯纳特,
如何修改Cyu***.dll?
当做。
吉萨
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hello Shrinath,
How can i modify Cyu***.dll ?
 
regards.
geetha.
举报

更多回帖

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