S32 debugger reset loop

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32 debugger reset loop

808 次查看
kfirbs
Contributor III

Trying to set a debug with OPENSDA and stop after main.

 

The problem is that after main() has the return value, the board resets.

 

I am using MPC5748G, the main() looks as follows:

int main(void)
{
    board_init();
    printf("version : %d", get_version());
    return 0;
}

 

How to stop S32from resetting the board every time?

0 项奖励
回复
2 回复数

743 次查看
Elsa_24
Contributor II

Hello Kfirbs,
I am a beginner and I am also working with the MPC5448G. Please I would like to know how you use the printf with the MPC5448G

Thanks

0 项奖励
回复

797 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You have to end the program somehow.

For example with while(1).

best regards,

Peter

0 项奖励
回复