cancel
Showing results for 
Search instead for 
Did you mean: 

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

Rushali
Associate III

Hello Community,

 

I am facing problem while interfacing 4 and 8 GB pendrive with STM32H747 microcontroller.

After debugging i have observed that interrupt is not getting triggered i.e  when i inserted breakpoint in function (OTG_FS_IRQHandler) with controller never reached that breakpoint instead hhcd->hc[chnum].urb_state continue to stay URB_NOTREADY with 8 GB pendrive. while i interface the 64 GB pendrive interrupts are getting triggered &

hhcd->hc[chnum].urb_state did change to URB_DONE state.

 

Thanking in advance.

 

Regards

2 REPLIES 2

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..