Kind of cool – using USB as console on XPortHub – notice all the init messages before the USB starts. Just a buffer tricks. The “Terminal” is a simple C# app that open a port, read/write. I will upgrade it to a proper CLI later.
This is maybe the most important part of the infrastructure as it allows me to use USB as 2-way console/HMI for debugging.
Getting USB to work is straight forward, but getting it to work properly with STCubeIDE is a different issue. It’s been a few tweaks to get a working IDE.
The idea is that you can use this console to upload firmware and set configuration as well to do debugging/maintenance.