2130027_en-US

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

2130027_en-US

2130027_en-US

linkserver loading binary

Greetings NXP support 


we're trying to automate our boards set up (imx RT1176) , and we are using Linkserver cmd with MCU_LINK in a python script to flash and load binaries in Flash NOR , and  we are using a minimal Flashloader to burn couple of fuses and for some specific  hw initialization , for the moment we are done  with loading binaries in Flash , but we couldn't figure out how to load and run flashloader into OCRAM1 using linkserver 

C:/nxp/LinkServer_24.12.21/LinkServer.exe flash MIMXRT1176:MIMXRT1170-EVK load combined_RAW_image.bin:0x60000000   (  this is for flash NOR  )

anything might help ?


Kind regards 



Re: linkserver loading binaryThank you GavinRe: linkserver loading binary

Hi @yosri_c ,

This project maybe helpful for you: https://www.nxpic.org.cn/module/forum/thread-620172-1-1.html

It makes the flashloader as a bin array and loads it into RAM and jumps in the main function.That is, this program can be applied to any debugger.

Best regards,
Gavin

Re: linkserver loading binaryi think this command would try to load the binary into flash not ram ..Re: linkserver loading binary

Hello!

To load and run your minimal Flashloader into OCRAM1 on the i.MX RT1176 using LinkServer, you'll need a two-step process instead of your current flash command. First, use LinkServer.exe flash MIMXRT1176:MIMXRT1170-EVK load your_flashloader.bin:0x20200000 to transfer the binary to OCRAM1 (confirming the exact address). Then, execute it with LinkServer.exe flash MIMXRT1176:MIMXRT1170-EVK go 0x20200000. Ensure your flashloader binary is designed for direct execution from RAM.

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 06:41 PM
Updated by: