SD CARD Writing and read data in file in mqx project using K70

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SD CARD Writing and read data in file in mqx project using K70

952 Views
ankurchauhan
Contributor I

Hello,

I'm new to MQX .

I'm using k70 twr with mqx.I need to store the data after some interval of time periodically in SD Card in .txt file.

I got one example using PE in while they are accessing sd card in memory block.. but i need to write in file and read from there..If anyone has any example code of writing and reading from sd card using k70 plz share it will be very helpfull for me.

IDE used : Codewarrior 10.7

Tags (3)
0 Kudos
1 Reply

490 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Ankur:

There is a mfs_sdcard example under the MQX installation folder.

Freescale_MQX_4_2\mfs\examples\sdcard\build\iar\mfs_sdcard_twrk70f120m

This application exampel code is used to demonstrate how to communicate with MQX File System (MFS) on SD card. It allows user to perform some basic operation with the SD card through the terminal interface. It shows how to work with driver and how to use shell commands

Regards

Daniel

0 Kudos