Skip to main content
frank23
Associate
April 27, 2016
Question

MAC OS Driver (Virtual COM Port) for STM32 USB

  • April 27, 2016
  • 1 reply
  • 9976 views
Posted on April 27, 2016 at 11:41

Hi, 

Anyone knows how to use STM32 USB as virtual com port under MAC OS? Do ST provide official driver for this?  

Frank

#usb #cdc #mac-os
This topic has been closed for replies.

1 reply

tsuneo
Associate II
April 29, 2016
Posted on April 29, 2016 at 08:21

MacOSX recognizes CDC(-ACM) devices (ie. virtual COM port) without ANY extra driver. Just plug in the device.

You'll see two objects under /dev for the single CDC device, for example.

/dev/cu.usbmodem001

/dev/tty.usbmodem001

You may use either one. As of the difference of cu. and tty. refer to this link

http://stackoverflow.com/questions/8632586/macos-whats-the-difference-between-dev-tty-and-dev-cu

For terminal apps on Mac, visit to these links.

http://pbxbook.com/other/mac-tty.html

http://pbxbook.com/other/mac-ser.html

Tsuneo