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
Any help will be greatly appreciated. Looking forward to your suggestions
Thanks,
已解决! 转到解答。
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
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
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.
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
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.