Skip to main content
MauFanGilaMedical
Associate III
Solved

Bug on fatfs

Hello.

I'm using Riverdi board.

This board uses STM32H757XIH6 .

I used FATFS R0.12c with uSD and USB-MassStorage in Unicode mode

 

MauFanGilaMedical_0-1745909669577.png

When mount uSD and then USB I noticed that FatFs[0] is overwritten.

 

 

    This topic has been closed for replies.
    MauFanGilaMedical
    Associate III

    I have noticed bug on this files

    MauFanGilaMedical_0-1745909897418.png

    Type of SDPath, USBHPath has to be TCHAR and not char

    MauFanGilaMedical_1-1745909941183.png

    and the same with FATFS_LinkDriverEx,FATFS_LinkDriver,FATFS_UnLinkDriverEx,FATFS_UnLinkDriver

     

     

     

    1 reply

    MauFanGilaMedical
    MauFanGilaMedicalAuthorBest answer
    Associate III

    I have noticed bug on this files

    MauFanGilaMedical_0-1745909897418.png

    Type of SDPath, USBHPath has to be TCHAR and not char

    MauFanGilaMedical_1-1745909941183.png

    and the same with FATFS_LinkDriverEx,FATFS_LinkDriver,FATFS_UnLinkDriverEx,FATFS_UnLinkDriver