Markus Reiter

Results 208 comments of Markus Reiter

@rafalh, I have moved the check and added an option to ignore/clear the flag when mounting the file system.

@rafalh, can you review this again? Thanks.

@x37v, I'm currently trying to implement it for the STM32 L4 HAL, but I'm getting a `CorruptedFileSystem` error from the `BootSector::validate` function.

It's here https://github.com/stm32-rs/stm32l4xx-hal/pull/315.

> In which version of the crate you encountered this problem? Master branch of this repo. > Is it embedded environment? Yes, on STM32L4 with the implementation I am working...

I am also getting the following debug output when listing the root directory contents: ``` failed to fill whole buffer in read_exact ``` Is this expected when reaching the directory...

> No, I don't think it is normal. Okay, I will have to investigate a bit more and try with a freshly formatted SD card to make sure the filesystem...

Okay, I have now found the reason for this behaviour. I am mounting the SD card on my computer (macOS) via an STM32 running an application making it a USB...

Okay, I managed to create images of the SD card in both the working and broken states. After some investigation I finally found the culprit: The FAT dirty flag is...