3.1.2.4 Signaling
During USB enumeration, the host OS will start both communication and data pipes of the CDC interface. At this point, it is possible to set and read back the baud rate and other UART parameters of the CDC, but data sending and receiving will not be enabled.
When a terminal connects on the host, it must assert the DTR signal. As this is a virtual control signal implemented on the USB interface, it is not physically present on the board. Asserting the DTR signal from the host will indicate to the on-board debugger that a CDC session is active. The debugger will then enable its level shifters (if available) and start the CDC data send and receive mechanisms.
- Debugger UART receiver is disabled, so no further data will be transferred to the host computer
- Debugger UART transmitter will continue to send data that is queued for sending, but no new data is accepted from the host computer
- Level shifters (if available) are not disabled, so the debugger CDC TX line remains driven
- Debugger UART receiver is disabled, so no further data will be transferred to the host computer
- Debugger UART transmitter will continue to send data that is queued for sending, but no new data is accepted from the host computer
- Once the ongoing transmission is complete, level shifters (if available) are disabled, so the debugger CDC TX line will become high-impedance