Skip to main content
GPerk.1
Associate II
March 28, 2021
Solved

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

  • March 28, 2021
  • 3 replies
  • 1098 views

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

This topic has been closed for replies.
Best answer by Imen.D

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

3 replies

Imen.DBest answer
Technical Moderator
March 29, 2021

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
March 29, 2021

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

Technical Moderator
March 30, 2021

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