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.

ソリューションへジャンプ
381件の閲覧回数
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 解決策
351件の閲覧回数
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 返信
352件の閲覧回数
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 件の賞賛
返信