USB Serial terminal configuration

You are here:
Estimated reading time: 1 min


To top

It is the easiest way to connect with your Kirale devices. Run KiTools from a Command Line or Powershell in Windows and all available Kirale devices will be shown on your screen. After you select one of them, KSH prompt will appear and the device will be ready to receive commands.



To top

A wide variety of USB serial terminals are available for Windows systems. In this article a generic one called Termite is used as an example, but any other terminal application could be used.
Run the serial terminal and configure the following settings for a proper serial communication with Kirale devices:

The standard setup for the USB Serial port is 9600 baud, 8 bits, 1 stop bit, no parity.
The USB Serial terminal must be configured to append a carriage return character CR when Enter key is pressed.

Once configured, select one of the serial ports displayed in the Device Manager for the KiNOS Virtual COM, then press Enter to test if the interface to Kirale USB device is up and running. The KiNOS prompt must be returned.

It is recommended to enable local echo for readability of transmitted commands.


Linux / MAC OS

To top

If you do not already have one, install a serial terminal at your choice. In this article a generic one called picocom is used as an example, but any other terminal application could be used. The configuration needed for the serial communication is the same as the one for Windows systems.

$picocom –c ––omap lfcr /dev/ttyACM0
picocom v1.7port is        : /dev/ttyACM0
flowcontrol    : none
baudrate is    : 9600
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : yes
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        :
omap is        : lfcr,
emap is        : crcrlf,delbs,Terminal readykinos@local:~$
–c : Enable local echo.
––omap lfcr : Map output line feed to carriage return.
/dev/ttyACMx : The serial device assigned by Linux. Use dmesg | tail when connected to check the actual device name.

Use Ctrl+a and Ctrl+x to leave the program.