When errors are detected during PDI load, the PLM writes the error code to the PLM_FW_ERROR register.
Alternatively, you can read the PLM error from the JTAG Error Status command. The error is logged in the following format.
Error code: 0xXXXXYYYY
- XXXX
- Major error code. The PLM/XilLoader/XPLMI error codes are defined in
xplmi_status.h
. - YYYY
- Minor error code. This is the Libraries/Drivers error code defined in each module.