Hi everyone,
I have a custom board with RT1064, using MCUXpresso 11.5.0 and SDK 2.11.0.
I'm trying to use internal flash to store some configuration and setting data. I've read this post: https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/How-to-use-the-RT1064-on-chip-flash-as-NVM/ta-p/..., that covers the modifications to do to adapt the SDK examples (external IS25W memory) to the internal memory (W25Q32JV memory).
The post uses the flexspi_nor_polling_transfer example: it works fine on my board with the modifications mentioned in the post.
I'd like to use even the flexspi_nor_edma_transfer example: with the same modifications as the flexspi_nor_polling_transfer example it doesn't works because it hangs in the flexspi_nor_flash_page_program() function waiting for the callback function to be executed:
while (!g_completionFlag)
{
}
static void flexspi_callback(FLEXSPI_Type *base, flexspi_edma_handle_t *handle, status_t status, void *userData)
{
/* Signal transfer success when received success status. */
if (status == kStatus_Success)
{
g_completionFlag = true;
}
}
Is there some further modifications needed for the flexspi_nor_edma_transfer example to work?
Many thanks
Biafra
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
It seems a bit weird, maybe you can try to enable the below option, then give debug again.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @jeremyzhou,
Many thanks for your answer.
No matter if the option is enabled or not, the behaviour is the same.
Many thanks
Biafra
Hi,
Thanks for your reply.
According to your statement, the code should work well, it seems a bit weird, whether you can replicate the phenomenon on the MIMXRT1064-EVK.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------