MQX FILE I/O

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX FILE I/O

Jump to solution
1,680 Views
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 Kudos
Reply
1 Solution
1,429 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,430 Views
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 Kudos
Reply
1,429 Views
JuroV
NXP Employee
NXP Employee

Hello,

internal flashes are usually of type NOR.

1,429 Views
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 Kudos
Reply
1,429 Views
JuroV
NXP Employee
NXP Employee

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

0 Kudos
Reply