Generating a Bootable Image for the RT1064

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

Generating a Bootable Image for the RT1064

660 Views
sylvaing19
Contributor II

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: https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Generating-a-Bootable-Image-for-the-RT1050/ta-p/...

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: https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1050-Booting-from-serial-NOR-flash-to-SDRAM/ta...

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 https://github.com/JayHeng/NXP-MCUBootUtility 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

640 Views
mjbcswitzerland
Specialist V

Hi

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 https://www.utasker.com/iMX/developers.html

Regards

Mark
[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: https://www.utasker.com/iMX/RT1064.html

0 Kudos