24.05.2014 Views

Embedded EEPROM Specification - picmg

Embedded EEPROM Specification - picmg

Embedded EEPROM Specification - picmg

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2. Allows for the possibility of having data/structures outside the CRC.<br />

6.10.2 Block Elements<br />

6.10.2.1 CDBHdr<br />

See ' 6.1 Common Dynamic Block Header' on page 31.<br />

6.10.2.2 CrC16<br />

This two-byte field contains the calculated 16-bit CRC-CCITT (polynomial 0x1021) for previous bytes<br />

in the <strong>EEPROM</strong>. The following algorithm and data structures (shown in C) are to be followed in<br />

calculating and checking the code. The polynomial calculated with this algorithm is x16 + x12 + x5 + 1.<br />

6.10.2.3 Reserved0<br />

Pack Byte to align block size on 2 byte boundary.<br />

6.10.3 Example Block<br />

Table 6-20: CRC16 Block Example<br />

Offset Width Name Value Description<br />

0 1 Block Id 0xF2 CRC Block<br />

1 2 Block Length 3 Dynamic Block Size (Words)<br />

3 2 CRC16 0xA741 CRC16 Checksum<br />

5 1 Reserved0 0x00 Word Alignment Pack Byte<br />

PICMG® EEEP R1.0 <strong>Embedded</strong> <strong>EEPROM</strong> <strong>Specification</strong>, August 8, 2010 page 48 of 84

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!