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.
I'm sorry - you're right!
http://www.keil.com/dd/chip/3711.htm
It tells you which header file to use - not which startup file!
D'oh!
However, when you create a new Project in uVision, and choose your CPU, that will automatically select the appropriate standard startup file.
The list of standard startup files, and instructions on how to customise them, is here: http://www.keil.com/support/man/docs/c51/c51_ap_startup.htm