I’m not sure exactly what the problem is but I have installed the Arduino IDE on my Jetson Nano but I can’t upload any programs to the board, or use the serial monitor.
I do know that my board uses a CH340 USB driver.
So I tried to install it from the Jetson Hacks Github site. But I get the following message.
james@Jetson-Nano:~/installACMModule$ ./installCH341.sh
The Kernel version does not match the Module Version
Kernel Version: 4.9.140-tegra
Module Version: 4.4.38-tegra
Would you still like to install the module? [Y/n] y
You may have to force the module to be inserted, i.e.
$ sudo modprobe -f cp210x
‘ch341.ko’ → ‘/lib/modules/4.9.140-tegra/kernel/drivers/usb/serial/ch341.ko’
Installed ch341 Module
james@Jetson-Nano:~/installACMModule$
It says the kernel version doesn’t match the module version. I answered yes anyway, but it’s still not working.
I’m also not sure if this is even my problem as I’m also getting an error about not having permission to access the Serial device. I get this error from the Arduino IDE.
Error opening serial port ‘/dev/ttyUSB0’. Try consulting the documentation at Arduino Playground - All
I went to the Arduino Playground site and did what they suggested there but I continue to get the errors. I’ve been at this for several days now and I’ve rebooted many times. So I’m at a loss.
What I haven’t done yet is to force the installation of the CH340 driver as suggested above:
You may have to force the module to be inserted, i.e.
$ sudo modprobe -f cp210x
‘ch341.ko’ → ‘/lib/modules/4.9.140-tegra/kernel/drivers/usb/serial/ch341.ko’
Installed ch341 Module
I’m not convinced this will help, but I suppose I could give that a shot. Thought I’d post here first in case anyone has better suggestions.
Thanks for reading.