hyperflash example fails with imxrt1060

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hyperflash example fails with imxrt1060

1,001 Views
rans
Senior Contributor I

Hello,

We recently moved to imxRT1060.

On trying to run evkmimxrt1060_flexspi_hyper_flash_polling_transfer example  runs as following:

"

FLEXSPI hyperflash example started!
Entering the ASO mode

"

There are no further printing as expected.

On debugging it I see that the flash detection seems to be wrong:

 flexspi_nor_hyperflash_cfi -> flexspi_nor_hyperbus_read -> fails here !

status_t flexspi_nor_hyperbus_read(FLEXSPI_Type *base, uint32_t addr, uint32_t *buffer, uint32_t bytes)
{
...
status = FLEXSPI_TransferBlocking(base, &flashXfer);

if (status != kStatus_Success)
{
return status;  <------------ return here
}

return status;
}

Can anyone please check this issue ?

Thank you.

ranran

0 Kudos
3 Replies

781 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi ranran,

On the EVKB-MIMXRT1050 board, the HyperFlash is the default memory and it is required to apply a rework on the board to enable the QSPI Flash, however on the EVK-MIMXRT1060 is the opposite, the QSPI is the default memory and it is required to apply a rework on the board to enable the HyperFlash.


Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

781 Views
rans
Senior Contributor I

Hello Carlos,

 

Can you please elaborate what change in board is required if we need to work with hyperflash instead of qspi ?

 

Thank you,

ranran

0 Kudos

781 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi,

It is explained on section 2.6 of MIMXRT1060 Evaluation Kit Board Hardware User's Guide:

hyperflash RT1060.png

Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos