beautypg.com

Appendix i – configuration file image format, Appendix i, Configuration file image format – PNI SENtral User Manual

Page 40: Table a1-1: configuration file image format, Appendix i – configuration file, Image format. s, Appendix, I – configuration file image format

background image

PNI Sensor Corporation

Doc #1018049 R03

SENtral Technical Data Sheet

Page 39

Appendix I

– Configuration File Image Format

Table A1-1 provides the format for the Configuration File image. While understanding the

Configuration File image format is not mandatory for operation, it can be useful when debugging

errors.

Table A1-1: Configuration File Image Format

Byte Index

Content

Note

0x00

Magic Number Lower Byte

0x2A is expected value

0x01

Magic Number Upper Byte

0x65 is expected value

0x02 & 0x03

Flags

Bit [0]

– EEPROMExec

0 = Execute after EEPROM

upload (default)

1 = Do not execute after

EEPROM upload

Bits [8] to [10]

– I2CClockSpeed

000

– 1 Mbit/s

001

– 833 kbit/s

010

– 400 kbit/s

011

– 333 kbit/s

100

– 100 kbit/s

Others

– 83 kbit/s

Bits [11] to [14]

– ROMVerExp.

0001

– version 0x7A8

0010

– version 0x9E6

0x04 to 0x07

CRC32 of uploaded image

Stored in Little Endian Format

0x08 to 0x0B

Reserved

0x00000000

0x0C & 0x0D

Uploaded Image Length (UIL)

Stored in Little Endian Format

0x0E & 0x0F

Reserved

0x0000

0x10 to
0x10+UIL-46

Uploaded Image

– Instructions &

Configuration File Data

CRC32 is calculated over

uploaded image

0x10+UIL-45 to
0x10+UIL-1

Uploaded Image

–Config. File

Data Structure. See Table A1-2.