QE128 Breakpoint Problem

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

QE128 Breakpoint Problem

Jump to solution
2,431 Views
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,

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,474 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,474 Views
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 Kudos
Reply
1,474 Views
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 Kudos
Reply
1,475 Views
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 Kudos
Reply
1,474 Views
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 Kudos
Reply