Hello,
I am working in a program for automtive use, the code is bellow:
static void mst_SCST_RunGroup(const mst_stScstGrpDesc_Type *pstScstGrp)
{
uint32 u32ScstCumSig = KU32_ZERO;
u32ScstCumSig = m4_scst_execute_core_tests((uint32) pstScstGrp->Start, (uint32) pstScstGrp->End);
if (m4_scst_accumulated_signature == M4_SCST_TEST_WAS_INTERRUPTED)
{
RCM_ResetEcuWithCause();
}
}
the definition of test group is bellow:
const mst_stScstGrpDesc_Type mst_castScstGrpDesc[MST_KU8_TESTGROUP_COUNT]=
{
{ /* Test Group 0 */
.Start = 0u,
.End = 10u,
.Signature = 0x55AA52DEu
},
{ /* Test Group 1 */
.Start = 11u,
.End = 18u,
.Signature = 0xE2498B6Cu
},
{ /* Test Group 2 */
.Start = 19u,
.End = 21u,
.Signature = 0x660B341Bu
},
{ /* Test Group 3 */
.Start = 22u,
.End = 23u,
.Signature = 0xC2323B30u
},
{ /* Test Group 4 */
.Start = 24u,
.End = 25u,
.Signature = 0x9E2102BAu
},
{ /* Test Group 5 */
.Start = 26u,
.End = 31u,
.Signature = 0x928DDE60u
},
{ /* Test Group 6 */
.Start = 32u,
.End = 33u,
.Signature = 0x55AAE69Eu
},
{ /* Test Group 7 */
.Start = 34u,
.End = 38u,
.Signature = 0x15E0123Du
},
{ /* Test Group 8 */
.Start = 39u,
.End = 43u,
.Signature = 0x980FEBBBu
}
};
The problem is that the test is interrupted in the first test of the table.
Any Idea about how to resolve or diagnostic this problem?
Thank you in advance!