Hi @mischko:
the demo regular work when I use the FAT type sd card to test it. I would say, It is very important for you to use the correct format type of SD.the The sd type is FAT32
this is correct print when you update the example code to WIO terminal:
[18:55:46.998]收←◆SD Card Size: 15193MB
Listing directory: /
DIR : /System Volume Information
FILE: /test.txt SIZE: 0
FILE: /foo.txt SIZE: 13
Creating Dir: /mydir
[18:55:47.100]收←◆[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:340) The status of mkdir : 0
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:341) more information about the status , you can view the FRESULT enum
Dir created
Listing directory: /
DIR : /System Volume Information
FILE: /test.txt SIZE: 0
FILE: /foo.txt SIZE: 13
DIR : /mydir
Removing Dir: /mydir
Dir removed
Listing directory: /
DIR : /System Volume Information
Listing directory: /System Volume Information
FILE: /System Volume Information/IndexerVolumeGuid SIZE: 76
FILE: /System Volume Information/WPSettings.dat SIZE: 12
FILE: /test.txt SIZE: 0
FILE: /foo.txt SIZE: 13
Writing file: /hello.txt
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:84) The status of f_write : 0
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:85) more information about the status , you can view the FRESULT enum
File written
Appending to file: /hello.txt
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:84) The status of f_write : 0
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:85) more information about the status , you can view the FRESULT enum
Message appended
Reading Dir: /hello.txt
Read from file: Hello World!
Deleting file: /foo.txt
File deleted
Renaming file /hello.txt to /foo.txt
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:352) The status of rename : 0
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:353) more information about the status , you can view the FRESULT enum
File renamed
Reading Dir: /foo.txt
Read from file: Hello World!
0 bytes read for 0 ms
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:84) The status of f_write : 9
[SEEED_FS](C:\Users\59535\Documents\Arduino\libraries\Seeed_Arduino_FS\src\Seeed_FS.cpp:85) more information about the status , you can view the FRESULT enum
512 bytes write for 14 ms
Total space: 2897MB
Used space: 0MB
the more information you can access our wiki.