Skip to main content
Graduate
January 8, 2025
Question

Failed to inerface (4 and 8 GB) pendrive to STM32H747

  • January 8, 2025
  • 4 replies
  • 925 views

 

Dear Community,

 

I am currently working on interfacing of USB (pen-drive) in FS mode with STM32H747BIT6.

I have observed that  during the enumeration process of pen-drive it is failing  to proceed at the function

USBH_HandleControl --> case CTRL_SETUP_WAIT: --> USBH_LL_GetURBState -->HAL_HCD_HC_GetURBState -->

hhcd->hc[chnum].urb_state is not changing to URB_DONE and continues to show URB_NOTREADY.

As the interrupt is not getting triggered for FS.

Is there any i can find if the problem subsides in Hardware or USB driver side.

Attaching schematic part for the reference.

Thanking in advance.

Regards

    This topic has been closed for replies.

    4 replies

    Super User
    January 8, 2025
    Graduate II
    January 8, 2025

    No useful information presented. 

    Instrument the USB interaction at first connection.

    Show file system interaction at a block level.

    Make sure it can read the MBR and BPB from the media and review what's happening differently between working and non-working cases.

    Instrument error and status messages.

    RushaliAuthor
    Graduate
    January 9, 2025

    @Andrew Neil

    I have updated my query. Awaiting for the solution .

     

    Technical Moderator
    February 11, 2025

    Hi @Rushali 

    Could you explain why you use ULPI interface while operating in FS mode only?