linkserver loading binary

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

linkserver loading binary

Jump to solution
363 Views
yosri_c
Contributor III

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 

 

 

0 Kudos
Reply
1 Solution
260 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

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

View solution in original post

4 Replies
261 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

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

191 Views
yosri_c
Contributor III
Thank you Gavin
0 Kudos
Reply
356 Views
tejara7613
Contributor I

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.

0 Kudos
Reply
332 Views
yosri_c
Contributor III
i think this command would try to load the binary into flash not ram ..
0 Kudos
Reply