┬ÁTasker Forum > USB

USB-CDC Host

(1/1)

mark:
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...

mark:
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

kingston:
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

Navigation

[0] Message Index

Go to full version