USB *Host* VCP example


As PCs are rapidly losing their COM ports, and just having USB, so devices are now losing their RS232 ports and providing only a USB Device connection.

Previously, it was easy to use devices with microcontrollers by connecting to the UART - now we increasingly need to be able to provide a USB Host socket to act as a "virtual COM port".

Unfortunately, nobody seems to provide any examples of this!


There are loads of USB Host examples for mass-storage and HID - but (virtually) nothing for VCP (or CDC).


So, it'd be great to have a Host* VCP example - something into which you could connect a standard USB-to-Serial adaptor, for the purposes of demonstration...

See also:

19 Replies