Specifications
Table Of Contents
- Open Networking Hardware Diagnostic Guide April 2016
- About this Guide
- Installation Instructions for ONIE and the Dell OS
- ONIE Overview
- Dell DIAG OS
- Dell DiagOS Tools
- Technical Support
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 the SDI database provides. If a
mismatch occurs, an error displays.
CLI Options
Dell Diag - Programable Logic Tool
version 1.5, 1.10
build, 2014/11/10,
Syntax: pltool <option>
--h := show this help test
--test := test (RW) the scratchpad registers
--list <--lstype=devicetype> := list devices and registers (empty for all)
--listdevicenames := list device names with address
If multiple devices have the same device addr, pass the --devname additionally
--read <--devname=deviceName> <--dev=deviceaddr>
<--reg=reg> := read the specified register of the dev(--dev=0 for lpc access)
--write <--devname=deviceName> <--dev=deviceaddr>
<--reg=reg> <--val=value> := write at the specified register of the dev(--dev=0
for lpc access)
• list — Lists all the devices and registers within the device and the bit-level definitions.
• test — Asks SDI for the testable registers and values within a device and the testable bit mask. It reads
the register, masks-out the untestable bits and compares the result. It tests for all devices.
• listdevicenames — Lists all the devices with a name to avoid confusion between devices that share
the same address.
• devname and dev — Reads and writes the address and name from the listdevicenames option for
the specified device.
• read — Reads a register within a device. The device address and register offset are found by either
documentation or the
list command.
• write — Writes the device’s register with the supplied value. The device address, register offset, and bit
width of the register are found by either documentation or the
list command.
Dell DiagOS Tools 77










