cancel
Showing results for 
Search instead for 
Did you mean: 

USB Device Compatibility Issue with STM32H47 – Request for Recommendations

Spinoza53
Associate

Hi all,

I hope everyone is progressing well with their projects.

I'm currently working with the STM32H47 series microcontroller. In my project, I log certain values and store them in external flash memory. Later, I use USB host functionality to retrieve this data from flash. Under normal conditions, the project works as expected.

However, I’ve encountered an issue: when using a specific brand of USB drive, the device is recognized and functions properly. But when I try other USB brands, the STM32 fails to detect them. I’ve tested the hardware setup and found no issues there, which led me to believe the problem might lie in the USB host code—possibly in the files generated by STM32CubeIDE.

Do you have any suggestions or best practices on how to standardize USB host support to ensure compatibility across various USB drive brands? Any recommendations on what to check or modify in the generated code would be greatly appreciated.

Thanks in advance for your support!

Best regards,

2 REPLIES 2
AScha.3
Super User

Hi,

STM32H47 series --- 47? cpu ? 

I use (here) the H743 , also USB host -> MSC ; i have seen all usb-sticks working, even the cheap "mini-64GB-stick" from China , unknown source. 

I suspect a hardware problem or the correct detection of the current USB status ; (Appli_state = APPLICATION_START ....and what you do then.).

+

>I’ve tested the hardware setup and found no issues there,

How you tested ?

+

or format problem ?  

Maybe stick is  exFAT  , but you have not enabled  exFAT  in your file system. btw what you use ?

If you feel a post has answered your question, please click "Accept as Solution".
FBL
ST Employee

Hi @Spinoza53 

Do you have USB protocol analyzers to spot differences?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.