LL16 debugger problem

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

LL16 debugger problem

Jump to solution
951 Views
TomHoag
Contributor II

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!

Labels (1)
Tags (1)
0 Kudos
1 Solution
518 Views
stanish
NXP Employee
NXP Employee

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:

 

http://cache.freescale.com/lgfiles/devsuites/HC08/CW_MCU_V6_3_SE.exe?fpsp=1&WT_TYPE=IDE%20-%20Debug,...

 

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=HC08-V6-3-PATCH1&location=null&fpsp...

 

Stanish

 

View solution in original post

0 Kudos
3 Replies
518 Views
Lundin
Senior Contributor IV

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?

 

 

0 Kudos
518 Views
TomHoag
Contributor II

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?

0 Kudos
519 Views
stanish
NXP Employee
NXP Employee

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:

 

http://cache.freescale.com/lgfiles/devsuites/HC08/CW_MCU_V6_3_SE.exe?fpsp=1&WT_TYPE=IDE%20-%20Debug,...

 

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=HC08-V6-3-PATCH1&location=null&fpsp...

 

Stanish

 

0 Kudos