Skip to main content
Graduate
April 29, 2025
Solved

Bug on fatfs

  • April 29, 2025
  • 1 reply
  • 251 views

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.
    Best answer by MauFanGilaMedical

    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

    MauFanGilaMedicalAuthorAnswer
    Graduate
    April 29, 2025

    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