QE128 Breakpoint Problem

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

QE128 Breakpoint Problem

ソリューションへジャンプ
2,565件の閲覧回数
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,608件の閲覧回数
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,608件の閲覧回数
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,608件の閲覧回数
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,609件の閲覧回数
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,608件の閲覧回数
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 件の賞賛
返信