Loading an executable image into RAM in MIMXRT1041 using serial downloader

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

Loading an executable image into RAM in MIMXRT1041 using serial downloader

1,449件の閲覧回数
skarkare
Contributor I

We have requirnment to run our firmware from internal RAM. By default 512KB of internal RAM MIMXRT41 has split into 3 memory sections(OCRAM 256KB, ITCM 128KB, DTCM128KB). I am trying to run LED blinking example using serial downloader.We are using sdphost to write file with 0x20000000 address and jump to 0x20000400.

I am able to run below binary using MCUXpresso debugger. I guess debugger use a script(RT1040_connect.scp) to write IOMUXC_GPR_GPR17 and IOMUXC_GPR_GPR16 internally. these two register required to set Memory sections.

Memory region Used Size Region Size %age Used

SRAM_DTC: 26476 B 128 KB 20.20%

SRAM_ITC: 0 GB 128 KB 0.00%

SRAM_OC: 0 GB 256 KB 0.00%

NCACHE_REGION: 0 GB 2 MB 0.00%

 

Could someone please give me the steps required to generate such an executable bin file which I could load and run from internal RAM?

 

 @deepak.pathade@microlise.com, @Mandar.gadgil@microlise.com, @nada.lakhal@nxp.com

ラベル(3)
0 件の賞賛
返信
1 返信

1,398件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @skarkare,

Please look into section "20.8.5 Link application to RAM" of the MCUXpresso IDE User Guide for more information on how to build and run an application on the internal RAM of your RT1040. Let me know if you have further inquiries about this topic.

BR,
Edwin.

0 件の賞賛
返信