S32G SAF Sboot GMAC tests - Configuration to disable tests not specific to derivative.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G SAF Sboot GMAC tests - Configuration to disable tests not specific to derivative.

Jump to solution
351 Views
Irshad2225
Contributor III

Hi, 

While testing the Sboot GMAC tests for S32G3, below mentioned tests are failing.

  1. PrtyenTest
  2. TmoutenTest
  3. NtmrdTest
  4. LtmrdTest

When debugged, the above configuration tests will pass when the mentioned Automotive Safety Parameter MACROS are enabled.

  • FEATURE_GMAC_ASP_ALL
  • FEATURE_GMAC_ASP_ECC

When checked the generate_PC/include/GMAC_Ip_Feature.h, for the S32G3 observed above mentioned macros are disabled. Attached snapshots below.
gmac1.png

 

gmac2.pngHi

 

Is there any configuration to bypass these tests and perform only relevant sboot_GMAC tests?

Labels (1)
0 Kudos
Reply
1 Solution
321 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @Irshad2225,

Thanks for reaching out to us. About your question, the checking the code I did not find any official procedure to activate the macros for S32G family, as you have seen inGmac_Ip_Features.h the macros values depend on the chip family you are using, and they are 1 only for s32k3 family. I cannot recommend changing the value manually since it is not a supported configuration. The only recommendation do is to enable the safety mechanisms related to each of the mentioned tests, please check the following sections of the GMAC reference manual [GMAC Subsystem RM, Rev. 2, 02/2023]:

1.14.2 FSM Parity and Timeout Protection (and all its subsections)

1.16.16 Programming Guidelines for FSM Parity and Timeout

 

Following the information in those sections you will be able to see how to configure the needed registers for the relevant mechanism.

If you need to quickly test without the problematic test you can temporarily remove them from the following structure:

alejandro_e_0-1750377510410.png

 

Please note that this recommendations is only for developing proposes, modifying the safety code provided by NXP in this way may result in a negative impact in the safety certifications for the software.

 

Let me know if you have more questions.

 

 

 

View solution in original post

0 Kudos
Reply
1 Reply
322 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @Irshad2225,

Thanks for reaching out to us. About your question, the checking the code I did not find any official procedure to activate the macros for S32G family, as you have seen inGmac_Ip_Features.h the macros values depend on the chip family you are using, and they are 1 only for s32k3 family. I cannot recommend changing the value manually since it is not a supported configuration. The only recommendation do is to enable the safety mechanisms related to each of the mentioned tests, please check the following sections of the GMAC reference manual [GMAC Subsystem RM, Rev. 2, 02/2023]:

1.14.2 FSM Parity and Timeout Protection (and all its subsections)

1.16.16 Programming Guidelines for FSM Parity and Timeout

 

Following the information in those sections you will be able to see how to configure the needed registers for the relevant mechanism.

If you need to quickly test without the problematic test you can temporarily remove them from the following structure:

alejandro_e_0-1750377510410.png

 

Please note that this recommendations is only for developing proposes, modifying the safety code provided by NXP in this way may result in a negative impact in the safety certifications for the software.

 

Let me know if you have more questions.

 

 

 

0 Kudos
Reply