Cannot Run Application Image RT1166

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot Run Application Image RT1166

Jump to solution
469 Views
twjudge
Contributor I

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!

0 Kudos
1 Solution
445 Views
jay_heng
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
1 Reply
446 Views
jay_heng
NXP Employee
NXP Employee

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

0 Kudos