linkserver loading binary

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

linkserver loading binary

ソリューションへジャンプ
600件の閲覧回数
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 解決策
497件の閲覧回数
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 返答(返信)
498件の閲覧回数
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

428件の閲覧回数
yosri_c
Contributor III
Thank you Gavin
0 件の賞賛
返信
593件の閲覧回数
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 件の賞賛
返信
569件の閲覧回数
yosri_c
Contributor III
i think this command would try to load the binary into flash not ram ..
0 件の賞賛
返信