11 years, 3 months ago.

Now, my Program runs, USB Writespeed is ~ 40000Byte/s

How often can you describe the local filesystem, I will use it as a data logger for intermediate buffers. For example: With 4000Hz 8 bytes store, when are reached 1048000 Bytes, copy the block to a USB stick and over again. How long does the from the Mbed? Years? Month ?

Bernd

2 Answers

11 years, 3 months ago.

Flash memory has on average 100k write cycles (although it can vary quite a bit). If I am correct you write your buffer roughly every 4 minutes. So 4 minutes times 100k = bit less than a year.

But isn't it an option to simply with to a smaller RAM buffer and then write that to your USB stick?

Edit: I was stupid, you said 8-bytes and not 8-bits. So divide everything by 8.

11 years, 3 months ago.

Hello Erik, I buffer my datas in the intenern RAM. This is what I do, but it is very small with 32K. At the moment the buffer is two 8192 bytes, div 8 are 1024 Samples with 4Khz , the write time is 0.256 seconds. It is ok. it works..But then I wait for GPS Datas, fir readout Timestamp, I must store min 2-4 seconds in the buffer. You understand me ? I think, in this time I write to the local file system. Thanks Bernd