IMXRT1175 Impossible to launch a program running in RAM with "blhost" command "load-image"

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

IMXRT1175 Impossible to launch a program running in RAM with "blhost" command "load-image"

1,173 Views
stefanotatini
Contributor II

IMXRT1175 Impossible to launch a program running in RAM with "blhost" command "load-image" without loading the flashloader first.

The sequence is:
- power on
- command
blhost -t 5000 -u 0x1FC9,0x013D -j -- load-image c:\wrk\SecureProvisioning1\bootable_images\myprogram.bin  (myprogram.bin is linked in RAM)
But the program doesn't start.

I have used the SecureProvisioningTool to generate a bootable "myprogram.bin" but without success.

Is there a guide or an application note that can help me?
Thank you

Labels (1)
0 Kudos
Reply
1 Reply

1,137 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @stefanotatini 

The i.MX RT bootROM does not support BLHOST, only SDPHost commands. So if you want to load an image to SRAM using BLHOST, you will need to run a program , like our flashloader,  which does support BLHOST first.

See the below snapshot from AN12238 i.MX RT Flashloader Use Case. 

diego_charles_0-1676919657777.png

Please note that AN12238  it is for i.MX RT10xx and not specific for RT11xx. I only used this AN to give you more information on why the flashloader is used.

Once the MCU booted into serial downloader mode this is what the SPT does, load the flashloader first, before loading an image.For more detials about the commands used by the tool can see SPT log output.

Also, for more information, please consult our  SPT user guide MCUXSPTUG

 

If this does not help, please let me know more about your requirements.

All the best, 

Diego

 

 

0 Kudos
Reply