Hi,
I'm looking for the commands to build and load the image into the RT1170 EVK.
The end goal is the application build and image load automation for later in-hardware tests.
The steps taken so far:
elftosb -f imx -V -c imx-flexspinor-normal-unsigned.bd -o test.bin hello_world_demo_cm7.elf
Section: 0x0
iMX bootable image generated successfully
--> elftosb was taken from FLASHLOADER-RT1064-1.0 ( there is no 1170 version).
Copy the converted test.bin file to the EVK automounted drive /media/user/RT1170-EVK, the drive is unmounted/remounted ending with a FAIL.TXT file. The file contents:
error: An error occurred during the transfer
type: transient
Despite the failure flag (which raises doubts), the application is loaded and runs OK.
Copying the SDK provided example binary works flawlessly though.
What is missing to get the same binary?
What is the recommended way to automate the build and flash process?
Best Regards,
Hello,
Are you using Linux? there is information but is based on windows. I find these notes i.MX MCU Manufacturing User's Guide and the same for the RT1060, but I think you already see them. Did you see the Getting Started with MCUXpresso SDK for MIMXRT1170-EVK in this path C:\xFile\xFiles\Documents\MCUXpressoIDE_11.6.0_8187\ws_Kinetis\.mcuxpressoide_packages_support\temp
Maybe could help you.
Best regards,
Pavel
Hi Pavel,
Yes, using Linux.
I'm building the same way as proposed in the document you suggested, which is basically : install arm gcc, run the example build script, copy binary (elf or elftosb) to RT1170 drive.
My questions remains the same:
What is missing to generate a binary that doesn't raise the fail flag?
What is the recommended way to automate the build and flash process?
Hello,
Sorry for the late response, I research more information and review if the is another step in the document that is similar to what you motioned.
I found two documents I do not know if you review this maybe could help you.
1 Generating a Bootable Image for the RT1050 - NXP Community
2 AN12238: i.MX RT Flashloader Use Case – Application Note (nxp.com)
The steps are for Windows, but you could try it. Then you mentioned the next.
-> elftosb was taken from FLASHLOADER-RT1064-1.0 (there is no 1170 version).
In the SDK you could find the Flashloader file.
SDK_2_12_1_MIMXRT1170-EVK\middleware\mcu-boot\bin\Tools\bd_file\imxrt117x
Best regards,
Pavel