Open dylan-leslie opened 1 year ago
On dev board please try the below steps to connect to dev board micro. Thanks!!
sudo apt-get install screen
sudo usermod -aG plugdev,dialout $USER
sudo reboot now
screen /dev/ttyACM0 115200
Hi @hjonnala, thanks for your response. Apologies maybe I should've been more specific, but I would specifically like to establish a connection with the microcontroller using the USB network interfaces on the coral dev board. Such as, usb0 usb1 usb2
etc.
screen
will help me connect to the board and monitor the serial output but doesn't help me for my problem.
I noticed yesterday some differences between my laptop (running ubuntu 20) and the coral dev board for the USB ethernet interfaces. The main difference being the output of cat /sys/kernel/debug/usb/devices
for both devices like follows:
laptop:
I:* If#= 2 Alt= 0 #EPs= 2 Cls=02(comm.) Sub=0c Prot=07 Driver=cdc_eem
coral dev board:
I:* If#= 2 Alt= 0 #EPs= 2 Cls=02(comm.) Sub=0c Prot=07 Driver=(none)
This led me to find this on the coral dev board after running zcat /proc/config.gz | grep -i 'cdc_eem'
# CONFIG_USB_NET_CDC_EEM is not set
Is this what I would need to set to allow the coral dev board to communicate with the coral micro over the usb ethernet interface?
Thanks again for your help.
Description
What I am trying to achieve I would like to use a coral dev board as a host which can run some modified python example scripts as a client and receive image data from three USB connected coral dev board microcontrollers and store image data on the client.
Some context
For example, I would like to flash three coral dev board microcontrollers with the camera_streaming.cc example and give them each a unique IP address (192.168.101.10, 192.168.102.10 and 192.168.103.10). Like so:
Then run a python script on a coral dev board which acts as a client to request images from each coral microcontroller.
I have the above functionality working when connecting the three microcontrollers to my ubuntu 20 machine (I can run a python client that makes GET requests to each coral microcontroller and store the response data).
My main problem When connecting a coral dev board microcontroller to a coral dev board I am unable to see any devices on usb0 or usb1 the same way I can on an ubuntu 20 machine. I tried to follow the instructions here by configuring the
/etc/NetworkManager/system-connections/gadget0.nmconnection
and/etc/NetworkManager/system-connections/gadget1.nmconnection
files to the same domains as the USB ip address that I flashed. E.gHowever the above has no success as I still cannot ping the board and receive a response.
Here is the output of netstat as well
Not sure if what I'm doing is completely wrong so I figured it would be best to ask for any help.
Click to expand!
### Issue Type Support ### Operating System Mendel Linux ### Coral Device Dev Board, Dev Board Micro ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output _No response_