9 years, 5 months ago.

data storage in application

Hi all, I am using frdm-k64f for my application, and i need to store my data which is coming during runtime. I need to ask that what are the efficient data storage options apart from arrays. what are the pros and cons of the micro sd card ?? and what about the mysql database, i think it is only available for lpc1768 microcontroller yet.

actually i need to store raw bits and i also need to access them during run time

thanks in advance

cheers

1 Answer

9 years, 5 months ago.

SD card storage is probably the easiest way to go with the KL64F as the socket is already fitted, plenty of code examples on Mbed, relatively fast so runtime access applications should not be a problem and large amounts of data can be recorded which is transportable for instance to Excel as a text file. But does depend on how fast the data needs to be accessed. You can load data into arrays from the SD card for faster processing speeds if you need and then dump the results back to the SD card. Think of it as the equivalent of a PC hard drive storage.

I use SD card for all my platforms.

Accepted Answer

hi.. my name is walter I!m from brazil.. Never used it befor.. this program not compiler.. ftf2014 with sd card.. I need make a player sound with sd card and wave files. when you press a button a song play. but not work code compiler. mbed.. this error

Warning: Statement is unreachable in "SDFileSystem/FATFileSystem/ChaN/ff.cpp", Line: 1689, Col: 13 Warning: Function "FATFileSystem::disk_read(std::uint8_t *, std::uint64_t, std::uint8_t)" is hidden by "SDFileSystem::disk_read" virtual function override intended? in "SDFileSystem/SDFileSystem.h", Line: 59, Col: 17 Warning: Function "FATFileSystem::disk_write(const std::uint8_t *, std::uint64_t, std::uint8_t)" is hidden by "SDFileSystem::disk_write" virtual function override intended? in "SDFileSystem/SDFileSystem.h", Line: 60, Col: 17 Error: Object of abstract class type "SDFileSystem" is not allowed in "main.cpp", Line: 4, Col: 14

I trying a 4 days a solutions and nothing. please help me..!

posted by walter silva 05 Feb 2015

my pcb is FRDM-k64F

posted by walter silva 05 Feb 2015