Difference between revisions of "CDC"

From SEGGER Wiki
Jump to: navigation, search
Line 2: Line 2:
 
This USB class is usually used for serial port emulation and as a modem interface.
 
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.
 
The class is also often used in combination with older software which previously used RS-232 to communicate with an external device.
  +
  +
__TOC__
  +
  +
= 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.
  +
  +
= 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.

Revision as of 11: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.

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.