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

Issue regarding accessing XRAM in DS89C430

I have problem accessing XRAM in DS89C430. I have included startup.A51 file and followed the instruction under forum "http://www.keil.com/support/docs/3345.htm". The issue is when i debug the code all work fine, but when it comes to hardware, i wont get desired data i wrote into XRAM.
The code working well with P89V51RD2, but it is required to have faster processing. Please help.

Parents
  • Shall you include that line of code?

    But _you_ linked to a document that did say:

    Add STARTUP.A51 to your project. To do this, copy the file \C51\LIB\STARTUP.A51 to your project
    folder and add it to the project. Then, in the STARTUP.A51 file, enable the on-chip SRAM by
    setting bit 0 (DME0) in the PMR SFR. The following lines in STARTUP.A51 will do this:
    ...
    

    So the document _you_ said you had followed did say what steps you should do. And you don't get it to work and ask us if you should have followed the steps in the linked document. How where you thinking?

Reply
  • Shall you include that line of code?

    But _you_ linked to a document that did say:

    Add STARTUP.A51 to your project. To do this, copy the file \C51\LIB\STARTUP.A51 to your project
    folder and add it to the project. Then, in the STARTUP.A51 file, enable the on-chip SRAM by
    setting bit 0 (DME0) in the PMR SFR. The following lines in STARTUP.A51 will do this:
    ...
    

    So the document _you_ said you had followed did say what steps you should do. And you don't get it to work and ask us if you should have followed the steps in the linked document. How where you thinking?

Children
No data