cancel
Showing results for 
Search instead for 
Did you mean: 

I have connected sd card with nucleo l476rg. But now I want to create embedded database on sd card to save controller data. Would you please suggest embedded database which can be used? Other than sqllite.

YChav.3
Associate II
 
1 REPLY 1

How complicated and large does the database need to be?

You might look to what was popular for MS-DOS type implementations, perhaps keeping the core data and indexes in separate files, and doing the management in a way that limits wholesale rewriting of large chunks of data on the media. Something that journals, and is recoverable/rebuildable.

The f_read and f_write are most efficient used at sector/cluster sizes and boundaries, ie multiples of 512 byte sectors, and buffering/caching methods around those.

Perhaps broaden search to those tailored to Cortex-Mx MCUs and FatFS.

Ones also that have complementary PC based apps, or can output data in .CSV forms for each importation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..