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