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

using xdata in ISR

i am trying to save data in external memory using movx in external memory in the serial interrupt service routine but no data gets saved though when i try storing in data it stores.can i know why and suggest a solution if possible for storing in external memory.enabling the XRAM is done using ALE.Thanks in advance

Parents
  • "enabling the XRAM is done using ALE"
    1) I know of no chip where you can control ALE.
    2) if you read/write on the edge of ALE you WILL have problems, what's wrong with using !WR and !RD.
    3) xdata problems in an ISR is, typically, related to some switch (e.g. MMIO/memory) in main not considered inside the ISR

    Erik

Reply
  • "enabling the XRAM is done using ALE"
    1) I know of no chip where you can control ALE.
    2) if you read/write on the edge of ALE you WILL have problems, what's wrong with using !WR and !RD.
    3) xdata problems in an ISR is, typically, related to some switch (e.g. MMIO/memory) in main not considered inside the ISR

    Erik

Children