Couldn't copy code form Flash NOR to OCRAM when boot

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

Couldn't copy code form Flash NOR to OCRAM when boot

208 Views
gjfernandez
Contributor I

Hello everyone,

I want my system to copy code from Flash NOR to OCRAM or SRAM in power-up, to improve the system speed executing code. I have been trying to do this for several weeks, following all the tutorials that I found (official guides, tutorials, forum posts, etc), and nothing worked at all. I need help with that because is so important for my project.

Thank you, regards.

Guillermo.

Labels (1)
0 Kudos
Reply
5 Replies

162 Views
gjfernandez
Contributor I
I forgot to say that I'm using MiMXRT1176 processor, developing using VSCode and using MCUXpresso Secure Provisioning Tools to load code into flash, for a test I don't mind to use MCUXpresso IDE though.
0 Kudos
Reply

153 Views
marek-trmac
NXP Employee
NXP Employee

Hi Guillermo,

for RT117x follow the chapter 6.2 in the MCUXpresso Secure Provisioning tool User Guide, see "Image running in internal RAM".

Regards,
Marek
0 Kudos
Reply

148 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I am sorry, I had thought you used MCX family, because you posted the ticket to MCX forum.

Because the i.mxrt does not have on-chip Nor flash, so this method is not valid.

Pls post your ticket to the i.mxrt forum:

https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/bd-p/imxrt

The engineers who support i.mxrt will reply you

BR

XiangJun Rong

0 Kudos
Reply

172 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the MCUXpresso_IDE_User_Guide.pdf located at:

C:\nxp\MCUXpressoIDE_11.7.0_9174_prc

read the section 17.13.5 Placing specific functions into RAM Blocks

xiangjun_rong_0-1729751732709.png

Of couse, it is tools by tools, the method is only for MCUXPresso tools. For Keil or IAR, pls read corresponding doc.

Hope it can help you

BR

Xiangjun Rong

 

0 Kudos
Reply

199 Views
marek-trmac
NXP Employee
NXP Employee

Hi Guillermo,

for MCXN processors, during boot, the application can be copied from external flash to onchip RAM and started from RAM. This is supported for unsigned and CRC applications only.

You can find details in the MCUXpresso Secure Provisioning tool (https://nxp.com/mcuxpresso/secure), see User Guide, chapter 6.10

Regards,
Marek
0 Kudos
Reply