Content originally posted in LPCWare by pra18 on Tue Oct 14 05:08:03 MST 2014
Hi,
I tried to use this project and now able to open a virtual COM port but have a problem.
As it is, the example works fine without any issues when I run it .
When I disable the infinite loop present after making a call to the USBD_API->hw->Connect that will read and write through the opened virtual com port
there is a message saying USB device not recognised on the PC side.
This message also comes up and observed when there is a breakpoint on this call.
can anyone point to exactly at which place in the code does the virtual COM port get opened and how to find this in the driver?
This above point is of significance when we try to port the existing USB driver into a code base and we cant afford to run it in a while(1) everytime as it disallows other functionalities.
Thanks in advance,