Generating a Bootable Image for the RT1064

Showing results for 
Search instead for 
Did you mean: 

Generating a Bootable Image for the RT1064

Contributor I

Hi all,

I am currently developing an application on the MIMXRT1064xxxA and I want to run the application from the RAM instead the the eXecute In Place from the Flash.

I configured the linker in MCUXpresso to link the application to RAM. Now it runs from the RAM but I need the JTAG to start the application. So I would like to store the application in the flash and copy it to RAM at startup and then execute from RAM.

To do so I followed this tutorial:

More specifically the chapter "Bootable Image Generation – SRAM", since I want to run the application from SRAM.

But I got stuck at the part "Elftosb tool – .bin file generation". When I execute the indicated command-line it outputs an empty .bin file.

My linker configuration is identical to the one described in the tutorial except I don't have an on-board SDRAM chip (only internal). Also I'm using an RT1064 instead of an RT1050.

The dcd.bin file I use with elftosb is the one found here:

What could be the issue here ? Is it that the dcd.bin file I use is incorrect for my device ? In that case how can I generate my own ?

I also found this tool that seems helpful but I cannot figure out how to use it since it only connects to the processor using UART or USB and I only have access to JTAG.


Thank you in advance for your help.

Labels (1)
0 Kudos
1 Reply

Specialist V


If you are doing professional work that would benefit from an out-of-the-box solution for operation in internal RAM (automatic FlexRAM configuration, encryption and boot loading) this is provided by the uTasker project. See details and various videos showing it in action, with analysis of the way it works at


[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key:

0 Kudos