This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FatFs question

I used nRF5_SDK_14.1.0_1dda907.

I used fatfs example.

Wirted data in the same file to sd card.

I discoverd that Max size of the file is 16KB.

Over the max size of file, when i write data to sd card, will be failure.

Can i change the max size to one file, or no limit size ?

Parents
  • I used 8GB sd card.

    If there are two file in the sd card.

    The one is 16KB.

    Another is 14 KB.

    If i write data to 14KB file, will be successful.

    If i write data to 16KB file, will be failure.

  • I need to know how you have initialized the file system, do you have any code, tracelogs, or logs that you can share?

  • I used the code init the fill system.

  • Without looking at SD_card_write_string_in_file(), my guess is: Stack overflow.

    Why didn't you post the function that actually fails?

  • Error message :

    I added line is 25.

Reply
  • Error message :

    I added line is 25.

Children