シリアル通信ツールを使用したログイン

その後 setting up connections of Core 3588E, you can log in to it on Windows, macOS, or Ubuntu using Android Debug Bridge (ADB), a serial communication tool, or SSH.

This document describes how to log in to Core 3588E using a serial communication tool. For details about login using the ADB tool and via SSH, refer to the following documents:

準備

  • USB-TTLコンバーター
  • A computer: Windows, macOS, or Ubuntu
  • コア3588Eボード
  • A carrier board that is compatible with Jetson TX2 NX (Leetop A206 is used in this document)

ウィンドウズ

ステップ1.ハードウェアの接続

1.1 Connect the GND, TXD, and RXD pins of the USB to TTL converter to the GND, RXD, and TXD pins of Core 3588E, respectively. 

Figure 1. Serial port connection

1.2 USB-TTLコンバータをコンピュータに接続します。

ステップ2.ドライバーのダウンロードとインストール

2.1 Download a driver according to the USB to TTL converter that you are using.

2.2 Unzip the driver zip file and select the corresponding file (.exe) to install based on the computer architecture (32-bit or 64-bit).

On your computer, open デバイスマネージャー and find the board’s COM port.

Take note of the COM port for the device named “Ports (COM & LPT)” (such as “COM4”). You will use it in the next step.

Figure 2. Serial port device displayed in Device Manager

Step 3. Install and configure PuTTY

PuTTY is one of the serial communication tools generally used on Windows, and is used for illustration in this document.

3.1 Select the PuTTY file (.exe or .msi) to install based on the computer architecture (32-bit or 64-bit).

3.2 Open PuTTY and configure Connection type, Serial lineそして Speed as shown in the following figure. Then click オープン.

Figure 3. PuTTY configuration

When the screen terminal opens, it will probably be blank. Hit 入る and you should see the login prompt once the system finishes booting up. Enter the default username and password of your Core 3588E.

Figure 4. Device information on PuTTY

macOSの場合

ステップ1.ハードウェアの接続

1.1 Connect the GND, TXD, and RXD pins of the USB to TTL converter to the GND, RXD, and TXD pins of Core 3588E, respectively. 

Figure 5. Serial port connection

1.2 USB-TTLコンバータをコンピュータに接続します。

Step 2. Install Picocom

Picocom is one of the serial communication tools generally used on macOS, and is used for illustration in this document.

(Optional) 2.1 Install Homebrew if it is not installed yet by running the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2.2 Install Picocom by running the following command:

brew install picocom

Step 3. Connect to Core 3588E

-b is to set the baud rate and must be set to 1500000.

sudo picocom -b 1500000 /dev/tty.usbserial-0

コマンドの出力は以下の通り:

picocom v3.1

port is        : /dev/tty.usbserial-AQ043YF8
flowcontrol    : none
baudrate is    : 1500000
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready

プレス 入る and you are directed to the console of Core 3588E.

Step 4. Exit

4.1 プレス CTRL+A.

4.2 押し続ける CTRL を押してください。 Q.

Ubuntuの場合

ステップ1.ハードウェアの接続

1.1 Connect the GND, TXD, and RXD pins of the USB to TTL converter to the GND, RXD, and TXD pins of Core 3588E, respectively. 

Figure 6. Serial port connection

1.2 USB-TTLコンバータをコンピュータに接続します。

Step 2. Install and configure Minicom

Minicom is one of the serial communication tools generally used on Ubuntu, and is used for illustration in this document.

2.1 Install Minicom by running the following commands:

sudo apt update
sudo apt upgrade
sudo apt install minicom

2.2 Start Minicom by running the following command:

sudo minicom -s

2.3 Configure Minicom.

2.3.1 On the interface that is displayed, select Serial port setup using the direction key.

+-----[configuration]------+
| Filenames and paths      |                                     
| File transfer protocols  |                                     
| Serial port setup        |                                     
| Modem and dialing        |                                     
| Screen and keyboard      |                                     
| Save setup as dfl        |                                     
| Save setup as..          |                                     
| Exit                     |                                     
| Exit from Minicom        |                                     
+--------------------------+  

2.3.2 On the interface that is displayed, configure the settings as follows:

  • インプット A to change Serial Device への /dev/ttyUSB0.
  • インプット E to change Bps/Par/Bits への 1500000 8N1.
  • インプット F to change Hardware Flow Control への No.
+-----------------------------------------------------------------------+
| A -    Serial Device      : /dev/ttyUSB0                                |
| B - Lockfile Location     : /var/lock                                 |
| C -   Callin Program      :                                           |
| D -  Callout Program      :                                           |
| E -    Bps/Par/Bits       : 1500000 8N1                                |
| F - Hardware Flow Control : No                                        |
| G - Software Flow Control : No                                        |
| H -     RS485 Enable      : No                                        |
| I -   RS485 Rts On Send   : No                                        |
| J -  RS485 Rts After Send : No                                        |
| K -  RS485 Rx During Tx   : No                                        |
| L -  RS485 Terminate Bus  : No                                        |
| M - RS485 Delay Rts Before: 0                                         |
| N - RS485 Delay Rts After : 0                                         |
|                                                                       |
|    Change which setting?                                              |
+-----------------------------------------------------------------------+

2.3.3 Press 入る to save the settings and select Save setup as dfl. Configuration saved is prompted.

2.3.4 Select Exit.

+-----[configuration]------+
| Filenames and paths      |                                     
| File transfer protocols  |                                     
| Serial port setup        |                                     
| Modem and dialing        |                                     
| Screen and keyboard      |                                     
| Save setup as dfl        |                                     
| Save setup as..          |                                     
| Exit                     |                                     
| Exit from Minicom        |                                     
+--------------------------+  

The Minicom tool interface is displayed. Press 入る. The console of Core 3588E is displayed, as shown in the following figure.

Welcome to minicom 2.8

OPTIONS: I18n 
Port /dev/ttyUSB0, 18:15:29

Press CTRL-A Z for help on special keys


root@mixtile-desktop:~#                       

Step 3. Exit

3.1 Press CTRL+A.

3.2 In the box that is displayed, click Yes.

What you can do next

After login to Core 3588E, you can perform operations based on your requirements, such as checking device information, installing or uninstalling software, editing configuration files, and starting or stoping services.

Check device information

cat /etc/os-release
cat /var/log/syslog
dmesg

Install or uninstall software

sudo apt update
sudo apt upgrade
sudo apt install [software name]
sudo apt uninstall [software name]

Edit configuration files

vi [file path]

Start or stop services

sudo systemctl start [service name]
sudo systemctl stop [service name]
この記事は役に立ちましたか?

関連記事