Skip to content

nxp: mimxrt1050-evk: stuck in FLEXSPI_TransferBlocking() #90676

Closed
@butok

Description

@butok

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:

  1. west build -p always -b mimxrt1050_evk --sysbuild tests/boot/test_mcuboot
  2. west flash if the flash was erased before or west flash --erase (be sure that flashing configuration PR was
    applied soc: imxrt: add mimxrt1052/1062 flashing configuration #90658)
  3. 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):

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions