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

How to write to external memory

I was just simulating my code in Keil. When I write to external memory, I don't see anything happen in the memory window.
I am using cypress FX2 as the chip.
Here's my code:
Just writing FF to location E000h

MOV A, #0FFH
MOV DPTR, #0E000H
MOVX @DPTR, A

I don't see anything happen at 0E000h in the memory window.

Parents
  • cypress FX2

    MOV A, #0FFH
    MOV DPTR, #0E000H
    MOVX @DPTR, A

    I don't see anything happen at 0E000h in the memory window.

    I have a vague recollection (never used the FX2) that the FX2 does not have that much XRAM, try at e.g. address 0x200.

    If, indeed, you have an external RAM attached to tha chip then the above works if you do not have a hardware problem

    Erik

Reply
  • cypress FX2

    MOV A, #0FFH
    MOV DPTR, #0E000H
    MOVX @DPTR, A

    I don't see anything happen at 0E000h in the memory window.

    I have a vague recollection (never used the FX2) that the FX2 does not have that much XRAM, try at e.g. address 0x200.

    If, indeed, you have an external RAM attached to tha chip then the above works if you do not have a hardware problem

    Erik

Children