Hi,
While testing the Sboot GMAC tests for S32G3, below mentioned tests are failing.
When debugged, the above configuration tests will pass when the mentioned Automotive Safety Parameter MACROS are enabled.
When checked the generate_PC/include/GMAC_Ip_Feature.h, for the S32G3 observed above mentioned macros are disabled. Attached snapshots below.
Hi
Is there any configuration to bypass these tests and perform only relevant sboot_GMAC tests?
Solved! Go to Solution.
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:
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.
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:
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.