flashx driver allows registration of proprietary READ function, however it doesn't seem to use it anywhere.
How can a flash device that requires proprietary read function (for example SPI) be implemented ?
Hello,
You can check the Flashx example code located at the path: C:\Freescale\Freescale_MQX_4_2\mqx\examples
The example demonstrates basic operation we can do with flash memory including writing string of characters into the memory and reading it back. The memory characteristic, reading and writing statuses as well as the data are displayed over output terminal.
I hope this helps,
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Sol,
Walking through the examples and driver code it seems that the flashx driver requires SPIFI support within the controller, as the driver read accesses assume that the flash is memory mapped to the MCU.
The READ function registered by the low level driver is not used by the flashx driver.
How can serial flash be used with flashx in devices such as K60, K65, K70 ?