LL16 debugger problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LL16 debugger problem

ソリューションへジャンプ
1,576件の閲覧回数
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,143件の閲覧回数
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,143件の閲覧回数
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,143件の閲覧回数
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,144件の閲覧回数
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 件の賞賛
返信