USBD_CDC Not working at windows 10
Hi everyone !!
I am using a virtual com port (VCP) to conect my device to the computer. Everything was running well till i decide to comunicate with a windowns 10 host.
I realized two diferent situations :
The first was when i started the device with a terminal like Tera Therm (The equipment runned normally)
The second situation (the problematic one) was when i decided just to use the usb source and don't open a terminal. At this case, the equipament got stuck already in the first CDC_Trasmit_FS function, so i realized that seems the device is a status of "conected with host, and waiting for this".
How the image above shows, i realized that variable dev.state assumes the value = 0x03 even not connect to a terminal, diferent of w8 or older versions.
Trying to solve this problem, i decided to force the signal of tx.state to zero after a transmition to avoid the problem of stuck, i also tryed a time out, but all this ones are just paleative solutions...
I hope i have been clear in my explanation !!
Daniel
