Embedded EEPROM Specification - picmg
Embedded EEPROM Specification - picmg
Embedded EEPROM Specification - picmg
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
3 Detection<br />
3.1 Detecting EeeP <strong>EEPROM</strong><br />
3.1.1 High Level Check<br />
if(!memcmp(<br />
&EeePEEP[0x01] ,<br />
"3P" ,<br />
0x02<br />
)<br />
)<br />
{<br />
// Found EeeP <strong>EEPROM</strong><br />
}<br />
C_SAMPLE 1: Detect COM0 R2.0 FRUPROM<br />
3.1.2 Sample I2C Transfer<br />
Device Address : 0xAE(0x57)<br />
Index Type : Extended<br />
StartAckAckAck<br />
StartAckAckAckAckNak Stop<br />
XX is used to designate don't care, byte.<br />
3.2 Detecting COM0 R1.0 <strong>EEPROM</strong><br />
3.2.1 High Level Check<br />
if(!memcmp(<br />
&COM0EEP[0xE0] ,<br />
"COMExpressConfig" ,<br />
0x10<br />
)<br />
)<br />
{<br />
// Found COM0R10 <strong>EEPROM</strong><br />
}<br />
C_SAMPLE 2: Detect COM0 R1.0 FRUPROM<br />
3.2.2 Sample I2C Transfer<br />
Device Address : 0xAE(0x57)<br />
Index Type : Standard<br />
PICMG® EEEP R1.0 <strong>Embedded</strong> <strong>EEPROM</strong> <strong>Specification</strong>, August 8, 2010 page 16 of 84