Posted on July 10, 2016 at 19:05
So, I'm in no way pretending this is a fix, but rather a kludge albeit a working one:
in stm32f0xx_hal_pcd.c, in thePCD_EP_ISR_Handle, in the branch
if
((wEPVal & USB_EP_SETUP) != 0)
I detect t...
Posted on July 09, 2016 at 01:16I'm having the same problem (on an STM32f042). The pdev is changed in the endpoint stall routine, as I found through stepping through the code.I'm doing pretty much exactly the same, trying to get cubeMX code to run. ...