[CoolTerm-Betas] CooltermV1.9.0 - Auto-Reconnect

Paul Newf paul.newf at gmail.com
Thu Mar 25 10:20:28 EDT 2021


Just tried this but doesn't seem to be working reliably for me :(
a) I'm using a VCP (Virtual Com Port emulated through USB pins on an
STM32L496).
b) It does work when used with an FTDI serial cable (USB to UART cable adds
a UART by USB)
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)

What happens with VCP on STM32:
- Coolterm *sometimes* gives a popup: [CoolTerm - Warning][A Serial Port
Error Occurred] [22: Error 22]
-- The popup seems to always occur when I reset the STM CPU (loose VCP
emulation while USB code restarts)
-- The popup sometimes occurs if I disconnect USB cable, wait, reconnect
(possibly every second time it works)
-- Possibly related to timing of how fast port reappears?

These Coolterm settings didn't seem to affect it?
[disabled] Options - Misc - Automatically connect on open* (also tried
enabled)
[enabled] Options - Misc - Automatically disconnect on close*  (Also Tried
Disabled)
  *I tried a few combinations of these but didn't seem to affect Auto
Reconnect of my VCP device

>From CoolTerm Change Log: 1.9.0b1
- Added code to detect sudden removal of serial devices. When a port is
currently open, it will be closed when the device suddenly disappears.
- 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.

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://the-meiers.org/pipermail/coolterm-betas_the-meiers.org/attachments/20210325/428e2d59/attachment.htm>


More information about the CoolTerm-Betas mailing list