This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

debugging with multiple dptrs?

Has anyone had problems seeing multiple dptrs in the regs window during hardware debugging?
We have two memory mapped dptrs. When I run the debug under Keil simulation, I can see both dptrs in the regs window.
When I run the debug session with hardware, I only see the one dptr at 82/83.

Parents
  • Ahhh,

    OK I understand. I missed the part about you using mapped data pointers.

    I think that only the banked data pointers are supported in the simulator. The memcpy routines also support only the banked data pointers. I've forwarded this to engineering to get more information and I'll post it here when I do.

    Sinc eyou're using mapped data pointers, are you writing your own routines to use them?

    Jon

Reply
  • Ahhh,

    OK I understand. I missed the part about you using mapped data pointers.

    I think that only the banked data pointers are supported in the simulator. The memcpy routines also support only the banked data pointers. I've forwarded this to engineering to get more information and I'll post it here when I do.

    Sinc eyou're using mapped data pointers, are you writing your own routines to use them?

    Jon

Children
  • Yes I am writing my own routines. We did go through a bit of a painful learning process when we started out and found that we definitely did not want to check the "use multiple dptr" box. I have found that using multiple dptrs is not a trivial thing given the multiple types available and given the way the simulator works. It would be nice if Keil could offer some sort of switch to let the simulator use either banked or mapped pointers.