SD card memory corruption due to overly aggressive cache maintenance
Posted on March 08, 2018 at 21:27 I just spent two harrowing days debugging random memory corruption in my application and the problem turned out to be overly aggressive cache invalidation. In sd_diskio.c this section of code (STM32Cube_FW_F7_...