Re: USB HOST cannot parse the last EndPoint
Dear A.Ziru,
Apparently I'm having the same problem as you when trying to receive MIDI data from a USB device (in this case it's a guitar multi-effects pedalboard). How did you solve the problem? Where and how did you defined that MIDI class descriptor?
In my case, the USBH lig gets stuck in this while loop:
while ((ep_ix < pif->bNumEndpoints) && (ptr < cfg_desc->wTotalLength))I seems that the function inside the while loop:
pdesc = USBH_GetNextDesc((uint8_t *)(void *)pdesc, &ptr);never increments the pointers to the end values.
I still need to study more the descriptors and the types of intefaces to better understand what is happening.
I would appreciate if you could indicate the path you followed to solve the problem.
Best regards,
Moreto
