1 1
mbsoft

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

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... ) 

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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"

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1