The default volume name is mmc:0:. So even if there is no card connected it will show value 0.Can you use the code snippet given below.
if(0 == (status_t = FS_GetVolumeInfo("mmc:0:0", pInfo)))//default volume name is mmc:0:0
/* Getting volume name succeeded so prompt it on the LCD */
LCD_PrintString("SD card name:");
Can you check if this code snippet is working. Just to confirm if the connection is proper. Also can you please use a 2GB SD card and test the project. Also can you try formatting in FAT32 and use the FAT 32 library and test again.
Thanks for your help but it not working, PSoC tell me it's an undeclared identifier, but I don't know what is his identifier.
I must include the identifier for status_t and for pInfo
I don't have a 2GB card I must buy one for try, and at least I tried to format in FAT32 and change my library and it's seems like it works.
It's work I can create en write in a .txt file. But I want to return to the line at all step.
I found I must use \n but it doesn't work, Do you have an idea for how I can do that
Can you please elaborate the requirement. Do you want to write new line into the text file?