My installed components are CW 6.2 with the LL16 service pack and 6.2.2 patch installed. However, the CW About box says IDE version 5.9.0 and the debugger About box says V6.1 build 8127. I am also using the USBmultilink Interface to my target.
While in debug, my program will run and single step. But right clicking the code window for enabling break points and run to cursor starts execution, but the MCU does not stop. I have to hit STOP and then the program stops, but does not stop at the breakpoint or at the run to cusor. It seems to be ignoring breakpoints although they are highlighted with the red arrow. The halt box is also greyed out (sometimes).
I have not had this problem before using other HCS08 parts. Not sure what is going on here...
Perhaps I should uninstall all products and re-install CW6.3?
Thank you!
Solved! Go to Solution.
Hello Tom,
I suspect the problem might be related to the LL16 service patch.
I'd recommend you to install the latest CodeWarrior version 6.3 + v6.3.1 update available here:
Stanish
Find the compiler version below IDE -> About -> Installed Products. Read the top line. They really made an effort to hide it away well...
Anyway, it sounds like you are debugging optimized code. Try to disable all optimizations with the compiler option "disable optimizations". Can you single step through the code where you are placing the break points, or does it just skip past it?
Thank you for your reply.
I checked the version info, but it only shows the service packs, 6.2 release and 6.2.2 patch. I do not see any version info for the compiler.
The breakpoints do not trigger the program to stop. And ';run to cursor' is the same as hitting run. But for some reason, single step does work even if I hit halt.
I am thinking a re-install may be the quickest way to fix this problem. Do you agree?
Hello Tom,
I suspect the problem might be related to the LL16 service patch.
I'd recommend you to install the latest CodeWarrior version 6.3 + v6.3.1 update available here:
Stanish