Difference between revisions of "CDC"

From SEGGER Wiki
Jump to: navigation, search
(Accessing CDC on Linux)
Line 6: Line 6:
   
 
= Accessing CDC =
 
= Accessing CDC =
= Accessing CDC on Linux =
+
== Accessing CDC on Linux ==
 
On Linux no drivers are needed, the device should show up as
 
On Linux no drivers are needed, the device should show up as
 
/dev/ttyACM0 or similar. "sudo screen /dev/ttyACM0 115200"
 
/dev/ttyACM0 or similar. "sudo screen /dev/ttyACM0 115200"
Line 13: Line 13:
 
[[file:CDC_ACM_Linux.png]]
 
[[file:CDC_ACM_Linux.png]]
   
= Accessing CDC on Windows =
+
== Accessing CDC on Windows ==
 
On Windows 8.1 and below the "usbser" driver is not automatically
 
On Windows 8.1 and below the "usbser" driver is not automatically
 
assigned to the CDC-ACM device. To install the "usbser" driver
 
assigned to the CDC-ACM device. To install the "usbser" driver
Line 19: Line 19:
 
emulation programs e.g. PuTTY.
 
emulation programs e.g. PuTTY.
   
= Accessing CDC on macOS =
+
== Accessing CDC on macOS ==
 
On macOS no drivers are needed, the device should show up as
 
On macOS no drivers are needed, the device should show up as
 
/dev/tty.usbmodem13245678 or similar. The "screen" terminal
 
/dev/tty.usbmodem13245678 or similar. The "screen" terminal

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