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

RAM in Code memory area

Note: This was originally posted on 20th June 2011 at http://forums.arm.com

Hi,

My board has 32K SRAM in the code memory area (within the first 0.5G), also has the same size of build in SRAM in data area.  My question is, what kind of data are suitable to put in CODE area?  Particularly, should I set the main stack in CODE SRAM or DATA SRAM?

Thanks in advance.
Parents
  • Note: This was originally posted on 21st June 2011 at http://forums.arm.com

    Hello,
    Linkers I've used all understand the CODE segments as being READ_ONLY.
    Therefore I would not put a stack there... and the stack is not code.
    Still, your question being on the vague side, it's not necessarily easy to grasp what you are working on.
    Kindly,
    Alban.

    Edit: spelling
Reply
  • Note: This was originally posted on 21st June 2011 at http://forums.arm.com

    Hello,
    Linkers I've used all understand the CODE segments as being READ_ONLY.
    Therefore I would not put a stack there... and the stack is not code.
    Still, your question being on the vague side, it's not necessarily easy to grasp what you are working on.
    Kindly,
    Alban.

    Edit: spelling
Children
No data