8 Error Messages and Troubleshooting Tips

The information in this chapter may help you solve or identify a problem when using SPI-DirectC code. See the following table for a description of exit codes and their solutions.

Table 8-1. Exit Code
Exit CodeError MessageAction/Solution
0This code does not indicate an error.This message indicates success
2Data processing failed.Solution:
  • Check the Vpump level.
  • Try with a new device.
  • Measure SPI pins and noise or reflection.
  • Load the correct DAT file.
6The IDCODE of the target device does not match the expected value in the DAT file image.Possible Causes:
  • The data file loaded is compiled for a different device. Example: M2S010 DAT file loaded to program M2S050 device.
  • Noise or reflections on one or more of the SPI pins causing incorrect read-back of the SDO bits.

Solution:

  • Choose the correct DAT file for the target device.
  • Cut down the extra length of ground connection.
7Device polling error.Solution:
  • Check the Vpump level
  • Try with a new device
  • Measure SPI pins and noise or reflection.
  • Load the correct DAT file.
8FPGA failed during the Erase operation.Possible Causes:
  • The device is secured, and the corresponding data file is not loaded. The device has been permanently secured and cannot be unlocked.

Solution:

  • Load the correct DAT file.
10Failed to program device.Solution:
  • Check Vpump level.
  • Try with a new device.
  • Measure the SPI pins and noise or reflection.
11FPGA failed verify.Possible Cause:
  • The device is secured, and the corresponding DAT file is not loaded.
  • The device is programmed with an incorrect design.

Solution:

  • Load the correct DAT file.
  • Check Vpump level.
  • Measure the SPI pins and noise or reflection.
18Failed to authenticate the encrypted data.Make sure the AES key used to encrypt the data matches the AES key programmed in the device.
25Device initialization failure.Solution:
  • Check Vpump level.
  • Try with a new device.
  • Measure the SPI pins and noise or reflection.
100CRC data error. Data file is corrupted or pro- gramming on system board is not successful.Solution:
  • Regenerate data file.
  • Reprogram data file into system memory.
150Request action is not found.Check spelling.
151Action is not supported because required data block is missing from the data file.Regenerate DAT file with the needed block/feature support.