Jump to content

Arduino on armbian nano pi m4 ( and on asus thinkerboard)


mbsoft

Recommended Posts

Install arduino on Nano pi m4 and asus thinkerboard with os armbian and arduino uno wifi rev2 board connected to USB

Arduino allways complains with : 

avrdude : usbdev_open() : cannot open device : Permission denied 

avrdude : jtag3_open_common() : Did not find any device matching VID 0x03eb  and PID list : 0x2145

 

Nevertheless I belong to group dialout and permissions on /dev/ttyACM0 are crw-rw----

Tried everything what was explained on internet about the topic but without any result !!

The same issue on the ASUS Thinkerboard !!

When I do "Get board info" then arduino detect the board correct !! ( BN:Arduino Uno Wifi Rev2 , VID:0x03eb,PID:0x2145,SN:56008C7BBC944... ) 

Link to comment
Share on other sites

Permission

https://playground.arduino.cc/Linux/All/#Permission

groups oder id listet meine aktuelle Zugehörigkeit

less /etc/group | dialout

 

usermod -a -G group-name username

usermod -a -G dialout tido

 

sudo chmod a+rw /dev/ttyACM0

 


or you try

 

PlatformIO

Nicht vergessen: Nach-Hause-telefonieren abschalten

platformio settings set enable_telemetry no

platformio settings set enable_ssl yes

Link to comment
Share on other sites

Thanks for reply but unfortunately , have done all this stuff and it does not work !!

usermod -a -G group-name username

usermod -a -G dialout tido

 

sudo chmod a+rw /dev/ttyACM0

 

 

This is the red text in arduino ide:

 

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/home/marc/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
         User configuration file is "/home/marc/.avrduderc"

         Using Port                    : usb
         Using Programmer              : xplainedmini_updi
         Overriding Baud Rate          : 115200
avrdude: usbdev_open(): cannot open device: Permission denied
avrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145

avrdude done.  Thank you.

An error occurred while uploading the sketch

Link to comment
Share on other sites

try

/etc/udev/rules.d/99-tty-dialout.rules

SUBSYSTEM=="tty", KERNEL=="ttyUSB0", GROUP="dialout", MODE="0666"
or

/etc/udev/rules.d/99-instruments.rules       //new file
SUBSYSTEM=="tty", GROUP="dialout", MODE="0666"

 

or like my i2c

/lib/udev/rules.d/60-i2c-tools.rules
SUBSYSTEM=="i2c-dev",KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"   //replace "0666"

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines