Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

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

  • Author

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

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"

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.