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

How can I save Constants

Hallo everybody,

can anybody help me. I want to save Constants on the XRAM. How does this works?

Parents
  • "Putting constants in XRAM does not make much sense except in fairly exotic circumstances (for example: All code memory is used and you want to store a table in XDATA that is generated by an algorithm at bootup)."

    Another example would be where you have non-volatile memory in XDATA space.

    If part of your ROM is mapped into XDATA space, that's where the XCROM directive comes in...

    It'd help if you said what you're actually trying to achieve - then people could make informed suggestions!

Reply
  • "Putting constants in XRAM does not make much sense except in fairly exotic circumstances (for example: All code memory is used and you want to store a table in XDATA that is generated by an algorithm at bootup)."

    Another example would be where you have non-volatile memory in XDATA space.

    If part of your ROM is mapped into XDATA space, that's where the XCROM directive comes in...

    It'd help if you said what you're actually trying to achieve - then people could make informed suggestions!

Children
No data