cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX ver 5.5 FATFS cannot be mounted

SSin
Associate III

Dear all,

I created a project which include reading SD card iwith FATFS library & STM32CubeMX ver 5.3. It works find

But once I updated to ver 5.5. When I migrate the old workspace with new CubeMX, the FATFS library doesn't work. After some investigation, I find that the SD card driver number is changed from "0:\" to "Z:\". And FATFS can only support driver number from 0-9 (BTW is it possible to make it supports driver A-Z?). If I choose "Continue" instead of "Migrate", problem solved!

Can anyone help to review? Sorry that I don't have the source code as I need to check out how to downgrade my CubeMX

Best Regards,

Sin

0690X00000DXUosQAH.png0690X00000DXUp7QAH.png

1 REPLY 1
SSin
Associate III

Sorry, my fault

Since ver 5.5, the generated code will call FATFS_LinkDriver during initiallization. So don't call it again