LL16 debugger problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LL16 debugger problem

跳至解决方案
1,574 次查看
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!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,141 次查看
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 项奖励
回复
3 回复数
1,141 次查看
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 项奖励
回复
1,141 次查看
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 项奖励
回复
1,142 次查看
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 项奖励
回复