µTasker Forum

µTasker Forum => USB => Topic started by: mark on July 22, 2017, 11:58:15 AM

Title: USB-CDC Host
Post by: mark on July 22, 2017, 11:58:15 AM
Hi All

This topic has been created from snippets from a different thread (from Paul) and will be continued here:

PS: Thank you for the usb stack fixes, all my problems seem to be gone :)

BTW:

There seems to be still a bug in the USB-Host functions where it gets stuck requesting the IN token.
I can't really reproduce it but it happens sometimes after half an hour and sometimes after 5 hours :)

Continued...
Title: Re: USB-CDC Host
Post by: mark on July 22, 2017, 12:02:35 PM
Hi Paul

Does this mean that the host does not sent IN frames from a certain point in time?
For USB-CDC host IN frames will be sent all of the time when the host is not transmitting itself so it sounds as though the IN tokens haven't been re-enabled after a transmission has been performed.

Is such a call missing?
fnDriver(USBPortID_comms[FIRST_CDC_INTERFACE], (RX_ON), 0);
or can you identify that such a call failed (to restart the IN tokens)?

Regards

Mark
Title: Re: USB-CDC Host
Post by: kingston on August 07, 2017, 09:30:22 AM
Hi Mark,

I was out of the office for the last two weeks so I did not check it again.
I will leave debugging running over night and will tell you the result.

Regards

Paul