QE128 Breakpoint Problem

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

QE128 Breakpoint Problem

跳至解决方案
2,428 次查看
uGeek
Contributor I

Hello Everyone,

 

I have some code in the banked (or paged) memory location. I cannot put a breakpoint on this part of the code. It would be great if you can you suggest any work around for this problem. Also, the watchpoint option does not work at all for me :smileysad:

 

Any help will be greatly appreciated. Looking forward to your suggestions

 

Thanks,

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,471 次查看
CompilerGuru
NXP Employee
NXP Employee

Some additional things I would mention for this kind of problem.

Which CW version (the latest and greatest?)

Important but rarely mentioned: Which debug connection? (P&E, SoftTec,...)

Also try a wizard generated project for the banked memory model.

Ah, and you let the debugger control the dbg module?

 

Did you try CW 10.0 Beta? (it uses a different debugger than 6.X versions)

 

Daniel

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,471 次查看
J2MEJediMaster
Specialist I

Need some more information here.

 

1) Are you downloading the code without error?

 

2) Is the project one that stores the code into RAM or flash?

 

3) Is the compiler set to generate banked code?

 

4) Can you debug one of the example programs provided in the (CodeWarrior Examples) folder?

 

---Tom

 

0 项奖励
回复
1,471 次查看
uGeek
Contributor I

Hi Tom,

 

Thanks for replying.

 

1) Are you downloading the code without error? Yes

 

2) Is the project one that stores the code into RAM or flash? Flash

 

3) Is the compiler set to generate banked code?

    Interrupts defined in the non banked area, whereas other functions are defined in banked area

 

4) Can you debug one of the example programs provided in the (CodeWarrior Examples) folder?

Yes, I can debug anything that is within the non banked area. As soon as I move the same functions to banked area,

I cannot debug it. I feel that all the uc's that support banking would be facing the same problem.

So, is there a work around for this?

 

Looking forward to your reply.

 

 

 

0 项奖励
回复
1,472 次查看
CompilerGuru
NXP Employee
NXP Employee

Some additional things I would mention for this kind of problem.

Which CW version (the latest and greatest?)

Important but rarely mentioned: Which debug connection? (P&E, SoftTec,...)

Also try a wizard generated project for the banked memory model.

Ah, and you let the debugger control the dbg module?

 

Did you try CW 10.0 Beta? (it uses a different debugger than 6.X versions)

 

Daniel

0 项奖励
回复
1,471 次查看
uGeek
Contributor I

Some additional things I would mention for this kind of problem.

 

Which CW version (the latest and greatest?) I am using 6.3

 

Important but rarely mentioned: Which debug connection? (P&E, SoftTec,...) P&E

 

Also try a wizard generated project for the banked memory model.

Does not work. As long as the code is in banked memory section, I am not able to debug it.

 

Ah, and you let the debugger control the dbg module?

I am not very sure about it.

 

Did you try CW 10.0 Beta? (it uses a different debugger than 6.X versions)

I will try this and let you know.

 

Thanks a lot for your suggestions. Let me know if you have any other suggestions.

 

0 项奖励
回复