SDCard time to write

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

SDCard time to write

591 Views
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

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

412 Views
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 Kudos
Reply