MCUXpresso SDK Documentation

RAW/POR image switch#

In the current SDK package, most CM33 demos generate POR images by default, while all CM7 demos generate RAW images. To enhance the customer out-of-box experience (OOBE), the following RT1186 SDK CM33 projects/targets generate POR images, meaning they can run in POR mode after you debug or download them in the IDE.

  • IAR/GCC/MDK, all cm33 examples except the multicore_trigger, target: flexspi_nor_debug/release, flexspi_nor_hyperram_debug/release

  • MCUXpresso CM33 image are all POR images except the multicore_trigger demo.

Note:

  • These POR images are not signed, just for develop convenience, not recommended for product usage.

  • It is highly recommended to use SPT for image download.

For the SDK CM33 IAR/MDK/ARMGCC project, flexspi_nor targets, as well as for MCUX project, debug/release targets. It is easy to switch RAW/POR image, via the project macro XIP_BOOT_HEADER_ENABLE setting. Table 1describes the rules.

XIP_BOOT_HEADER_ENABLE setting

Image type

1

POR

0

RAW

  • For IAR/ARMGCC, change the macro XIP_BOOT_HEADER_ENABLE in the compiler setting.

  • For MDK, change the macro XIP_BOOT_HEADER_ENABLE in compiler and link setting simultaneously.

For detailed settings, see the following sections.

IAR settings for image type switch#

Parent topic:RAW/POR image switch

ARMGCC settings for image type switch#

Parent topic:RAW/POR image switch

MDK setting for image type switch#

Parent topic:RAW/POR image switch

MCUxpresso settings for image type switch#

Parent topic:RAW/POR image switch

Parent topic:Bootable image generation