Other Parts Discussed in Thread: CONTROLSUITE
I am using the control card above I maintained above. I go through the sample code for SPI SD card in control suite for this processor. It works fine It is reading the Directories which exist in SD card.
Now I want to make directories , so I used "fresult =f_mkdir("mydir1");" to create a folder into SD card but It shows the error statement: "Error creating Directory and command returned error code is FR_RW_ERROR".
I also investigate that from where the error is coming, I got that the below statement gives the error "if (!move_window(fs, dsect)) return FR_RW_ERROR;"
And In move_window function, a "disk_write function" is there, in this function the variable returned count should be 0 but it returns non-zero.
I am not sure the right way to create a folder in SD card. Or the issue somewhere else.
Please guide me to resolve this issue.
I am using the sample code "C:\ti\controlSUITE\device_support\F2837xD\v210\F2837xD_examples_Cpu1\sd_card"".
My CCS ver. is Version: 6.2.0.00050.
I am using 4GB SD card kingston make.
Ashutosh Bhatt