OS 6 SD Card filesystem gets corrupted when written to

Hello,

you need combinate the SDblockdevice with a FileSystem, in context of Windows - FATFileSystem - API references and tutorials | Mbed OS 6 Documentation

BR, Jan