MQX flashx driver READ

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX flashx driver READ

1,054件の閲覧回数
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 返答(返信)

741件の閲覧回数
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 件の賞賛
返信

741件の閲覧回数
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 件の賞賛
返信