fs: file write error (-5)

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.

Parents Reply
  • Hi Jorgen,

    I am facing the same issue in NCS 1.9

    I am able read and write data on SD card successfully.

    the issue is that when i am trying to download the  data to sd card and  its work upto 5 to 6 % of total data. after that I am getting error in fs_open function .and the error is -5;

    The total size of data is 2MB.

    The same code work properly in NCS 1.5.0.so every thing in term of hardware and SPI connection.

Children
No Data
Related