MQX FILE I/O

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,191件の閲覧回数
parkjaeyeon
Contributor I

Hi everyone.

I use K60 and MQX 4.0.

There is no external NAND flash on my board.

I want to save configuration information using the internal NAND flash.

How to store configuration information using the internal flash?

Please Help Me!!

0 件の賞賛
1 解決策
940件の閲覧回数
KJFPE
Contributor III

Have a look at flashx

                flash_hdl = fopen(“flashx:”, NULL);    // Open the flash device

example project at

C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\flashx

C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\flexnvm

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
941件の閲覧回数
KJFPE
Contributor III

Have a look at flashx

                flash_hdl = fopen(“flashx:”, NULL);    // Open the flash device

example project at

C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\flashx

C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples\flexnvm

0 件の賞賛
940件の閲覧回数
JuroV
NXP Employee
NXP Employee

Hello,

internal flashes are usually of type NOR.

940件の閲覧回数
KJFPE
Contributor III

Does it really matter, he wants to store his configuration data and flashx will solve the problem it may not be NAND flash but it will be easier to write to  (NOR allows random-access, NAND allows only page access)  I was just trying to give some helpful advice.

0 件の賞賛
940件の閲覧回数
JuroV
NXP Employee
NXP Employee

I just corrected you, that's all. :smileygrin:

0 件の賞賛