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
  • Christoph, thanks for the reply. Your secnod post is correct. I did not enable the expanded RAM section of the chip.

    With that said, my device works fine as long as I use less that 769 bytes of xdata. Like you said no xdata access should be working if I have not enbaled the XRAM on the chip. This is were I am getting confused, because it does work with less than 769 bytes of xdata.

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

Reply
  • Christoph, thanks for the reply. Your secnod post is correct. I did not enable the expanded RAM section of the chip.

    With that said, my device works fine as long as I use less that 769 bytes of xdata. Like you said no xdata access should be working if I have not enbaled the XRAM on the chip. This is were I am getting confused, because it does work with less than 769 bytes of xdata.

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

Children