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

XDATA problem/question

I have an xdata question and please excude my lack of knowledge on this subject, I have been trying to find info on this and am just not getting anywhere.

I am using a Goal VRS1000 controller. It has 64K of flash and 1K of RAM. I have not enabled the upper 756K of the RAM.

The issue I am running into on my device is, when I go over 769 bytes of xdata my device fails to boot correctly. I have been trying to find out where exactly this xdata is being stored. Since I have not enabled the full range of the on-chip RAM, I am a little confused where it is stored.

Thanks for the help.

Parents
  • Could the compiler be enabling it even though I didn't?

    Just to possibly make the other answers to this a bit clearer: maybe this internal XDATA memory doesn't need enabling. Maybe it's enabled automatically on power-up / reset. You have the chip, so I'll assume you have its datasheet in hand. Look it up.

    And no, the compiler is rather certainly not enabling it. The startup code (startup.a51 or some variant of that) may, though.

Reply
  • Could the compiler be enabling it even though I didn't?

    Just to possibly make the other answers to this a bit clearer: maybe this internal XDATA memory doesn't need enabling. Maybe it's enabled automatically on power-up / reset. You have the chip, so I'll assume you have its datasheet in hand. Look it up.

    And no, the compiler is rather certainly not enabling it. The startup code (startup.a51 or some variant of that) may, though.

Children
No data