Description
Describe the bug
There is a stuck for mimxrt1050-evk (hyperflash) in infinite loop in flash_flexspi_hyperflash_write()=>flash_flexspi_hyperflash_wait_bus_busy()=>memc_flexspi_transfer()=>FLEXSPI_TransferBlocking()
line 953:
/* Wait until the IP command execution finishes */
while (0UL == (base->INTR & FLEXSPI_INTR_IPCMDDONE_MASK))
{
}
To Reproduce
Steps to reproduce the behavior:
west build -p always -b mimxrt1050_evk --sysbuild tests/boot/test_mcuboot
west flash
if the flash was erased before orwest flash --erase
(be sure that flashing configuration PR was
applied soc: imxrt: add mimxrt1052/1062 flashing configuration #90658)- See infinite loop in
memc_flexspi_transfer()=>FLEXSPI_TransferBlocking()
Expected behavior
No stuck in the the flash write function.
Environment (please complete the following information):
- Commit SHA: 52f089a