I have a RT1176 based custom board that has the flash memory (IS25WP128) on the flexspi2 port. I'm able to run application out of RAM but I can't figure out how to get it too boot from the flash.
When trying to use NXP-MCUBootUtility it gives me an error message "MCU has entered Flashloader but failed to configure external memory" after clicking connect to ROM.
I get the following in the log.
--------MCU Device ROM Info--------
Unique ID[31:00] = 0x8293d90d
Unique ID[63:32] = 0x2908500e
Current Version = K3.0.1
Target Version = T2.0.0
Life Cycle status = HAB Open
--------MCU Flashloader Info-------
Current Version = K2.8.0
Target Version = T1.0.4
--------MCU device eFusemap--------
(0x940) SYSBT_CFG0 = 0x0
(0x950) SYSBT_CFG1 = 0x0
(0x960) SYSBT_CFG2 = 0x8
BT_FUSE_SEL = 1'b0
When BMOD[1:0] = 2'b00 (Boot From Fuses), no app in boot device, MCU enters serial downloader mode directly
When BMOD[1:0] = 2'b10 (Internal Boot), MCU boots app according to both BOOT_CFGx pins and Fuse BOOT_CFGx
----------FlexRAM memory-----------
IOMUXC_GPR->GPR16 = --------
I don't see anywhere in the options how to configure to use the flexSPI2. Is that supposed to be auto detected?
When I run the command that fails manually I get
$ ./blhost -t 50000 -u 0x15A2,0x0073 -j -- configure-memory 9 538976256
{
"command" : "configure-memory",
"response" : [],
"status" : {
"description" : "20107 (0x4E8B) kStatus_FlexSPINOR_SFDP_NotFound",
"value" : 20107
}
}