linkserver loading binary

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

linkserver loading binary

跳至解决方案
592 次查看
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 项奖励
回复
1 解答
489 次查看
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

在原帖中查看解决方案

4 回复数
490 次查看
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

420 次查看
yosri_c
Contributor III
Thank you Gavin
0 项奖励
回复
585 次查看
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 项奖励
回复
561 次查看
yosri_c
Contributor III
i think this command would try to load the binary into flash not ram ..
0 项奖励
回复