Hello zhixiang,
Just do this modification:
1. open ffconf.h
Line 50, change _USE_MKFS to 0.
Disable f_mkfs function

2. New test result
This is my test result in the SD card.

After point 1 modification, build and download it to the board again.
You can find the folder test and test.txt still exist.
You can try it on your side.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------