Skip to main content
GPerk.1
Associate II
Mar 28, 2021 10:31 AM UTC
Solved

I cannot get USB HOST software to compile for my L496G-Disco. T

Th software comes in the package STM32CubeL4. How to configure it to work in STM32CUBEIDE?

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
Mar 29, 2021 6:34 PM UTC

Hello @GPerk.1​ ,

I recommend you to have a look to the User manual UM1720 : "STM32Cube USB host library".

You will find USB Host examples in the STM32CubeL4 MCU package relevant for your device which are configured for SW4STM32 and other IDEs:

Repository\STM32Cube_FW_L4_V1.17.0\Projects\32L496GDISCOVERY\Applications\USB_Host

To use STM32CubeIDE, you can follow the User manual UM2579 to import Cube projects from SW4STM32 to STM32CubeIDE:

  • UM2579: Migration guide from System Workbench to STM32CubeIDE

  

Please mark my post as best by clicking on the "Select as Best" button if it helped =) This will help other users find this solution more quickly.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

3 replies

Imen.DBest answer
ST Technical Moderator
Mar 29, 2021 6:34 PM UTC

Hello @GPerk.1​ ,

I recommend you to have a look to the User manual UM1720 : "STM32Cube USB host library".

You will find USB Host examples in the STM32CubeL4 MCU package relevant for your device which are configured for SW4STM32 and other IDEs:

Repository\STM32Cube_FW_L4_V1.17.0\Projects\32L496GDISCOVERY\Applications\USB_Host

To use STM32CubeIDE, you can follow the User manual UM2579 to import Cube projects from SW4STM32 to STM32CubeIDE:

  • UM2579: Migration guide from System Workbench to STM32CubeIDE

  

Please mark my post as best by clicking on the "Select as Best" button if it helped =) This will help other users find this solution more quickly.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
GPerk.1
GPerk.1Author
Associate II
Mar 29, 2021 9:28 PM UTC

It took me couple of minutes to setup everything. L496G-Disco board was able to explore the disk. Thanks Imen :)

ST Technical Moderator
Mar 30, 2021 8:12 AM UTC

You are welcome :) Glad to hear that you have solved your problem.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks