Reference Guide

-t, --test Test using the pre-programmed configuration or use supplied
config
-l, --list List the understood TLV codes and names
-T, --lstype Device type
-L, --listdevicenames List Device name
-r, --read Read operation
-w, --write Write operation
-I, --iteration= Iteration command execution
-n, --devname= Device name
-D, --dev= Device
(should be assigned 0 for lpc access)
-R, --reg= Register
-V, --val= Value to be set
-d, --dump Dump the values in the registers of a device
Output
list output
root@dell-diag-os:~# pltool --list
CPLD1 0 cpld lpc 0 (U5)
0x100 CPLD_VERSION bits:8 RO val:0 mask:0xff test:0 ver:0x0
7:4 MAJOR_VER RO 0
3:0 MINOR_VER RO 0
0x101 BOARD_TYPE bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7:0 BOARD_TYPE RO 0x1
3 <platform> Board
0x102 SW_SCRATCH bits:8 RW val:0xde mask:0xff test:1 ver:0x0
7:0 SW_SCRATCH RW 0xde
0x103 CPLD_ID bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7:0 CPLD_ID RO 0x1
0x10f BOARD_REV bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7:0 BOARD_REV RO 0
0x110 CPLD_SEP_RST0 bits:8 RO val:0xff mask:0xff test:0 ver:0x0
7 Reset Extender CPLD 4 RW 0x1
0 Reset
1 Not Reset
6 Reset Extender CPLD 3 RW 0x1
0 Reset
1 Not Reset
5 Reset Extender CPLD 2 RW 0x1
0 Reset
1 Not Reset
4 PCA9548_RST7 RW 0x1
0 Reset
1 Not Reset
3 PCA9548_RST6 RW 0x1
0 Reset
1 Not Reset
2 PCA9548_RST5 RW 0x1
0 Reset
1 Not Reset
1 PCA9548_RST4 RW 0x1
0 Reset
1 Not Reset
listdevicenames output
Based from the output of --devicenames, you can decide if you need to use the --devname= option in the read or write
functions. You can access CPLD1 being at deviceaddress 0, using the register value for the register you want, such as:
root@dell-diag-os:~# pltool -listdevicenames
0x0 : CPLD1
0x3e : CPLD2
0x3e : CPLD3
Dell EMC DIAG OS tools
73