Skip to main content
Graduate II
July 12, 2021
Solved

Usb stick Reading..

  • July 12, 2021
  • 1 reply
  • 1549 views

Hi guys.. I am trying to read the usb stick with STM32F746... I am always stucked becasue it doesn't read anything... Can you please help me ?

Thanks a lot

    This topic has been closed for replies.
    Best answer by Walid ZRELLI

    Hello @SGasp.1​ ,

    Take a look at the following example provided in our F7 Firmware Package ( Path : Projects\STM32746G-Discovery\Applications\USB_Host\MSC_Standalone )

    To select the appropriate USB Core to work with, you must add the following macro defines within the compiler preprocessor (already done in the preconfigured projects provided with this application) :

       - "USE_USB_HS" when using USB High Speed (HS) Core

       - "USE_USB_FS" when using USB Full Speed (FS) Core 

    This may help you.

    BeST Regards,

    Walid

    1 reply

    Visitor II
    July 15, 2021

    Hello @SGasp.1​ ,

    Take a look at the following example provided in our F7 Firmware Package ( Path : Projects\STM32746G-Discovery\Applications\USB_Host\MSC_Standalone )

    To select the appropriate USB Core to work with, you must add the following macro defines within the compiler preprocessor (already done in the preconfigured projects provided with this application) :

       - "USE_USB_HS" when using USB High Speed (HS) Core

       - "USE_USB_FS" when using USB Full Speed (FS) Core 

    This may help you.

    BeST Regards,

    Walid