2022-12-23 05:25 AM
Hi, I'm trying to run a USB host mass storage on an STM32F750. After building the project in STM32Cube V 1.11.0 I have in "usb_host.c" after the line
" Appli_state = APPLICATION_READY;"
the code
"res = f_mount(&USBHFatFS, USBHPath, 1);"
written, but "res" was always "FR_DISK_ERR". I had tested this way in Nucleo-H723 and seen that it worked. I decided to test with another Stm32Cube version. I had the same problem with version 1.9 but with version 1.8 it works without problems.
Is this a HAL_Library issue and is there a way to solve it?
I defined my project in version 1.11.0 and prefer to continue developing it with this version.
Solved! Go to Solution.
2023-02-10 10:27 AM
Hi @M_Fakhr
Sorry for the delayed answer.
We confirm the issue that is in USB Host library V3.4.1 and that was fixed in V3.5.0.
STM32F7 CubeFW release still doesn't integrate USB Host V3.5.0, but you can get it here on GitHub and use it in your package to fix the problem.
Future updates of STM32F7 package will contain V3.5.0.
PS. Similar to https://community.st.com/s/question/0D53W00001fPT6NSAW/stm32g0b1-usb-host-msc-flash-drive-not-working
I hope it helps.
2023-02-10 10:27 AM
Hi @M_Fakhr
Sorry for the delayed answer.
We confirm the issue that is in USB Host library V3.4.1 and that was fixed in V3.5.0.
STM32F7 CubeFW release still doesn't integrate USB Host V3.5.0, but you can get it here on GitHub and use it in your package to fix the problem.
Future updates of STM32F7 package will contain V3.5.0.
PS. Similar to https://community.st.com/s/question/0D53W00001fPT6NSAW/stm32g0b1-usb-host-msc-flash-drive-not-working
I hope it helps.