For example usualy examples contains ram and flash targets. But fsl_qspi driver example has only ram target. But we are getting out of ram. So i would like to know if we can keep significant part of memory in flash even the flash is used for storing app runtime data. Maybe keeping critical part of memory for fsl_qspi driver in ram (so when writting/reding from flash no code/data need be read from flash).
Any example for that?
Hi,
Thank you for your interest in NXP Semiconductor products,
Are you talking about Cortex-M MCUXpresso SDK fsl-qspi example?
There are two examples under boards/evkmcimx7ulp/driver_examples/qspi/
These examples read and write from and to an external qspi flash via polling and edma transfer.
In this example, qspi will send data and operate the external flash connected with QSPI. Some simple flash command will be executed, such as Write Enable, Erase sector, Program page.
Example will first erase the sector and program a page into the flash, at last check if the data in flash is correct.
Regards
Hi, i know how examples are working. I am more interested if i can split flash memory into two pieces. One for linker flash target and one for storing runtime data. Examples are currently only linked to ram memory.
And thank you for quick respond