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?