I need to make read, write and erase functions for QSPI on iMX6 SoloX SabreSD board with QSPI NOR Micron n25q256.
Are there any resources with examples on how to read, write or erase from Cortex-M4?
I'm using bare-metal c. Current code runs from RAM and does not use QSPI.
MQX 4.1 for imx6sx does not have qspi example. If there is one, it could help a lot.
uBoot for Cortex-A9 has the sf command. This code could maybe be used and rewritten for Cortex-M4.
MQX 4.2, which does not support imx6sx, has the qspi example which could also maybe be rewritten.
Could someone give me advice which way to go?
Thank you
Hi,
You could refer to the following document from the Community, which explains how to generate, download and run an application on the M4 core of the i.MX6SX:
Customizing MQX applications on i.MX6SX.
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!
-----------------------------------------------------------------------------------------------------------------------