Serial Console Access

The Key Croc features a dedicated serial console from its arming mode. From serial, its Linux shell may be accessed.

SERIAL CONSOLE SETTINGS

  • 115200/8N1

  • Baud: 115200

  • Data Bits: 8

  • Parity Bit: No

  • Stop Bit: 1

CONNECTING TO THE SERIAL CONSOLE FROM WINDOWS

Find the COM# from Device Manager > Ports (COM & LPT) and look for USB Serial Device (COM#). Example: COM3

Alternatively, run the following powershell command to list ports:

[System.IO.Ports.SerialPort]::getportnames()

Open PuTTY and select Serial. Enter COM# for serial line and 115200 for Speed. Click Open.

Download PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

CONNECTING TO THE SERIAL CONSOLE FROM LINUX

Find the Key Croc device from the terminal

ls /dev/tty*" or "dmesg | grep tty

Usually on a Linux host, the Key Croc will register as either /dev/ttyUSB0 or /dev/ttyACM0. On an OSX/macOS host, the Key Croc may register as /dev/tty.usbmodemch000001.

Next, connect to the serial device using screen, minicom or your terminal emulator of choice.

If the screen application is not installed it can usually be found from your distribution package manager.

sudo apt install screen

Connecting with screen

sudo screen /dev/ttyACM0 115200

Disconnect with keyboard combo: CTRL+a followed by CTRL+\

CONNECTING TO THE SERIAL CONSOLE FROM MAC

MacOS users may follow the same recommendations for connecting to the Key Croc serial console as Linux users.

Many MacOS specific applications exist for connecting to and managing serial connections however, with Serial 2 by Decisive Tactics being a favorite. See https://www.decisivetactics.com/products/serial/

Last updated