??? 11/15/07 12:03 Read: times |
#147007 - Really Bad idea! Responding to: ???'s previous message |
Shehryar Shaukat said:
When we use xdata its also used to access the expanded RAM ( the ram beyond the internal 256 bytes mark) in 8051 as well as giving access to expanded RAM in my opinion ???? XDATA is anything & everything that's accessed using the MOVX instructions. the xdata was in use even before i incorporated the external RAM. So, your system has both on-chip and off-chip XDATA, yes? now i have run out of memory for defining new varaibles i am planning to use the _at_ keyword of KIEL for expressly specifing the address in external RAM for my adress. How will that allow you to define more variables?! If your XDATA space is full, then it's full - defining absolute addresses will not magically create extra memory locations! Have you not configured the tools to use the external XDATA RAM? Have you enabled the Data Overlaying for enabling the external RAM i am setting the "external RAM bit" in AUXR SFR. Yes, you need to do this to physically enable the circuits in addition to correctly configuring the tools. |