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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
389 次查看
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?

标签 (1)
标记 (4)
0 项奖励
回复
1 解答
359 次查看
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 项奖励
回复
1 回复
360 次查看
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 项奖励
回复