Dear Sir,
I am using s32k144 to develop a project with IAR as It is requested BY OEM . It needs to run core self test after POR. I try to porting S32K144_M4SCST_1.0.6_D2106 to IAR . But it fails to pass as SCST . I want to know whether there is the SCST demo code in IAR or how to change the linker file of IAR anf INIT CODE for SCST.
My test code is as below: void main(void)
{ uint8_t * m4_scst_test_shell_data_dest;
uint8_t * m4_scst_test_shell_data_src;
uint8_t * m4_scst_test_shell_data_src_end;
#pragma section = ".m4_scst_test_shell_data"
#pragma section = ".m4_scst_test_shell_data_init"
m4_scst_test_shell_data_dest = __section_begin(".m4_scst_test_shell_data"); m4_scst_test_shell_data_src=__section_begin(".m4_scst_test_shell_data_init"); m4_scst_test_shell_data_src_end = __section_end(".m4_scst_test_shell_data_init");
while (m4_scst_test_shell_data_src_end != m4_scst_test_shell_data_src)
{ *m4_scst_test_shell_data_dest = *m4_scst_test_shell_data_src;
m4_scst_test_shell_data_dest++; m4_scst_test_shell_data_src++;
}
result = m4_scst_execute_core_tests(0U,43U);