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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,525 次查看
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

标记 (3)
0 项奖励
回复
1 回复

1,063 次查看
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 项奖励
回复