Skip to main content
voyvoda .
Senior
August 29, 2018
Solved

STM32F4 + USB MSD + SDIO Working Example

  • August 29, 2018
  • 4 replies
  • 2041 views

Hello,

I am using STM32Cube_FW_F4_V1.21.0 library version.

I would like to implement USB mass storage device example along with SDIO interface. When I connect my STM32 device with the PC, I wish to see my SD card content on my PC.

I made some configuration in the cubemx. However it is not working.

Could someone share a working copy ?

Do I need to modify the content of the "usbd_storage_if.c" file ?

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Have you ported it to your specific board? STM32F4 is overly broad, perhaps you can be more precise about the board in question.

    Clocks, pins, HSE frequency and PLL settings? HSE_VALUE?

    4 replies

    Tesla DeLorean
    Guru
    August 29, 2018

    STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Applications\USB_Device\MSC_Standalone

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    voyvoda .
    voyvoda .Author
    Senior
    September 3, 2018

    When I compile and download the code. I see a USB problem.

    What could be the possible solution ?

    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    September 3, 2018

    Have you ported it to your specific board? STM32F4 is overly broad, perhaps you can be more precise about the board in question.

    Clocks, pins, HSE frequency and PLL settings? HSE_VALUE?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    voyvoda .
    voyvoda .Author
    Senior
    September 3, 2018

    Thanks Clive,

    it is PLL Settings. Now it is working