AnsweredAssumed Answered

Virtual comport cannot detect disconnect

Question asked by Ken Su on Jun 12, 2017
Latest reply on Jun 13, 2017 by Ken Su

Hi , I use the VCOM sample project to make my debug message output from USB Virtual com port. It work.

My evaluation board is MCB1800, I use the "usbd_rom_cdc_vcom" sample project.


But I find if my PC terminal tool(ex: teraTerm) is close or disconnected. The firmware cannot detect it's already disconnect.


How to detect if the terminal is already disconnected in the firmware?


It seems there is no interrupt handler to process the connection is disconnected from PC(connected --> disconnected).