CDC

From SEGGER Wiki
Revision as of 12:09, 26 June 2019 by Yan (talk | contribs) (Accessing CDC on Linux)
Jump to: navigation, search

Communication Device Class - Abstract Control Model (CDC-ACM) This USB class is usually used for serial port emulation and as a modem interface. The class is also often used in combination with older software which previously used RS-232 to communicate with an external device.

Accessing CDC

Accessing CDC on Linux

On Linux no drivers are needed, the device should show up as /dev/ttyACM0 or similar. "sudo screen /dev/ttyACM0 115200" can be used to access the device.

[file:CDC_ACM_Linux.png]

Accessing CDC on Windows

On Windows 8.1 and below the "usbser" driver is not automatically assigned to the CDC-ACM device. To install the "usbser" driver see \Windows\USB\CDC . The device can be accessed via COM port emulation programs e.g. PuTTY.

Accessing CDC on macOS

On macOS no drivers are needed, the device should show up as /dev/tty.usbmodem13245678 or similar. The "screen" terminal program can be used to access the device.