We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
i want to use keil middleware for file system and using micro sd with ssp on LPC1768. after finit("M0:") i call fmount("M0:"), but it returns fsMediaError error.
#include "cmsis_os.h" #include "rl_fs.h" #include "GPIO_LPC17xx.h"
fsStatus state;
/* * main: initialize and start the system */ int main (void) { GPIO_SetDir(2, 0, 1); GPIO_SetDir(2, 1, 1);
if(finit("M0:") == fsOK) { GPIO_PinWrite(2, 0, 1); if(fmount("M0:") == fsMediaError) { GPIO_PinWrite(2, 1, 1); } }
while(1) { } }
Hi
I have the same problem.
I tried using different libraries but nothing helps.
Does anyone have a solution?