17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Serial Presence Detect (SPD) Checksum Calculation<br />

Vital Product Data (VPD) Introduction<br />

The checksum field (Byte 63) designates the checksum for checking data<br />

integrity (similar to parity) for bytes 0-62. It is written during board<br />

production and can be used to verify the data integrity for these bytes.<br />

The process for calculating the Checksum includes the following:<br />

1. Convert the binary information in byte locations 0-62 to decimal.<br />

2. Add together (sum) all decimal values for addresses 0-62.<br />

3. Divide the sum by 256.<br />

4. Convert the remainder to binary (will be less than 256).<br />

5. Store the result (single byte) in address 63 as “Checksum.”<br />

Note The same result can be obtained by adding the binary values in<br />

addresses 0-62 and eliminating all but the low order byte. The<br />

low order byte is the “Checksum.”<br />

http://www.motorola.com/computer/literature B-15<br />

B

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

Saved successfully!

Ooh no, something went wrong!