Skip to main content
Graduate
May 2, 2025
Solved

USBx MSC demo not working on stm32h5 discovery board

  • May 2, 2025
  • 2 replies
  • 492 views

I've just brought the stm32h573i-dk dev board and what to become familiar with Threadx and USBx. I have a uni project coming up that I would like to use the board as a msc device but struggling to get the board to enumerate with the PC. I have tried to get majority of the USBx reference designs up and running. They compile fine but nothing happens when I connect the board to a PC on cn17 ( the non stl-link usb). Is there anything I'm doing  wrong to get it up and running . Is there something I need to enable to for the USB port to work? 

 

I also have a couple of u5 and h5 nucleo boards I would also like to get up and running With various forms of USB Once I have the discovery board working. Any pointers would be greatly welcome. Thanks

    This topic has been closed for replies.
    Best answer by Sidewinder

    Hi FBL,

    I have just revisited looking at the USBx examples but used a different USBc cable and  all examples

    work. It looks like a power only cable had got mixed in with the cables.

    2 replies

    Technical Moderator
    May 5, 2025

    Hi @Sidewinder 

    Did you insert SD card before application is started?

    Would you specify boards revision. Is it MB1677-C01?
    SidewinderAuthorAnswer
    Graduate
    May 12, 2025

    Hi FBL,

    I have just revisited looking at the USBx examples but used a different USBc cable and  all examples

    work. It looks like a power only cable had got mixed in with the cables.

    Visitor II
    December 8, 2025

    I’m having the same issue. The STM32H573I-DK example USBPD_SRC_UX_Host_MSC compiles normally, but when I plug a USB flash drive into the board, nothing happens. The board doesn’t detect or respond to the device.