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
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
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
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
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
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
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
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