Difference between revisions of "CDC"

From SEGGER Wiki
Jump to: navigation, search
(Accessing CDC on macOS)
(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_1.png]]
+
[[file:CDC_ACM_Linux_1.png|800px]]
   
[[file:CDC_ACM_Linux_2.png]]
+
[[file:CDC_ACM_Linux_2.png|800px]]
   
 
== Accessing CDC on Windows ==
 
== Accessing CDC on Windows ==

Revision as of 13:58, 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.

CDC ACM Linux 1.png

CDC ACM Linux 2.png

Accessing CDC on Windows

On Windows 8.1 and below the "usbser" driver is not automatically assigned to the CDC-ACM device. An .inf file for the CDC-ACM device must be installed on these older systems. The device can be accessed via COM port emulation programs e.g. PuTTY.

CDC ACM Windows 10 1.png

CDC ACM Windows 10 2.png

CDC ACM Windows 10 3.png

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.

CDC ACM macOS 1.png

CDC ACM macOS 2.png