insane-adding-machines / unicore-mx

UniCore-MX | Universal Core for ARM Cortex-M0/0+/3/4/7/X
GNU General Public License v3.0
50 stars 8 forks source link

!usbd:dwc_otg:OUT prematured urb RXC leads to loose next URB #56

Open alexrayne opened 7 years ago

alexrayne commented 7 years ago

on stm32 premature completed URBs (finished by short packet or else) are followed by standalone OUT_COMP received packet, that rise RXC IRQ.

this RCX will captured by next active URB, and leads to terminate it.

this patch tests against MSD implementation - it allow format usb drive in winXP.

kuldeepdhaka commented 7 years ago

Ok, this PR seem to fix a bug. Note for myself: check for regression and merge it.