DIFFICULTY IN ACCESSING MCU XRAM

Hi! I'm using Philips P89v51RD2FBC microcontroller. I build my project using Keil version 2.0. After compilation, total memory utillization is:
Data: 155.2, Xdata: 327, Const: 2062, Code: 23176

Eventhough there is a free memory space in Data as well as in Xdata(MCU XRAM) memory, still I'm facing problems in accessing variables declared as "far" in MCU XRAM. i.e. the value of these variables get corrupted.

So, kindly help me in solving this problem.

Regards,
Kshama.

Parents Reply Children
No data
More questions in this forum