cancel
Showing results for 
Search instead for 
Did you mean: 

Bug on fatfs

MauFanGilaMedical
Associate II

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
MauFanGilaMedical
Associate II

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

 

 

 

View solution in original post

1 REPLY 1
MauFanGilaMedical
Associate II

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