I can see my Apalis IMX8 SOM on Ixora board connected to the debug port on COM3 from device manager.
When I try to connect to the board using the Toradex Torizon extension in VSCode v1.71.0 on serial, I get an error as follows.
[08-06 11:02:48.204] Serial port error.
[08-06 11:02:48.205] Error (536) - Serial port error: [Errno 2] could not open port COM3: [Errno 2] No such file or directory: ‘COM3’
I have also tried COM3: and COM 3 , but get the same error.
If a docker container can be made on the host machine (PC/laptop) with the Torizon extension in VSCode, where is this container located?
Then maybe one option could be to scp this container to the board using a tool like Putty instead if trying to connect to board in VSCode with extension.
This has not been corrected yet but the ticket is open and the team will be working on it. Would you be able to connect to your module on the extension using SSH?
Just to confirm, do you want to run the extension inside a Container and then connect through the board using this specific container? To see the containers running on your machine you can use docker ps.
Edit: To see the container images on your PC even those that are not running you can use docker images. The images will be stored in the local registry and you can use the extension to push the images to the board through ssh.
In the office environment, we have a corporate VPN that blocks the Toradex extensions and also the libraries from debian.
So wanted to download these on a separate machine and then install them via serial.
I have used the following instructions to get the Verdin board on Dahlia detected in WSL over the debug USB connection to the laptop USB via USB-A (laptop) to USB-C (Dahlia debug port X18) connection.
I can see the device is detected in WSL2. However, I cannot see any mass storage devices in here. If I had seen a detected mass storage device, I could have copied across the docker image file on the serial USB debug link.
:/mnt/c/windows/system32$ lsusb --tree
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=vhci_hcd/8p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=vhci_hcd/8p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
|__ Port 1: Dev 3, If 1, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
|__ Port 1: Dev 3, If 2, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
|__ Port 1: Dev 3, If 3, Class=Vendor Specific Class, Driver=ftdi_sio, 480M
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
How can the USB mass storage device on the Verdin Dahlia board be seen? Is it by connecting to a different USB port X3 or X4?
VS Code extension for Torizon uses only network connection (SSH) to send/receive files and exchange information with the module during development.
Using UART for this is not supported and would have a huge impact on communication speed and reliability.
Could you elaborate on why you need to only use Debug UART to send files to the module during development? Nowadays having a network connection with the module at least for development is a basic requirement.
But, anyway, as @jeremias.tx wrote above, you can do something like this to send/receive a file over serial connection: