Specifications
Table Of Contents
Syntax: pltool <option>
  Show this help text:=
    pltool --h                                                               (or)
    pltool -h
  Test (RW) the scratchpad registers:=
    pltool --test                                                            (or)
    pltool -t
  Test default & writable registers:=
    pltool --test --default                                                  (or)
  Test Port interrupt:=
    pltool --test --interrupt                                                (or)
    pltool -t -i
  Test Reset:=
    pltool --test --reset                                                    (or)
    pltool -t -s
  Test Low Power mode:=
    pltool --test --lowpower                                                 (or)
    pltool -t -p
  List devices and registers:=
    pltool --list [--lstype=<devicetype>]                                    (or)
    pl  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
 -F, --default           Test option to test default registers
 -i, --interrupt         Test option to test Interrupt
 -s, --reset             Reset Test option
 -p, --lowpower          Low Power Test option
 -l, --list              List operation
 -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
64
Dell EMC DAIG-OS tools










