Hi Max,
here all paragraphs copied from the documentation. I copied unsigned boot type, as it is good to start with something simple and ensure it works. After it works, I recommend to read the build script and write script, to understand how it works. For dual boot, there is not any "step-by-step" procedure. The dual boot shall be configured in 6.2.3.1, step 5.
6.2.1.1 Image running from external NOR flash
Note: For the current version of SEC, a source image for building a bootable image may contain the XIP boot header only for RT10xx processors. It is recommended to disable the XIP boot header by setting the compiler symbol XIP_BOOT_HEADER_ENABLE to 0.
• MCUXpresso IDE
The led_blinky example is linked into external flash by default.
1. Go to Project > Properties > C/C++ Build > Settings > MCU C Compiler > Preprocessor > Defined
symbols and set XIP_BOOT_HEADER_ENABLE to 0.
2. Build the image.
You will find the resulting source image as Debug\evkmimxrt10##_iled_blinky.axf. You can later use it as
Source executable image by SEC.
6.2.2 Connecting the board
6.2.3 Booting images
6.2.3.1 Booting unsigned image
An unsigned image is typically used for development. It is recommended to start with this boot type before working with secured images to verify that the executable image works properly.
First, build a bootable image:
1. Make sure you have selected the Unsigned boot type in the Toolbar.
2. Switch to the Build image view.
3. Select image build in Section 6.2.1 as a Source executable image.
4. For images executed from SDRAM, configure SDRAM using DCD or XMCD (RT11xx). For EVK boards, the following DCD file can be used: data\targets\MIMXRT1###/evkmimxrt1xxx_SDRAM_dcd.
bin. For RT11xx, the following XMCD configuration file can be used: data\targets\MIMXRT11##/
evkmimxrt11xx_xmcd_semc_sdram_simplified.yaml.
Note: For customization of DCD files, refer to Section 6.2.4.
5. If needed, open Dual image boot and configure (RT11xx - FlexSPI NOR).
6. Click Build image to build a bootable image.
When the bootable image has been successfully built:
1. Make sure that the board is in Serial Boot mode.
2. Switch to the Write image view.
3. Make sure that the Use built image check-box is selected.
4. Click Write image.
If the write operation was successful, switch boot mode (see Table 3 ) and reset the board.
Hope this helps
Regards,
Marek
NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button