Connect a TorizonCore Target Device
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.
The instructions provided in this article works for both Linux and Windows environment.
The instructions provided in this article work for both Linux and Windows environments.
- Having understood the basics of Torizon IDE Extension 2.
- Toradex Computer on Module (CoM) with TorizonCore installed.
- Having Set up the extension environment.
Scan your Network and Connect a Target Device
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
Connect your target device: after the scan, expand the device registry and click
Input the device's
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.
Expand a connected device, and click
Also, the default device will be used as a
DOCKER_HOSTfor 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: