SDK 7.0.3: Error reporting Functionality

Based on user guide documentation of ‘Demonstration of Error Reporting Functionality’- DemoAppSwErr is used for demonstrating error reporting from Ccplex. I was able to report error using DemoAppSwErr.
Now, at FSI, Is there mechanism to receive the demonstrated error info and send to MCU via SPI for testing purpose. Can you please let us know how to demonstrate the error report end to end via SPI Is similar sample DemoApp available for FSI to MCU also? OR if you can suggest other possible way for verification it would be helpful.

Thank you!

Does that mean, you are asking for an application which runs in FSI which takes error info as parameter and sends error info to MCU?

yes, sample application similar to DemoAppSwErr.
Referring the steps in guide- Demonstration of Error Reporting Functionality — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide
I was able to create a SwErr upto step 2 in above demonstration, can you please guide for step 3 and step 4 i.e. FSI takes error info and sending to MCU

Dear @divya.bilimoria ,
When you run DemoAppSwErr , you should see messages in Aurix console and FSI console

Get FSI console log using tcu_muxer on docker

root@7.0.3.0-0010-linux-nsr:/drive/drive-foundation/tools/muxer/tcu_muxer# ./tcu_muxer -m T264 -d /dev/ttyACM0 -c CCPLEX/b=6,g=7 -s /home/nvidia/

FSI console log

root@7.0.3.0-0010-linux-nsr:/home/nvidia# cat FSI.txt
Time taken from Error Reporting to SEH: 3771264 microseconds
DemoApp: ErrCode-0x1234 ReptrId-0x8001 ErrAttr-0xabcd
EPS TimeStamp: 0xe0c83e46

Aurix console log

MCU_FOH: ErrReport: ErrorCode-0x1234 ReporterId-0x8001 Error_Attribute-0xabcd Timestamp-0xe0c83e467657dbbb

Hello @SivaRamaKrishnaNV ,

Thank you for the suggestion!

With the tcu_muxer command,Error propagation is demonstrated,but I got following error. Can you please share the reference from guide for tcu_muxer utility?
Invalid client name: CCPLE6,G=7
Invalid client config

On execution of error reporting demo I am setting error code as 0x22112222 at CCPLEX but, at FSI and MCU it was 0x2000000d. snippets attached.

MCU console:
image

Is there issue in communicating error info to FSI by CCPLEX and then sent to MCU? How to verify?Or, Is the mismatch of sent and received error due to invalid client at tcu_muxer?
Also, I understand the SPI configuration at MCU side is as per MCU_FOH Integration Steps — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide
How to verify/modify at FSI side, where to be checked at FSI?

Dear @divya.bilimoria ,
Could you please check doc at Tegra Combined UART and the tcu_muxer Utility — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide about tcu_muxer utility.
Could you please share full used command and log related to tcu_muxer?

Hello @SivaRamaKrishnaNV ,

PFA command execution of tcu_muxer
image

Dear @divya.bilimoria ,
Could you try with -c CCPLEX/b=6,g=7?

Hello @SivaRamaKrishnaNV ,

I was able to get FSI console log with mentioned command.
But the observation remains the same. Whatever different error reporter ID, error codes I set from CCPLEX, at FSI and MCU it was always the same log: ErrorCode-0x2000000d ReporterId-0x8120 Error_Attribute-0x0 Timestamp-0x0. Where can I get the description for reporterId-0x8120 and corresponding ErrorCode?

At MCU-

image

Looks like error report is not reaching FSI. Is there any additional steps required for CCPLEX to be able to propagate the error to FSI by DemoAppSwErr?

Can you please comment on this too? I could not find most of the files from the mentioned list- Files — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide for FSI side config

I notice, if we use Error Reported ID above 0x8000, Issue is not noticed and I can see messages on FSI console as well.

The FSI files mentioned are not part of devzone release. Please contact your NVIDIA representative to sign necessary agreements, access and support on this.

Thank you @SivaRamaKrishnaNV for support!
I was able to see the same error at FSI and MCU as reported at CCPLEX.

Is this condition (error reporter>0x8000) only applicable with demonstrating error reporting by DemoAppSwErr or we need to consider when implementing any errors in general?
Can you share the reference in document for any such conditions to be considered during implementation?

Dear @divya.bilimoria ,
The SW Reported error ID are above 0x8000 . I could not find info on Reported Error ID values in devzone documentation. Let me check internally and update you on this.

Hello @SivaRamaKrishnaNV ,

With DemoAppSwErr, we simulate Error reporting functionality from SOC to MCU. Similarly, how can we verify error reporting from MCU to SOC? Is there a way to induce the error via MCU console or DemoApp if any?
Also, can we propagate only the fixed Error codes from MCU as listed in snippet below, OR, We can communicate any other Error codes from MCU ?

Hi @SivaRamaKrishnaNV ,
Can you please share your comments on this query?
Thank you!