S32 debugger reset loop

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32 debugger reset loop

737 Views
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 Kudos
Reply
2 Replies

672 Views
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 Kudos
Reply

726 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You have to end the program somehow.

For example with while(1).

best regards,

Peter

0 Kudos
Reply