Choose CDC when you want to use a serial terminal or an existing COM-port program. Start with the short connection test below.
CDC makes the PIC appear as a serial or COM port on the PC. Your program sends and receives bytes through TXReport, RXReport and the common USB calls. A physical UART is not needed for this USB-only connection.

Choose the assigned COM port and connect. Each SEND 100/200/222 button sends one binary byte; the Custom box can send text instead. COM6 is only the port used in this example. The picture shows example settings; the current app starts with DTR enabled. Keep it enabled when your firmware requires it.

Windows may keep the general name USB Serial Device even when the model shows your product name. Use the COM number assigned on your PC; it may differ from COM6.
A visible COM port is only the first step. USB_Configured=1 means the PC has set up the USB connection. A terminal may still be closed. Windows may call the port USB Serial Device (COMx) even when you entered a product name. Windows chooses the COM number.
The CDC Data → PC Host App folder contains the source for the basic Windows test app. Build it in Visual Studio 2026, then follow Use the CDC test app to select the port, send a command and read the reply. You can keep using it as a test tool or change its buttons and display for your own project.
Created with the Personal Edition of HelpNDoc: Elevate your documentation to new heights with HelpNDoc's built-in SEO