cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f429 R0.12c fatfs error f_mount ?

Hi world!
Associate III

Hi guys,

If i use R0.11 fatfs library with cubemx 4.21 verison, f_mount is work. But i upgrade my cubemx version to 4.26.1. Then i create sdio project. But f_mount(&SDFatFs, (TCHAR SDPath, 1) is not work with fatfs library version R0.12c.

What can i do for solution this problem.

Thanks, good work...

2 REPLIES 2

>>What can i do for solution this problem.

Not use CubeMX? The code examples under the HAL/Cube trees deem to be relatively solid, use those, or use diff/merge tools to review differences between working/not-working exemplars.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Hi world!
Associate III

Thanks for reply,

Yes i use cubemx. My question is why i use cubemx 4.21 f_mount(&myfat, SDPath, 1) is success but if i use cubemx 4.26.1 f_mount(&myfat, SDPath, 1) is not working.

I think this is a small bug..

Good work..