Specifications

Table Of Contents
Output
list Output
root@dell-diag-os:/etc/dn/diag# 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
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
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:/etc/dn/diag# pltool --read --dev=0 --reg=0x100
CPLD_VERSION : offset 0x100 = 0x3
7: 4 MAJOR_VER = 0
3: 0 MINOR_VER = 3
CPLD2-4 having the same device address, needs to use the devixcename as such
root@dell-diag-os:/etc/dn/diag# pltool --read --devname=CPLD3 --reg=0x10
zQSFP_RESET_CTRL0 : offset 0x10 = 0xff
7 zQSF20_RST = 1
6 zQSFP19_RST = 1
5 zQSFP18_RST = 1
4 zQSFP17_RST = 1
3 zQSFP16_RST = 1
2 zQSFP15_RST = 1
1 zQSFP14_RST = 1
0 zQSFP13_RST = 1
read Output
ONIE:/diag # ./pltool --read --dev=0x33 --reg=0x0
QSFP[8:1] Mode Control Reg : offset 0x00 = 0xff
7 QSFP8_ModeSel = 1
6 QSFP7_ModeSel = 1
5 QSFP6_ModeSel = 1
4 QSFP5_ModeSel = 1
3 QSFP4_ModeSel = 1
2 QSFP3_ModeSel = 1
1 QSFP2_ModeSel = 1
Dell DiagOS Tools 78