<div dir="ltr">Just tried this but doesn't seem to be working reliably for me :(<div>a) I'm using a VCP (Virtual Com Port emulated through USB pins on an STM32L496).</div><div><div>b) It does work when used with an FTDI serial cable (USB to UART cable adds a UART by USB)</div><div>c) I haven't tested the Com Port through the STLink 14pin UART connection yet (I'll have a PCB with that in about a week)</div><div><br></div><div>What happens with VCP on STM32:</div><div>- Coolterm *sometimes* gives a popup: [CoolTerm - Warning][A Serial Port Error <font color="#ff9900">Occurred</font>] [22: Error 22]<br></div><div>-- The popup seems to always occur when I reset the STM CPU (loose VCP emulation while USB code restarts)</div><div>-- The popup sometimes occurs if I disconnect USB cable, wait, reconnect (possibly every second time it works)</div><div>-- Possibly related to timing of how fast port reappears?</div><div><br></div><div>These Coolterm settings didn't seem to affect it?<br></div><div>[disabled] Options - Misc - Automatically connect on open* (also tried enabled)</div><div>[enabled] 

Options - Misc - 

Automatically disconnect on close*  (Also Tried Disabled)</div><div>  *I tried a few combinations of these but didn't seem to affect Auto Reconnect of my VCP device</div><div><br></div><div>From CoolTerm Change Log: 1.9.0b1<br></div><div>- Added code to detect sudden removal of serial devices. When a port is currently open, it will be closed when the device suddenly disappears.<br></div><div>- Added code to detect re-appearance of serial devices. If a device has suddenly disappeared before while the port was open, CoolTerm will attempt to re-open the port. This is useful when attached microcontrollers are being rebooted.<br></div><div><br></div><div>Paul</div></div></div>