Demonstration of Error Reporting Functionality#

DemoAppSwErr is used for demonstrating error reporting from Ccplex. It is packaged in the SDK. Copy DemoAppSwErr to the target or rebuild IFS including DemoAppSwErr.

Reporting Software Detected Error from CCPLEX#

  1. Launch DemoAppSwErr from the Guest OS console. DemoAppSwErr is present in ./opt/nvidia/drive-linux/samples/Epl/DemoAppSwErr. Go to this directory and start the app. Once started, it displays the below options.

linux_image1

  1. Select option s to report software error. After selecting s, enter the details for software error: 1. Enter 2 bytes ReporterId.

2. Enter 2 bytes Error Code.

3. Enter 4 bytes Error Attribute.

On successful reporting of software error, DemoAppSwErr displays the reported software error details on Guest OS console:

linux_image2

  1. On FSI console, the reported error is displayed as below (prints from SafetyServicesDemoApp.c on FSI):

 Time taken from Error Reporting to SEH: 113 microseconds
DemoApp: ErrCode-0x1234 ReptrId-0x8001 ErrAttr-0xabcd
EPS TimeStamp: 0xb1c30340
  1. On MCU, console reported critical failure report is displayed as below (prints from MCU FOH):

NvShell>MCU_FOH: ErrReport: ErrorCode-0x1234 ReporterId-0x8001 Error_Attribute-0xabcd Timestamp-0xb1c30340