3.1.1.1 Overview
The debugger implements a sophisticated USB device that includes a standard Communications Device Class (CDC) interface, which appears on the host as a virtual COM port.
CDC can be used to stream arbitrary data in both directions between the host and the target. Characters sent from the host will appear in UART form on the CDC TX pin, and UART characters sent into the CDC RX pin will be sent back to the host.
On Windows machines, the CDC will enumerate as the Curiosity virtual COM port and appear in the ‘ports’ section of the device manager. The COM port number is usually shown as well.
- On the older version of Windows, a USB driver is required for CDC. This driver is included in the MPLAB X IDE installations.
- On Linux machines, the CDC will
enumerate and appear as
/dev/ttyACM#
. - On MAC machines, the CDC will
enumerate and appear as
/dev/tty.usbmodem#
.
Depending on which terminal program is used, it will appear in the available list of
modems as usbmodem#
.