Hi Dinesh,
a database could be as simple as a text file with different values separated by tabs. You can create a very very simple data base manager as a task in MQX, but definitely MQX is not an OS that will support even the simplest functionality of MySQL just because it is not possible to install MySQL on a microcontroller that runs an RTOS. As I said before, you must program each task that an RTOS will execute. A good analogy is next:
- In Windows, Linux or MAC you can double click the text editor to open many instances of the text editor task.
- In MQX you can use the function _task_create(0,TASK_INDEX, 0) to open many instances of a task that opens a text file, edit it, and save it.
In the following link you will find an example of a very simple database manager using FAT-FS
FatFs + SDHC data logger with KSDK in Kinetis Design Studio
I strongly recommend to take a look to the following tutorials to get acquainted with MQX RTOS
Training Class: MQX RTOS v4.1 Basics Training for MQX Beginners
I hope this information helps.
Best regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------