Peter Dufault

Single step only with flash - no breakpoint available

Discussion created by Peter Dufault on Feb 21, 2008
Latest reply on Feb 21, 2008 by Peter Dufault
I am using CW 6.4 with P&E Multilink USB-ML-CF Rev C. The processor is MCF5235.

Debug, breakpoints, and all that work fine when running from RAM. However, when running from flash, I cannot set any breakpoints, and I cannot step over functions. Therefore, the entire debug session consists of single steps. Right now I have a Tcl loop of 30,000 single step iterations running in the command window to get through the memory initialization loop.

According to CodeWarrior, all breakpoints are disabled and all watchpoints are disabled. Options to clear them are grayed out - implying that there are none. The View -> Breakpoints window does not list any breakpoints / eventpoints / etc.

When I have the program just run, sometimes it crashes and winds up in a "halt" instruction, and sometimes it stops at a function as if there was a persistant breakpoint there.

The flash erase / program / power up sequences don't seem to have any effect on this behavior.

Is this the normal expected behavior of this system or is there something I can do to improve it?