12 Appendix: Error Codes

The system controller executes system service requests from the design. When a service is completed, a status code is returned to the user application. This status code can be 0 (success) or an 8-bit error code. The following table lists the error codes.

Table 12-1. Error Codes
Error CodeDescriptionExplanation
1Validator or hash chaining mismatchBitstream is constructed incorrectly, or a wrong security key is used.
2Unexpected data receivedAdditional data is received after the End of the Bitstream (EOB) component.
3Invalid/corrupt encryption keyRequested key mode is disabled, or the key could not be read or reconstructed.
4Invalid component headerBitstream contains invalid component data.
5Back level not satisfiedBitstream version is older than that of the current back level in the device.
6Illegal bitstream modeRequested bitstream mode is disabled by user security.
7DSN binding mismatchBitstream is rejected because the Device Serial Number (DSN) in the bitstream does not match the DSN on the device.
8Illegal component sequenceBitstream ends in the ERR state, meaning it is an illegal bitstream.

Every bitstream begins in the BEGIN state, but only a legal bitstream ends in the END state.

9Insufficient device capabilitiesBitstream is rejected because the capabilities specified in the bitstream do not match the target device’s capabilities.
10Incorrect DEVICEIDBitstream is rejected because an attempt by the DEVICEID specified in the bitstream does not match the part identification field of the target device.
11Unsupported bitstream protocol version (regeneration required)Bitstream is rejected because of an attempt made by the old device to decode the new version of bitstream or by the new device to decode the old version of the bitstream.
12Verify not permitted on this bitstreamWhen the device programs the bitstream with encryption keys, it is not possible to use the bitstream later to verify the device contents because the device refers to the modified encryption keys.
13Invalid device certificateDevice certificate is missing or invalid.
14Invalid DIBDevice integrity bits are invalid.
21Device not in SPI master modeBitstream is executed in IAP mode, but the device is not configured as SPI master.
22No valid images found (auto update)Bitstream is executed through auto update mode, but no valid image pointers are found.
23No valid images found (IAP)Bitstream is executed through IAP via index mode, but no valid image pointers are found.
24Programmed design version newer than auto update imageBitstream is executed through auto update mode, and the design version is the latest.
25Reserved
26Selected image invalid and no recovery performed because the device is running a valid designBitstream is executed through auto update or IAP mode, and the selected image is invalid.
27Selected recovery image failed to programBitstream is executed through auto update or IAP mode, and the selected recovery image failed to program the device.
127AbortA non-bitstream instruction is executed during bitstream loading.
128NVMVERIFYFabric/security key segment verification failed.
129PROTECTEDThe device non-volatile memory cannot be modified because of device security settings.
130NOTENAProgramming mode is not enabled.
131SNVMVERIFYThe sNVM verify operation failed.
132SYSTEMAn error occurred in the system hardware (PUF or DRBG).
133BADCOMPONENTAn error is detected in a component’s payload.
134HVPROGERRThe HV programming subsystem has failed.
135HVSTATEThe HV programming subsystem is in an unexpected state because of an error.