Skip to main content
Version: 6

Connect a TorizonCore Target Device

Introduction

This article describes how to connect a target device to the Torizon IDE Extension 2. It allows you to manage your device containers and images through the Docker VS Code extension. Also, this is necessary to remotely debug and deploy your projects directly from the Visual Studio Code.

info

The instructions provided in this article works for both Linux and Windows environment.

info

The instructions provided in this article work for both Linux and Windows environments.

Prerequisites

Scan your Network and Connect a Target Device

  1. Scan your network: Select the Torizon icon in the left menu bar to scan for devices in your local network.

    caution

    ️The TorizonCore device must be connected to the same network as the host machine running the IDE Extension 2.

    You can also rescan your network by clicking on the Refresh Devices icon.

  2. Connect your target device: after the scan, expand the device registry and click Connect.

  3. Input the device's user and password:

  4. Check if the connection was estabilished: you can follow the progress in the footer of the VS Code Window.

    After the connection, the device will be listed under CONNECTED DEVICES, and the footer will show the connection status.

Problems finding a device?

️In some network configurations, the device may not be detected. If it is your case, you can manually add the device by clicking the + icon and inputting the Torizon device IP.

If you do not know how to get your device's IP, refer to the Scan your local network to find the board IP and MAC address article.

Set a TorizonCore Device as Default

You can register multiple devices, but you have to select a device as default to utilize the Torizon IDE features.The default device will serve as the target for remote deployment and debugging.

  1. Expand a connected device, and click Set Default:

    Also, the default device will be used as a DOCKER_HOST for the Docker VS Code extension. You can confirm and check its IP address (3) by clicking on the CONTEXTS tab (2) in the Docker Menu (1).

    Once a Torizon device is set as default, you can manage its containers, images, volume and networks through the Docker VS Code extension.

    To differentiate between the connected devices and the default device, look for the following highlighted icon:



Send Feedback!