Hi Jeremy,
My evaluation kit is iMXRT1010EVK, in my test, I imported two MCUxpresso projects( "iled_blinky" and "hello world") from SDK, then completes the procedures listed below:
1. Compile the "hello world" project first for generating the binary image;
2. Using NXP-MCUBootUtility tool to program the binary image at address 0x60040000;
3. Add codes to "iled_blinky" for writing '1' to the PERSIST_SECONDARY_BOOT bit of SRC_GPR10 register;
4. Download the project "iled_blinky" through MCUxpresso with LPC-Link2;
5. Erasing the XIP-Flash address from 0x60000000 to 0x6003FFFF;
6. Press POR button on EVK board.
I supposed that as there is no bootable image on address 0x60000000, so BootROM should redirect boot address to 0x60040000 to run the secondary image, but it didn't.
As I couldn't find the way writing XSPI_FLASH_SEC_IMG_OFFSET register, so please explain the procedures what I missed.
thank you.