SDCard time to write

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

SDCard time to write

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

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