0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacでUSBシリアルケーブルを利用する方法を復習

0
Posted at

先日久々にシリアルケーブルを使う機会がありました。

Windowsの場合は、TeraTermを使うのが手っ取り早いですね。

一方のMacですが、使い方を完全に忘れていたので、自分用の備忘録を残しておきます。

デバイス名とコマンド

先日作業した環境では、デバイス名は以下のようになりました
/dev/cu.usbserial-xxxx

で、screenコマンドに以下の引数を渡して、シリアルコンソールへの接続成功。
ボーレートは 115200 から適宜変更してください。

screen  /dev/cu.usbserial-1130 115200 -L

終了の仕方

Ctrl+a, Ctrl+k

Ctrl+kで仮想ターミナルをkillしないと、USBシリアルケーブルをつかんだままになってしまい、screenでの再接続ができなくなります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?