Data losing while writing into SD card using FATFS

Home Forums MPLAB XC8 Project Discussions Data losing while writing into SD card using FATFS

Viewing 1 reply thread
  • Author
    Posts
    • #7812

      I am trying to write data in SD Card using f_write of FatFs. But data losing is happening frequently. Please suggest me the how to get the missed data. I have added the image of f_write below. When i am trying to write numbers in SD Card from 1 to 255. randomly those are missing.

       

       

      Attachments:
      You must be logged in to view attached files.
    • #7814
      Bitahwa BinduBitahwa Bindu
      Keymaster

      Hi,

      Which PIC are you using? What is the version of the FatFs library you are using? What’s your SPI write speed?

      Have you tried with a different Sd card? How does data loss happen? All the times or only sometimes?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Select your currency
EUREuro