Hi, I have started debugging an application in S32 IDE, After getting stop in main function, When I do step in, It directly jumps to some task even without initializing & starting OS.
Below is the code which I am trying to debug. When i start debugging, Breakpoints hits the main function & on very next step in, instead of going function CPU_IntDis(), It directly hits the some task. Which I think should only be started when scheduler will schedule it.
int main(void) {
OS_ERR osErr;
ERR_E err;
//disable all interrupts
CPU_IntDis();
INIT_sysClk(&err);
if (err != ERR_OK) {
while(TRUE);
}
OSInit(&osErr);
SCHTask_init();
OSStart(&osErr);
while(TRUE);
return 0;
}
已解决! 转到解答。
Isn't your project created for older S32DS version (v1.1)? In v1.2 are changes in linker file and you need perform linker file update. Here are details: https://community.nxp.com/docs/DOC-335361
Jiri
Isn't your project created for older S32DS version (v1.1)? In v1.2 are changes in linker file and you need perform linker file update. Here are details: https://community.nxp.com/docs/DOC-335361
Jiri