phycore_mpc5554 idle thread exits when GDB invoked

Peter Dufault dufault at hda.com
Tue Jun 3 11:19:37 UTC 2014


On Jun 2, 2014, at 02:54 , Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:

> 
> Maybe the debugger has a problem with the wait instruction?
> 

This is the MPC5554 and the wait instruction is only implemented on the 567X family (at least in our BSP).

I stumbled on something.  If I disconnect the ethernet it will work OK.  I also notice that if I hit a return at the serial console while within GDB it will do the same thing.  Something about trying to resume with an interrupt pending is screwing things up.  It mustn't be clock tick interrupts, though, or maybe the clock is stopped and restarted but the other interrupts remain pending.

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering





More information about the devel mailing list