I used f_write to write data to SD card (belongs to fatfs library instead of stdio.h as the sd card example) and it works in IDF 2.0, but in IDF 3.0 it write nothing to sd card (even it returns FR_OK) (I open card using reader and see the content of file still is the same, but it changes in with idf2.0)
p/S I tried to check ff_conf.h and notice that if FS_LOCK = 0 as in the newest IDF, it returns FR_OK and nothing, but if I enable FS_LOCK to 10 or 20 as in IDF 2.0, it will return error 16 (locked file)
I think that the newest IDF 3.0 has a problem with file operation.
hope to get opinions
Fatfs f_wirte doesnt work in the newest update IDF 3.0
Who is online
Users browsing this forum: Bing [Bot] and 89 guests