btw... I found the UM11865 User Manual late last night... I will also review the docs you posted... here is a summary of my investigations from this morning:
IRIS-W106-30B module (RW612-based) ROM bootloader remains stuck in ISP mode (PC =
1302B460) instead of handing off to MCUBoot bootloader from external flash.
Investigation Results
Confirmed Working Components:
- FlexSPI external flash access via FCB (Flash Configuration Block)
- FCB signature: 42464346 at 0x08000400
- IVT (Image Vector Table) signature: 402000D1 at 0x08001040
- ARM Cortex-M33 vector table: valid stack pointer 3000B320 at 0x08001400
- External flash programming and verification successful
- All boot structures readable by ROM bootloader
Root Cause Identified:
- IVT boot_data_ptr (0x08001060) points to location containing all zeros
- Boot data structure not properly placed in flash by linker
- ROM bootloader validates boot structures but rejects image during validation
phase
Key Technical Details:
- Memory Layout: FCB@0x400 → IVT@0x1040 → ARM_vectors@0x1400
- IVT pointers: boot_data_ptr=0x08001060, self_ptr=0x08001040
- ROM bootloader successfully initializes FlexSPI and reads flash contents
- Issue occurs during image validation, not during flash access
Build Configuration:
- Using Zephyr RTOS with MCUBoot
- CONFIG_NXP_RW6XX_BOOT_HEADER=y
- CONFIG_TRUSTED_EXECUTION_NONSECURE=y
- Custom IVT header and FCB for IRIS-W106-30B
Remaining Question for NXP Community
Does the RW612 ROM bootloader require signed/authenticated boot images for handoff
to external flash bootloaders?
The ROM bootloader appears to validate all boot structures correctly but refuses
handoff. Missing boot data structure suggests either:
1. Linker script issue preventing proper boot data placement in flash
2. ROM bootloader requires signed images (HAB/secure boot) even for bootloader
handoff
3. Additional validation requirements (I will review the docs)
Any additional insights on the RW612-specific ROM bootloader validation requirements would be appreciated.
Thanks so much for your assistance!