S32 debugger reset loop

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32 debugger reset loop

732件の閲覧回数
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 返答(返信)

667件の閲覧回数
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 件の賞賛
返信

721件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You have to end the program somehow.

For example with while(1).

best regards,

Peter

0 件の賞賛
返信