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 .
HI Vallinath:
Did you try the sdcard demo code? I noticed your code is different from that.
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.