MFS_READ_FAULT error when SD card mount on K60

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MFS_READ_FAULT error when SD card mount on K60

600件の閲覧回数
vallinaths
Contributor II

Platform : MQX 4.0.2

controller : K60

USing the example code of SD card drom path /mfs/examples/sd card .

dev_handle1 = fopen("sdcard:", 0);

if ( dev_handle1 == NULL ) {

printf("\nUnable to open SD card device");

_task_block();

}

/* Install MFS: */

error_code = _io_mfs_install(dev_handle1, "a:", 0);

if ((error_code != MFS_NO_ERROR) &&

(error_code != MFS_NOT_A_DOS_DISK)) {

printf("FATAL error while initializing: \n");

_mqx_exit(1);

} else {

printf("Initialized MFS1%s\n");

}

//open filse system

file_handle=fopen("a:",NULL);

The task is getting a error of MFS READ fault , checked the user guide of MFS which means low level driver is not respondin properly . so please let me know anybody faced same issue how to resolve it

is they any CLOCK issue which is going on SDHC CLK pin .

ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

369件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

HI Vallinath:

Did you try the sdcard demo code? I noticed your code is different from that.

0 件の賞賛

369件の閲覧回数
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. MQX Software Solutions or   Kinetis Microcontrollers) to get it visible for active members.

For details please see general advice Where to post a Discussion?

Thank you for using Freescale Community. 

0 件の賞賛