AnsweredAssumed Answered

STM32F4 USB Host HS for MSC

Question asked by taheri.jamal on May 26, 2012
Latest reply on Sep 11, 2012 by ntavish
hi all
i try to work with usb host hs for msc.
but no answer !
my program in this instruction looped :

    do
    {
      status = USBH_MSC_Read10(&USB_OTG_Core, buff, sector, 512*count);
      USBH_MSC_HandleBOTXfer(&USB_OTG_Core ,&USB_Host);
      
      if(!HCD_IsDeviceConnected(&USB_OTG_Core))
      {
        return RES_ERROR;
      }      
    }
    while(status == USBH_MSC_BUSY );

please help

Outcomes