You can capture the overall PMC status and error status using the jtag_status and error_status commands from XSCT.
xsct% device status jtag_status
- Check BOOT_MODE [15:12] bits
- Check DONE [34] bit – This indicates configurations completed
- Ensure the voltages supplies are detected successfully – Bits [8:11] should be asserted
xsct% device status error_status
- Expected
error_statusvalue is0x0after board is power cycled and Power-on reset (POR) is asserted
| Bit | Field | Description |
|---|---|---|
| 35 | RESERVED | Reserved |
| 34 | DONE | Boot and configuration status indicator A value of 1 on DONE indicates boot and configuration is complete |
| 33 | JRDBK ERROR | JTAG readback status indicator A value of 1 on JRDBK indicates an error reading data from SBI |
| 32 | JCONFIG ERROR | JTAG data load error indicator A value of 1 means the SBI is not ready to accept data |
| 31:28 | PMC VERSION | PMC version |
| 27:24 | RESERVED | Reserved |
| 23 | JTAG SEC GATE | Security gate status A value of 1 means DAP AXI transactions are allowed |
| 22 | RESERVED | Reserved |
| 21 | PMC SCAN CLEAR DONE | Scan clear done indication A value of 1 means the scan clear is complete |
| 20 | PMC SCAN CLEAR PASS | Scan clear pass indication A value of 1 means the scan clear passed |
| 19:16 | RESERVED | Reserved |
| 15:12 | BOOT MODE [3:0] | Boot mode value captured from the MODE pins at release of POR_B |
| 11 | VCC_PMC DETECTED | VCC_PMC supply detected |
| 10 | VCC_PSLP DETECTED | VCC_PSLP supply detected |
| 9 | VCCINT DETECTED | VCCINT supply detected |
| 8 | VCC_SOC DETECTED | VCC_SOC supply detected |
| 7 | AES KEY ZEROIZED | AES key zeroized indicator A value of 1 indicates all keys are zeroized |
| 6 | BBRAM KEY ZEROIZED | BBRAM key zeroized indicator A value of 1 indicates that the BBRAM key is zeroized |
| 5:4 | SELECTMAP BUS WIDTH | SelectMAP boot mode bus width detected 00 = No bus width detected 01 = SelectMAP 8-bit 10 = SelectMAP 16-bit 11 = SelectMAP 32-bit |
| 3 | SBI JTAG ENABLED | SBI JTAG indicator A value of 1 indicates the SBI is configured to receive data from the JTAG interface |
| 2 | SBI JTAG BUSY | SBI JTAG BUSY indicator A value of 1 indicates the SBI is BUSY and cannot accept data when in JTAG mode |
| 1 | RSVD_READS_0 | Reserved, returns 0 |
| 0 | RSVD_READS_1 | Reserved, returns 1 |
| Bit | Field | Description |
|---|---|---|
| 159:155 | RSVD_READS_0 | Reserved, returns 0 |
| 154:148 | RESERVED | Reserved |
| 147:136 | BOOTROM FIRST ERROR | BootROM first error code (FEC) detected |
| 135:124 | BOOTROM LAST ERROR | BootROM last error code (LEC) detected |
| 123:110 | PLM MAJOR ERROR | PLM major error code |
| 109:94 | PLM MINOR ERROR | PLM minor error code |
| 93:64 | GSW ERROR | General software error code for PLM |
| 63 | RESERVED | Reserved |
| 62 | BOOTROM NCR | BootROM non-correctable error Set by RCU BootROM during boot |
| 61 | PLM CR | Platform loader and manager boot correctable error Set by PLM during boot |
| 60 | PLM NCR | Platform loader and manager boot non-correctable
error Set by PLM during boot |
| 59 | GSW CR | General software correctable error after boot |
| 58 | GSW NCR | General software non-correctable error after boot |
| 57 | CFU ERROR | CFU error |
| 56 | CFRAME ERROR | CFRAME error |
| 55 | PSM CR | PSM correctable error |
| 54 | PSM NCR | PSM non-correctable error |
| 53 | DDRMC MB CR | DDRMC MicroBlaze correctable ECC error |
| 52 | DDRMC MB NCR | DDRMC MicroBlaze non-correctable ECC error |
| 51 | NOC CR | NoC correctable error |
| 50 | NOC NCR | NoC non-correctable error |
| 49 | NOC USER ERROR | NoC user error |
| 48 | MMCM LOCK ERROR | MMCM lock error |
| 47 | AIE CR | AI Engine correctable error |
| 46 | AIE NCR | AI Engine non-correctable error |
| 45 | DDRMC MC ECC CR | DDRMC MC (memory controller) correctable ECC error |
| 44 | DDRMC MC ECC NCR | DDRMC MC (memory controller) non-correctable ECC error |
| 43 | GT CR | GT correctable error |
| 42 | GT NCR | GT non-correctable error |
| 41 | SYSMON CR | SYSMON correctable error |
| 40 | SYSMON NCR | SYSMON non-correctable error |
| 39 | USER PL0 ERROR | User-defined PL error |
| 38 | USER PL1 ERROR | User-defined PL error |
| 37 | USER PL2 ERROR | User-defined PL error |
| 36 | USER PL3 ERROR | User-defined PL error |
| 35 | NPI ROOT ERROR | NPI root error |
| 34 | SSIT ERROR3 | SSI technology SLR error |
| 33 | SSIT ERROR4 | SSI technology SLR error |
| 32 | SSIT ERROR5 | SSI technology SLR error |
| 31 | PMC APB ERROR | PMC APB error. Includes errors from registers: PMC_LOCAL, PMC_GLOBAL, CRP, PMC_IOP_SECURE_SLCR, PMC_IOP, BBRAM_CTRL, PMC_ANLG, RTC |
| 30 | PMC BOOTROM ERROR | PMC BootROM validation error |
| 29 | RCU HARDWARE ERROR | RCU hardware error |
| 28 | PPU HARDWARE ERROR | PPU hardware error |
| 27 | PMC PAR ERROR | PMC switch and PMC IOP parity errors |
| 26 | PMC CR | PMC correctable errors |
| 25 | PMC NCR | PMC non-correctable errors |
| 24 | PMC SYSMON0 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 23 | PMC SYSMON1 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 22 | PMC SYSMON2 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 21 | PMC SYSMON3 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 20 | PMC SYSMON4 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 19 | PMC SYSMON5 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 18 | PMC SYSMON6 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 17 | PMC SYSMON7 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 16 | PMC SYSMON8 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 15 | PMC SYSMON9 ALARM | PMC temperature shutdown alert and power supply failure detection errors from SYSMON |
| 14 | CFI NCR | CFI non-correctable error |
| 13 | SEU CRC ERROR | SEU CRC error |
| 12 | SEU ECC ERROR | SEU ECC error |
| 11:10 | RSVD_READS_0 | Reserved, returns 0 |
| 9 | RTC ALARM | RTC alarm error |
| 8 | NPLL ERROR | PMC NPLL lock error |
| 7 | PPLL ERROR | PMC PPLL lock error |
| 6 | CLOCK MONITOR ERROR | Clock monitor errors |
| 5 | PMC TIMEOUT ERROR | PMC interconnect timeout errors from interconnect mission interrupt status register, interconnect latent status register, and timeout interrupt status register |
| 4 | PMC XMPU ERROR | PMC XMPU errors from register access error on APB. Includes read permission violation, write permission violation or security violation |
| 3 | PMC XPPU ERROR | PMC XPPU errors from register access error on APB. Includes Master ID not found, read permission violation, Master ID access violation, Master ID parity error, TrustZone violation |
| 2 | SSIT ERROR0 | SSI technology SLR error |
| 1 | SSIT ERROR1 | SSI technology SLR error |
| 0 | SSIT ERROR2 | SSI technology SLR error |