Setup Guide

Usage:
-h, --h Show the help text
-n, --scan Scan operation
-t, --test Test using the pre-programmed configuration or use supplied config
-r, --read Read operation
-w, --write Write operation
-N, --no_data Write operation without data
-f, --config= To specify the location of the config file e.g. /etc/dn/diag/
<file_name>
-C, --count= Count
-R, --reg= Register
-o, --reg16= Register(16 bit addressing)
-V, --val= Value to be set
-W, --width= Width {8,16}
-b, --buspath= To specify the i2c bus e.g.: /dev/i2c-<bus number>
-a, --addr= Address
-F, --flag= Misc I2C flag, such as PEC write
-D, --display_size= Display size, {1,2,4} of bytesDisplay size, {1,2,4} of bytes
-I, --iteration= Iteration command execution
root@dellemc-diag-os:~#
scan and test Output
root@dellemc-diag-os:~# i2ctool --scan
/dev/i2c-0:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: RR RR RR RR RR RR RR RR -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 31 -- -- 34 35 36 -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- 48 -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- RR RR RR RR RR RR RR RR
/dev/i2c-1:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: RR RR RR RR RR RR RR RR -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- 2c -- -- --
30: -- 31 32 -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- 49 4a 4b 4c -- -- 4f
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- 71 -- -- -- -- -- -- RR RR RR RR RR RR RR RR
I2C devices found on bus #0: 8
0x30 0x31 0x34 0x35 0x36 0x44 0x48 0x50
I2C devices found on bus #1: 9
0x2c 0x31 0x32 0x49 0x4a 0x4b 0x4c 0x4f
0x71
root@dellemc-diag-os:~# i2ctool --test
Testing I2C devices:
Checking I2C devices on bus 0:
+ Checking CPU board Thermal Sensor_TMP75AI 0x48 ..... Passed
+ Checking SPD EEPROM_M34E04 0x50 ..... Passed
Checking I2C devices on bus 1:
+ Checking CPU CPLD 0x31 ..... Passed
+ Checking SYSTEM CPLD 0x32 ..... Passed
+ Checking I2C Switch 0x71 ..... Passed
+ Checking Main Board ID 0x50 ..... Passed
Dell EMC DIAG-OS tools
37