AnsweredAssumed Answered

MFS_READ_FAULT error when SD card mount on K60

Question asked by vallinath s on Apr 27, 2014
Latest reply on May 9, 2014 by Daniel Chen

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 .

Outcomes