Flashing Image Over EVK MIMXRT1170 in SD card boot mode

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

Flashing Image Over EVK MIMXRT1170 in SD card boot mode

2,008 Views
Ravi_Kumar
Contributor I

Hello Team,

I am using MIMXRT1170 EVK board. By default I can see the board boots in QSPI boot mode but if in case I want to download my generated image (.elf) from host machine to the target board how should I do it ? Is there any specific flash tool I need to have on my host PC to flash my image over target board?

Kindly provide me the details on this so that I can proceed further with my own application code in non-IDE environment.

With Regards,

Ravi

0 Kudos
Reply
9 Replies

1,991 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Ravi_Kumar ,

Thanks for your interest in NXP MIMXRT series!

There are three programing tools for the MIMXRT product:

#1. MFG Tool for RT1170

#2. NXP-MCUBootUtility 

 https://github.com/JayHeng/NXP-MCUBootUtility

#3. MCUXpresso Secure Provisioning Tool 

 https://www.nxp.com/mcuxpresso/secure

I would prefer you to use the second one, which was developed by our experts and encapsulates other APIs to provide an easy-to-use operation to the user. Please refer to the answer in this one thread which shows in detail how to use this tool.

 

Best regards,
Gavin

0 Kudos
Reply

1,988 Views
Ravi_Kumar
Contributor I

Hello Gavin,

Many thanks for responding to my query and indeed it would help me to flash via different ways/tools in windows .

Meanwhile I would also like to know if there is any such flash tool in general for linux environment as my host machine is Ubuntu ?

With Regards,
Ravi

 

0 Kudos
Reply

1,953 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Ravi_Kumar ,

 

Thanks for your additional information.

Among the three tools mentioned above, SPT is supported for use in Ubuntu and MasOS environments. It can fulfill your needs. You can find the installation package at this link.

Please refer to chapter 6.2 of <User Guide - MCUXpresso Secure Provisioning Tool>, which describes in detail how to use it in the RT series.

Best regards,
Gavin

0 Kudos
Reply

1,859 Views
Ravi_Kumar
Contributor I

Hello Gavin,

Once again thanks for your response.

I have downloaded and installed the SPT tool on linux host machine but yet to flash the image using this tool. What I understood so far is that these tools (MCU Boot Utility, SPT) are all specific to NXP boards and thus being used with the IDE, right ?

Meanwhile, I would like to understand that is there any tool (In general) which can be used to flash the generated .elf file (as a result of my customized application code) to the target board(say RT1170) in non-IDE environment (means directly from command Line Interface).

Thanks & Regards

Ravi

0 Kudos
Reply

1,834 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Ravi_Kumar ,

Thanks for your feedback!

In fact, these tools are independent of the IDE, you just need to provide the image file to the burn tool. Also, SPT, including the other tools, are actually wrappers for the SPSDK, so it's easy to use the command line for this as well. This is definitely feasible.

Here's a guide that should help you write your scripts. Also, here's a tip: first use the SPT GUI to accomplish what you need to do, and in its logs, you can find what commands were actually executed. Then, you can refer to these logs to write your own scripts.

Also, there is a script file for other projects previous that maybe helpful.

(One more thing: There are some messages that need to be synchronized with you, please pay attention to check email.)

 

Best regards,

Gavin

 

0 Kudos
Reply

1,818 Views
Ravi_Kumar
Contributor I

Dear Gavin,

Many thanks for sharing the detailed explanation of the asked query. I have gone through the guide for sdphost tool and successfully installed on my linux host PC. But what I am not getting is the actual usage for flashing the binary to the target ROM.

Like I have an application binary(.bin) which I want to flash over the i.MXRT1170-EVK board @0x30000000using sdphost tool from command line then could you please let me know the exact parameters to be used with the sdphost command.

Also could you please confirm the address I am using for flash is correct, if not where I can find the details for the same.

Thanks & Regards,

Ravi

0 Kudos
Reply

1,605 Views
Ravi_Kumar
Contributor I
Dear Gavin,

Sorry to write here, but I don't have any other option.
Actually I have created a ticket more than 3 weeks ago in NXP technical support and so far no body bothered to respond to that ticket, as we don't have any direct contact/email to write to, so may I know the reason for the delay??

This was reason why people asks question in NXP community rather than in this forum but again you only suggest us to create a ticket here so that we can get quick response., which unfortunately is not the case as far as my case is concerned.
I would request you to look into it OR please convey the same to the concerned team in NXP.

Thanks & Regards,

Ravi
0 Kudos
Reply

1,598 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Ravi_Kumar ,

I am so sad to hear this. Please accept my sincere apologies and I will immediately check your internal ticket and connect you with the corresponding team. Could you please provide me with your ticket number?

Best regards,
Gavin

0 Kudos
Reply

1,596 Views
Ravi_Kumar
Contributor I
Sure, and Many Thanks for your prompt response.
Ticket Num is : 00602353

Regards,
Ravi
0 Kudos
Reply