Difference between revisions of "CDC"

From SEGGER Wiki
Jump to: navigation, search
(Accessing CDC on Linux)
(Accessing CDC on Linux)
Line 11: Line 11:
 
can be used to access the device.
 
can be used to access the device.
   
[file:CDC_ACM_Linux.png]
+
[[file:CDC_ACM_Linux.png]]
   
 
= Accessing CDC on Windows =
 
= Accessing CDC on Windows =

Revision as of 12:10, 26 June 2019

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.