mbed + Eye-Fi

20 Sep 2011

I tried to write the file into Eye-Fi SD Card by using library SDHCFileSystem.

(Used Eye-Fi: http://www.eye.fi/products/connectx2 )

But it couldn't succeed and it showed error message as follows:

"Not in idle state after sending CMD8 (not an SD card?)"

Does anyone know how to write the file into Eye-Fi SD Card?

 #include "mbed.h"
 #include "string"
 #include "SDHCFileSystem.h"
 
 SDFileSystem sd(p5, p6, p7, p8, "sd"); // mosi, miso, sclk, cs
   
 int main() {
       
       FILE *fp = fopen("/sd/DCIM/myfile.txt", "w");
       fprintf(fp, "\n\rHello World!\n\r");
       fclose(fp);
       printf("Finished!!\n");
 }