Connecting to your board using a serial or SSH connection

The Intel® XDK provides a quick and convenient way to create a serial or SSH session with your board by using the sub-tabs at the bottom of the GUI.

ssh terminal subtab

These features give you command-line access to a wide range of functionality useful to any serious developer, such as:

  • Connecting your board to a Wi-Fi* network
  • Setting a password for your board
  • Identifying your board's IP address
  • Checking the version of the firmware on your board
  • Updating the I/O and sensor libraries on your board to get access to the latest batch of supported sensors

For steps, see the appropriate link below:

Connecting to your board using a serial connection

You can also connect to the board via serial connection. 

  1. At the bottom of the Intel XDK, click the Serial Terminal tab.
  2. From the Port drop-down list, select the COM port number of your board. For steps to find your COM port number, see Setting up a serial terminal.
  3. From the Baud Rate drop-down list, select 115200.
  4. From the Data Bits drop-down list, select 8.
  5. From the Stop Bits drop-down list, select 1.
  6. From the Parity drop-down list, select None.
  7. Click Connect. If prompted, enter your login name and password.

    Intel XDK opens and a command line prompt displays, as shown in the image below. You can now enter Linux commands to interact with your board. For example, you can type ls to view the contents of the current directory or type ifconfig to view your board's IP address and related information.

Example of the Serial Terminal tab

Connecting to your board using an SSH connection

  1. At the bottom of the Intel XDK, click the SSH Terminal tab.
  2. In the Server field, type your board's IP address.
  3. In the Port field, type the port to use to connect to your board.
  4. In the User field, type your user name.
  5. In the Password field, type your password.
  6. Click Connect. Intel XDK opens and a command line prompt displays, as shown in the image below. You can now enter Linux commands to interact with your board. For example, you can type ls to view the contents of the current directory or type ifconfig to view your board's IP address and related information.

Example of the SSH Terminal tab

For more complete information about compiler optimizations, see our Optimization Notice.