Hi!,
I need to generate a simple secure binary file for testing. I follow the steps in the document "i.MX RT1060 Manufacturing User's Guide" but the generated file is empty.
In the attachments I send a package with the results I achieved.
The documentation states that:
"Typically, all the application image paths are provided in this section. Currently, the ELF file and SREC file are supported for i.MX RT Bootable image generation"
But how to generate srec or elf files as MCUXpresso can only generate .s19 files ?
Binary description file for bootable image creation :
options {
flags = 0x00;
startAddress = 0x60000000;
ivtOffset = 0x1000;
initialLoadSize = 0x2000;
}
sources {
elfFile = "evkbimxrt1050_iled_blinky.bin";
}
section (0)
{
}
Command:
elftosb.exe -f imx -V -c imx-flexspinor-normal-unsigned.bd -o ivt_evkbimxrt1050_iled_blinky.bin
Binary description file for secure binary creation:
sources {
myBinFile = "ivt_evkbimxrt1050_iled_blinky.bin";
}
section (0) {
load 0xC0233007 > 0x2000;
enable flexspinor 0x2000;
erase 0x60000000..0x60010000;
load 0xf000000f > 0x3000;
enable flexspinor 0x3000;
load myBinFile > 0x60001000;
}
Command:
elftosb.exe -f imx -V -c test.bd -o evkbimxrt1050_iled_blinky.sb
and the result is as follows:

I would appreciate your help and suggestions,
Regards,
Kamil