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?
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
Hello,
You have to end the program somehow.
For example with while(1).
best regards,
Peter