Suggest ways to run code from RAM instead of FLASH

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Suggest ways to run code from RAM instead of FLASH

ソリューションへジャンプ
2,050件の閲覧回数
Pavani2
Contributor I

We using dual core in iMXRT1176.

As the execution time is critical ,we need to run the code from RAM instead of flash in CM7 core.

Kindly suggest ways to implement it.

0 件の賞賛
返信
1 解決策
1,935件の閲覧回数
Habib_MS
NXP Employee
NXP Employee

Hello again @Pavani2,

I understand that you need to execute on RAM but obtaining the code from an external flash (this can be called Not XIP). If this is the case, you can activate the non XIP (or also disactivating the XIP mode) following this application note: How to Enable Non-XIP Boot on i.MX RT Series EVK (nxp.com).

Also, if you experience any issue, do not hesitate to let me know.

BR

Habib.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,917件の閲覧回数
Pavani2
Contributor I

Hi Habib_MS

 

Thank you for your reply.

1.IDE Version - MCUXpresso IDE-11.5.1-7266
 SDK Version - 2.11.1

 While using the dual core in IMXRT1175 in the above IDE,SDK versions we are facing an issue regarding addition of variables in global variables  window and to resolve we need to reset the perspective multiple times and sometimes we also need to restart the system. Is there any alternative to solve the this issue? while using single core there are no issues with the IDE.

 

 

 

 

 

0 件の賞賛
返信
2,036件の閲覧回数
Habib_MS
NXP Employee
NXP Employee

Hello @Pavani2 ,

To run your application on RAM you have two options:

-You can change your project to run in RAM enabling this box when you create a new project:

Habib_MS_0-1717625188734.png

-If you already have a created project, you can enable this box in properties:

Habib_MS_1-1717625188737.png

Also, if you experience any issue, do not hesitate to let me know.

BR

Habib.

0 件の賞賛
返信
1,991件の閲覧回数
Pavani2
Contributor I

Hi, 

     With "Link Application to RAM" setting, When board is power off and on then my application doesn't run. So this setting doesn't work for me.

Our board has external QSPI Flash to store the  code image.  During power on BootROM should copy code image from flash to ITCM RAM.

I am using dual cores CM7, CM4 in project. CM4 anyway runs in its RAM(ITCM_CM4). But i am looking for CM7 code, should also be executed from ITCM_CM7.

Please suggest.

Is there Flash Loader for IMXRT1175, if any kindly provide the link for Flash Loader of IMXRT1175.

Thanks in advance,

Pavani.

 

0 件の賞賛
返信
1,936件の閲覧回数
Habib_MS
NXP Employee
NXP Employee

Hello again @Pavani2,

I understand that you need to execute on RAM but obtaining the code from an external flash (this can be called Not XIP). If this is the case, you can activate the non XIP (or also disactivating the XIP mode) following this application note: How to Enable Non-XIP Boot on i.MX RT Series EVK (nxp.com).

Also, if you experience any issue, do not hesitate to let me know.

BR

Habib.

0 件の賞賛
返信