Reference Guide

pltool
To test functionality of the CPLD and FPGA devices on the boards during startup, use the pltool.
The pltool also checks for the correct firmware loads. The tool uses the CLI to list the devices and their registers, and allows you to
read and write registers in the device. The read functionality prints the details to the bit level and also any bit groupings and their
meanings. The tool uses the SDI interface to get a list of devices and registers in the system, and then uses SDI to access the devices.
Tests
The pltool tests specified registers and values SDI identifies in the testable bits of the register. The tool reads the register using SDI
interfaces and compares the testable bits from those bits the SDI database provides. If a mismatch occurs, an error displays.
CLI options
Syntax: pltool <option>
Show this help text:=
pltool --h (or)
pltool -h
Test (RW) the scratchpad registers:=
pltool --test (or)
pltool -t
List devices and registers:=
pltool --list [--lstype=<devicetype>] (or)
pltool -l [-T <devicetype>]
List device names with address:=
pltool --listdevicenames [--devname=<devicename>] (or)
pltool -L [-n <devicename>]
Execute repeatedly command by count:=
pltool --iteration=max/<count> [option1] [option2]... (or)
pltool -I max/<count> [option1] [option2]...
Read the specified register of the device:=
pltool --read --devname=<devicename> --dev=<deviceaddr> --reg=<register> (or)
pltool -r -n <devicename> -D <deviceaddr> -R <register>
Write at the specified register of the device:=
pltool --write --devname=<devicename> --dev=<deviceaddr> --reg=<register> --
val=<value> (or)
pltool -w -n <devicename> -D <deviceaddr> -R <register> -V <value>
Dump all of the registers in a device or all devices and thei rcurrent values:=
pltool --dump [--devname=<devicename>] [--dev=<deviceaddr>] (or)
pltool -d [-n <devicename>] [-D <deviceaddr>]
Usage:=
-h, --h Show the help text
-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
46
Dell EMC DIAG OS tools