STM32F746-DISCOVERY. USB HOST FS MSC not working. Application state never go to state "APPLICATION READY"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-31 8:12 AM
Hello,
I am working on a project with an STM32F746BGT6. I am supposed to read a binary file on an USB key. I have a code with USB OTG-FS working on STM32F4, but not with a F7. The variable "Appli_state" is never changed to "APPLICATION_READY" which unable the code to continue.
So I tried a STM32 example on the discovery board STM32F746. This example is the MSC_Standalone USB Host Mass Storage (MSC) application.
I connected the usb key on connector CN13, which is the connector for FS.
I started the program and got the same problem as above. I tried with an USB key FAT32 and FAT16. The only steps that are executed correctly are
- linking the usb driver
- mounting the usb key.
As it is an example code from ST, i guess it is supposed to work.
Does anyone had a similar problem?
Thank you for any idea.
Best regards.
Solved! Go to Solution.
- Labels:
-
STM32F7 Series
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-10 10:30 AM
Hi @GNico.2​
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.1.
PS.
I hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-10 10:30 AM
Hi @GNico.2​
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.1.
PS.
I hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-20 12:04 AM
Hi @MWB_CHa​ ,
Thanks for the answer. I will try with V3.5.1 of STM32F7 package. Thanks also for the link in PS.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-21 1:50 AM
Hello @MWB_CHa​ ,
I tried with the V3.5.1 available on the GitHub and it worked perfectly with ST example code and with my own code => The solution proposed solved the problems.
Thank you,
Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-27 10:03 AM
@GNico.2​ I'm glad it helped !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-31 4:51 AM
Hi @GNico.2​ .. can you please share the link with the example of github you found working but for stm32f29 discovery 1 board ? Thanks
