Example Project which uses all three Memory-Areas

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example Project which uses all three Memory-Areas

645 Views
Masmiseim
Senior Contributor I

Hello,

 

are there any examples which run out from Hyperflash (code execution), don’t use the SD-RAM and use all three internal RAM areas (ITCM + DTCM + OCRAM). I’m searching for an example for IAR. I’m only interested in the memory-Configuration (*.icf File) and Startup-Code.

All the examples I’ve seen in the SDK use only the TCM or the SD-RAM.

 

Thanks and Regards

0 Kudos
Reply
1 Reply

472 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Makus,

There are many MCUXpresso SDK demo code allocate code in Flash, and  data in DTCM or OCRAM. For example, MIMXRT1052xxxxx_flexspi_nor.icf under IAR hello world demo.

define symbol m_interrupts_start       = 0x60002000;

define symbol m_interrupts_end         = 0x600023FF;

 

define symbol m_text_start             = 0x60002400;

define symbol m_text_end               = 0x63FFFFFF;

 

define symbol m_data_start             = 0x20000000;

define symbol m_data_end               = 0x2001FFFF;

 

define symbol m_data2_start            = 0x20200000;

define symbol m_data2_end              = 0x2023FFFF;


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply