阅读:992回复:1
询问关于plx9030判断Eeprom是否存在的问题(空的Eeprom)
根据plx9030的数据手册,如果寄存器CNTRL(50h)中第28bit为1则plx9030连接有Eeprom(原文:Value of 1 indicates a blank or programmed serial EEPROM is present.)
可是,根据plx9030 SDK中对函数PlxSerialEepromPresent的说明,Plx芯片对 空白的Eeprom和Eeprom不存在 是不区分的(原文:For PLX chips other than the 480, a blank EEPROM will result in a return value of FALSE. The PLX chip does not distinguish between blank and non-existent EEPROMs.),通过查看提供的驱动原代码,这个函数是根据CNTRL(50h)中第28bit的值来判断的。 所以接了一块空白Eeprom时到底CNTRL(50h)中第28bit为1还是为0呢?还望哪位高手指点一二。 我用plx提供的写Eeprom函数写后,再读,总不成功,不知是不是因为Eeprom连接有问题还是函数读写有问题呢? [编辑 - 3/31/03 by lfliao] |
|
|
沙发#
发布于:2003-03-31 16:58
自己顶一下...
|
|
|