AnsweredAssumed Answered

Bootable image for flexSPI

Question asked by ranshalit on Sep 15, 2018
Latest reply on Dec 22, 2018 by Jay Heng


I try to understand how to build bootable image for

flexspi flash.

As I see there are 2 approaches:

1. The linker in MCUXpresso IDE adds it to header of compiled image code, as done in example hello_world_xip.

2. using elftosb , so that it adds image header, to make it a bootable image, is that Right ?


 Using elftosb approach, I found the following tutotirals:

Generating a Bootable Image for the RT1050 



Yet, I don't understand how flexSPI configuration paramaters are added to hello_world example  in these tutorials (not the same as hello_world_xip !)


Essentially, the example says to do the following:


elftosb.exe -f imx -V -c ../../bd_file/imx10xx/ -o ivt_flexspi_nor_hello_world.bin hello_world.srec


elftosb.exe -f kinetis -V -c ../../bd_file/imx10xx/ -o ivt_flexspi_nor_hello_world_nopadding.bin


Is it that the steps above add flexSPI configuration paramaters to image header ? Which command adds these parameters to image ? If not - where is it added to image header ?


I also don't find in "MCU Bootloader v2.5.0 Reference" documentation that flexSPI is mentioned as one of the device used for flash programming. So how is it that the tool can be used for flexSPI programming ?


Thank you ,