Monitor: EEPROM/I2C Commands

eeprom read devaddr addr off cnt eeprom write devaddr addr off cnt

icrc32

The icrc32 computes a CRC32 checksum.

DEFINITION: icrc32 chip address[.0, .1, .2] count

iloop

The iloop command reads in an infinite loop on the specified address range.

DEFINITION: iloop chip address[.0, .1, .2] [# of objects]

imd

The imd command displays I2C memory. For example:

imd 53 1800.2 100

displays 100 bytes from offset 0x1800 of I2C device 0x53 (right-shifted 7-bit address). The

.2 at the end of the offset is the length, in bytes, of the offset information sent to the device. The serial EEPROMs all have two-byte offset lengths. The RTC has a one-byte offset length. The temperature sensors have zero-byte offset lengths.

DEFINITION: imd chip address[.0, .1, .2] [# of objects]

imm

The imm command modifies I2C memory and automatically increments the address.

DEFINITION: imm chip address[.0, .1, .2]

imw

The imw command writes (fills) memory.

DEFINITION: imw chip address[.0, .1, .2] value [count]

inm

The inm command modifies I2C memory, reads it, and keeps the address.

DEFINITION: inm chip address[.0, .1, .2]

iprobe

The iprobe command probes to discover valid I2C chip addresses.

DEFINITION: iprobe

11-16

PmPPC7448 User’s Manual

10006757-02

Page 118
Image 118
Emerson PMPPC7448 user manual Icrc32, Iloop, Imd, Imm, Imw, Inm, Iprobe