SD_read - SCB_InvalidateDCache_by_Addr issue #95
Labels
bug
Something isn't working
fatfs
FatFs-related issue or pull-request
fs
File system-related issue or pull-request
internal bug tracker
Issue confirmed and reported into a ticket in the internal bug tracking system
mw
Middleware-related issue or pull-request.
Projects
When Buffer is not 32-byte aligned, SD_Read will invalidate the Data Cache according to the following code.
When calculating alignedAddr, the program will add some extra memory addresses to the front, which will cause problems with the data in those memory addresses.
\Middlewares\Third_Party\FatFs\src\drivers\sd_diskio_dma_rtos_template_bspv1.c
\Middlewares\Third_Party\FatFs\src\drivers\sd_diskio_dma_rtos_template_bspv2.c
The text was updated successfully, but these errors were encountered: