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 22nd July 2011 at http://forums.arm.com


    Hi Zova,

    A easier way to do this is to enable the TCM during startup code, and program the coprocessor register for TCM configuration, and then copy the required program code into the I-TCM before entering main. However, this might not be possible in some boards with fixed firmware / OS.

    Have you look at the TRM?
    http://infocenter.ar...h/Chdhbjjb.html

    regards,
    Joseph


    Thanks Joseph, and sorry for my late reply. I've read the link above. And can you see this topic just posted.

    Thanks,
    Zova
Reply
  • Note: This was originally posted on 22nd July 2011 at http://forums.arm.com


    Hi Zova,

    A easier way to do this is to enable the TCM during startup code, and program the coprocessor register for TCM configuration, and then copy the required program code into the I-TCM before entering main. However, this might not be possible in some boards with fixed firmware / OS.

    Have you look at the TRM?
    http://infocenter.ar...h/Chdhbjjb.html

    regards,
    Joseph


    Thanks Joseph, and sorry for my late reply. I've read the link above. And can you see this topic just posted.

    Thanks,
    Zova
Children
No data