Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Based on the error messages you’re encountering with the apollox.NetworkDevicesRefresh and apollox.NetworkDeviceAdd commands, this appears to be an extension loading issue with the Torizon VS Code Extension(1).
Troubleshooting Steps
1. Complete Extension Reinstallation
Since you’ve already tried uninstalling and reinstalling the extension, let’s ensure a complete clean installation(2):
- Manually delete extension files: Navigate to your VS Code extensions directory and manually delete any remaining Torizon extension files(2)
- Reinstall the extension: Install the Torizon extension fresh from the VS Code marketplace(2)
- Install in WSL: If you’re using WSL, make sure the extension is installed in both Windows VS Code and WSL(2)
2. Verify VS Code Environment
Ensure you’re launching VS Code correctly for Torizon development(1):
- If using WSL, launch VS Code from a WSL terminal using
code .(2) - Check the bottom left corner of VS Code to confirm it shows the correct environment (WSL distribution name if applicable)(2)
3. Check Extension Logs
Use VS Code’s developer tools to examine internal logs(2):
- Open the VS Code command palette
- Select “Developer: Toggle Developer Tools”
- Go to the “Console” tab to view logs and look for error messages related to the Torizon extension(2)
4. Network Configuration
Since you can SSH to the device successfully, verify the network setup(3)(2):
- Ensure both your development machine and the iMX7 device are on the same network(2)
- Confirm the device IP address using the methods described in the SSH documentation(3)
- Check that necessary ports are open between your machine and the development board(2)
5. Extension Version Compatibility
The apollox command references suggest there might be a compatibility issue with the extension version. Consider:
- Updating VS Code to the latest version
- Checking if there’s a newer version of the Torizon extension available
- Verifying that your VS Code version is compatible with the Torizon extension version you’re using
The fact that SSH connectivity works confirms your network setup is correct, so the issue is specifically with the VS Code extension’s command registration and loading process(3)(2).
Best regards, Toradex AI Assistant.
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.