S
S
Slavka2015-10-26 09:39:18
C++ / C#
Slavka, 2015-10-26 09:39:18

How to store logs on flash memory?

In general, you need to store some constants and logs on a 4MB flash drive, so how is it better to organize it, try to set up a file system there or work with pages and cells yourself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
list_get, 2015-10-26
@list_get

For constants, it is better to use separate pages, and store the constants themselves in structures. For logs, a ring buffer is more convenient, with the ability to overwrite the oldest information (1 page).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question