Debug Services (For PolarFire SoC FPGA only)

The following table lists all the Debug system services with their command values, description, and return status code.

Table 1. Debug System Services
System Service Name SERVICECMD in Hexadecimal Description Return Status Code
Probe Read Debug Service 70 Reads the content of a probe module (59 x 18-bit words).
  • 0: Success
  • 1: SECERR

    (Blocked by Device security. This occurs when the permanent debug lock is set or the user software debug lock is active or the device is in the virgin state.)

Probe Write Debug Service 71 Writes up to 18 bits of data to the selected probe address.
Live Probe Debug Service 72, 73 Configures channel A or B of the live probe system.
MEM Select Debug Service 74 Specifies a target fabric memory for the MEM read and MEM write services to access.
  • 0: Success
  • 1: SECERR

    (Blocked by Device security. This occurs when the permanent debug lock is set or the user software debug lock is active or the device is in the virgin state.)

  • 2: TIMEOUTERR
  • 3: LOCKERR

    (Target memory fail to lock.)

MEM Read Debug Service 75 An interface to read data from the memory peripheral.
  • 0: Success
  • 1: SECERR

    (Blocked by Device security. This occurs when the permanent debug lock is set or the user software debug lock is active or the device is in the virgin state.)

  • 2: TIMEOUTERR
  • 3: LOCKERR

    (Target memory fail to lock.)

  • 4: AXI Error
  • 5: AXI Timeout Error
MEM Write Debug Service 76 An interface to write data to the memory peripheral.
APB Read Debug Service 77 Reads a specified number of bytes from the fabric APB bus to the specified MSS RAM area.
  • 0: Success
  • 1: SECERR

    (Blocked by Device security. This occurs when the permanent debug lock is set or the user software debug lock is active or the device is in the virgin state.)

  • 2: SLVERR

    (Bus transaction error.)

  • 3: TIMEOUT
  • 4: AXI Error
  • 5: AXI Timeout Error
APB Write Debug Service 78 Writes bytes of data to the current fabric APB address as specified by APBADDR.
Debug Snapshot Service 79 Generates a snapshot of the volatile fabric content.
  • 0: Success
  • 1: SECERR

    (Blocked by Device security. This occurs when the permanent debug lock is set or the user software debug lock is active or the device is in the virgin state.)

  • 2: BUSERR

    (This may occur when the fabric power is off, or the fabric APB slave flagged an error, or the fabric APB slave is slow to assert PREADY Signal.)

Terminate Debug Service 7E To end the debug session. 0: Success