AnsweredAssumed Answered

USB virtual comport issue with PC application after disconnect and connect back

Question asked by g.vijay on Feb 28, 2017

Hi,

 

Am using STM32F072CB controller and am using USB in Virtual com port mode generated by cubex.

 

USB virtual comport communication is working fine.

 

But we are facing with  our PC application when Disconnect the virtual comport from the code  and try to connect back then most of the time's USB virtual comport not detecting in the PC application.

Due to this our PC application is hanging.

During this scenario I debugged STM32  code, it is running fine and also in device manager I can able to see STM32 Virtual comport .

 

The same PC application is working fine if I use UART port instead of USB virtual comport.I can able to disconnect and connect multiple times.

 

I hope you understand my problem.

 

Please can you give your suggestion.

Outcomes