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

on-chip xram

hello everyone,
i am quite new to programming 8051..hoping to receive some help..
i have a pointer variable.The address stored in this variable resides in the on-chip XRAM.

unsigned char xdata *xloc;

i need the control of my program to be transferred to this address..how can it be done in C???
Thank You in advance for the help..

Parents
  • yea you are right..storing the opcodes in the xdata space is not going to do any good and also there are chances of them being over-written since xdata space is read/write...but this supposed trainer kit has already been implemented...and as per the manual the upper 32K bytes of an external RAM IC is meant for the user program memory...they probably have some mapping between the xdata and code space....will check properly...anyways thanQ for all the help and links...greatly appreciate...:)

Reply
  • yea you are right..storing the opcodes in the xdata space is not going to do any good and also there are chances of them being over-written since xdata space is read/write...but this supposed trainer kit has already been implemented...and as per the manual the upper 32K bytes of an external RAM IC is meant for the user program memory...they probably have some mapping between the xdata and code space....will check properly...anyways thanQ for all the help and links...greatly appreciate...:)

Children