MQX FILE I/O

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

MQX FILE I/O

跳至解决方案
917 次查看
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 解答
666 次查看
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 回复数
667 次查看
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 项奖励
666 次查看
JuroV
NXP Employee
NXP Employee

Hello,

internal flashes are usually of type NOR.

666 次查看
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 项奖励
666 次查看
JuroV
NXP Employee
NXP Employee

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

0 项奖励