SDCard time to write

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

SDCard time to write

901 次查看
lucky06200
Contributor II

Hello World,

I use MQX with MFS 4.02. My CPU is a K60. I use a SDCard on standard interface.


In my application, i need to write some data every second parmanently.

Data size to write every second is about 7K bytes.

Most of the time, some millisecond are sufficient (between 3 and 7 millis).

But sometime, this value rise to some thousands of millisecond.

This is a problem, and i lose datas

Do you understand this behavior, and have you some solution to propose?

Best regards,

Luc

标签 (1)
标记 (3)
0 项奖励
回复
1 回复

722 次查看
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Luc,

Maybe MQX is taking time to flush the data from the memory to the file in your SDCARD. If you have the file opened and never closes then this could be the reason of the delays time to time. Try to Open the file, Write it, close it and then repeat. 1 second is a lot of time!!! This might be enough to open/write/close cycles.

I hope this helps you.

Happy 2014,

Garabo

0 项奖励
回复