Hi. We are having some trouble loading and running an unsigned image using the MCU Boot Utility and MIMXRT1166 processor. We have a custom board/firmware however to simplify everything we are using the MIMXRT1160-EVK along with the standard evkmimrxrt1160_iled_blinky_cm7 SDK example to get a proof of concept.
To match our custom board, BOOT_MODE = 00b. All eFuses are default.
Using the MCU Boot Utility we are able to configure the boot device with help from a previous post. Initially we were having some trouble generating an unsigned bootable image with iled_blinky but were able to change the project settings thanks to the MCU Boot Utility writeup and a couple other previous posts. Load unsigned image also appears to work. After this however, resetting the device does not start the iled_blinky application.
Also note that we are able to go in debug mode through JTAG on both the EVK board and the custom board without any issue. After debugging, the application firmware does not run after power cycle.
It seems there is a step we are missing in the process. Any guidance would be appreciated. Thanks!
Solved! Go to Solution.
BOOT_MODE = 01b, SDP mode, you can always use MCUBootUtility to reload image
BOOT_MODE = 10b, Internal boot mode, RT will try to boot image from external NVM (for your case, it is NOR Flash)
BOOT_MODE = 00b, boot from fuse mode
-- BT_FUSE_SEL=0, it is same as SDP mode
-- BT_FUSE_SEL=1, it is same as Internal boot mode
So you need to switch BOOT_MODE to 10b or burn BT_FUSE_SEL to 1
BOOT_MODE = 01b, SDP mode, you can always use MCUBootUtility to reload image
BOOT_MODE = 10b, Internal boot mode, RT will try to boot image from external NVM (for your case, it is NOR Flash)
BOOT_MODE = 00b, boot from fuse mode
-- BT_FUSE_SEL=0, it is same as SDP mode
-- BT_FUSE_SEL=1, it is same as Internal boot mode
So you need to switch BOOT_MODE to 10b or burn BT_FUSE_SEL to 1