MQX flashx driver READ

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX flashx driver READ

1,052 次查看
yoramshacham
Contributor III


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 ?

0 项奖励
回复
2 回复数

739 次查看
soledad
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

739 次查看
yoramshacham
Contributor III

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 ?

0 项奖励
回复