Hi~:
I use microsd card on nrf21540, the sd card mounted success and write file success, but after some time ,I found write error.
And this issue can be reappeared. Can you give me some suggession.Thanks!
I use the ncs V1.9.
Hi~:
I use microsd card on nrf21540, the sd card mounted success and write file success, but after some time ,I found write error.
And this issue can be reappeared. Can you give me some suggession.Thanks!
I use the ncs V1.9.
Can you check if the suggestions in this ticket will resolve your issue?
yeah, it works.but i got an error:"fs: file sync error(-5)" ,like this
Can you check the connections, and have a look at the SPI signals with a scope/logic analyzer, to see if there are noise or signal issues that can explain the behavior?
The -5 error is a IO error, so it could be related to the communication between the SD card and the chip.
#define EIO 5 /**< I/O error */
I can not find any I/O Error,this is my example.I found the function fs_sync() delay about 10s and return -5,and the sd card have some data,but not all.5857.sample.zip
I also see this issue. SD card reads/writes from USB device just fine, but when I fs_sync or fs_close the file there's a 10 second delay then error -5
SD card on SPI bus 3