Arduino Nano upload problem
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Arduino Nano upload problem
After upgrade to LM21 I'm unable to upload to Arduino Nano.
Every other board work OK. Before upgrade worked just fine now both, Desktop and laptop
are unable to connect. This Nano has CH340 chip and AFAIK is supported with LM.
Never had this issue with previous updates, only after this last one.
I have tried downloading and installing drivers, adding myself to dial-out user but
nothing works. On my laptop it started working suddenly on its own and after couple hours just stopped
on its own again.
Any idea?
Every other board work OK. Before upgrade worked just fine now both, Desktop and laptop
are unable to connect. This Nano has CH340 chip and AFAIK is supported with LM.
Never had this issue with previous updates, only after this last one.
I have tried downloading and installing drivers, adding myself to dial-out user but
nothing works. On my laptop it started working suddenly on its own and after couple hours just stopped
on its own again.
Any idea?
Last edited by LockBot on Wed Feb 15, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 4
- Posts: 241
- Joined: Wed Aug 26, 2020 6:32 pm
Re: Arduino Nano uplad problem
If you're running a newer kernel than before it's possible something has changed for the worse. That on/off behaviour sounds more like a problem with the arduino or cable.
A really good troubleshooting guide
https://majenko.co.uk/blog/our-blog-1/d ... og_content
and case you try the loop back thing
https://support.arduino.cc/hc/en-us/art ... pback-test
Re: Arduino Nano uplad problem
Thank You for Your help. That fist link gave me hint when run dmsg there
was message that brltty service was holding port.
Removed it and now everything works fine.
Thank again!
was message that brltty service was holding port.
Removed it and now everything works fine.
Thank again!
Re: Arduino Nano upload problem
Hi,
following those instructions... it didn't work for me, but I couldn't try the last part because images doesn't match final part (adding line to the daemon).
I must tell that Arduino IDE doesn't work on my LM21. But when I open a VM with LM20.3 it works fine.
Also I have not the file :
Given some extra information:
/etc/udev/rules.d/ files contains:
following those instructions... it didn't work for me, but I couldn't try the last part because images doesn't match final part (adding line to the daemon).
I must tell that Arduino IDE doesn't work on my LM21. But when I open a VM with LM20.3 it works fine.
Also I have not the file :
/etc/udev/rules.d/50-boards.rules
So, I don't know how to fit the line:us 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b67a Chicony Electronics Co., Ltd LG HD WebCam
Bus 001 Device 003: ID 062a:4c01 MosArt Semiconductor Corp. 2,4Ghz Wireless Transceiver [for Delux M618 Plus Wireless Vertical Mouse]
Bus 001 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
To my particular system. Neither if I should to.ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0033", MODE="0660", GROUP="plugdev"
Given some extra information:
/etc/udev/rules.d/ files contains:
File 99-arduino-101.rules contains:/etc/udev/rules.d$ ls
40-dfuse.rules 90-extraacl.rules 98-openocd.rules 99-arduino-101.rules avrisp.rules
File avrisp.rules contains:# Arduino 101 in DFU Mode
SUBSYSTEM=="tty", ENV{ID_REVISION}=="8087", ENV{ID_MODEL_ID}=="0ab6", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_CANDIDATE}="0"
SUBSYSTEM=="usb", ATTR{idVendor}=="8087", ATTR{idProduct}=="0aba", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
# Adding AVRisp UDEV rules
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="avrisp_end"
# Atmel Corp. JTAG ICE mkII
ATTR{idVendor}=="03eb", ATTRS{idProduct}=="2103", MODE="660", GROUP="dialout"
# Atmel Corp. AVRISP mkII
ATTR{idVendor}=="03eb", ATTRS{idProduct}=="2104", MODE="660", GROUP="dialout"
# Atmel Corp. Dragon
ATTR{idVendor}=="03eb", ATTRS{idProduct}=="2107", MODE="660", GROUP="dialout"
LABEL="avrisp_end"
Re: Arduino Nano upload problem
Popopo wrote: ⤴Sat Sep 03, 2022 7:42 am Also I have not the file :/etc/udev/rules.d/50-boards.rulesSo, I don't know how to fit the line:us 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b67a Chicony Electronics Co., Ltd LG HD WebCam
Bus 001 Device 003: ID 062a:4c01 MosArt Semiconductor Corp. 2,4Ghz Wireless Transceiver [for Delux M618 Plus Wireless Vertical Mouse]
Bus 001 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 007: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubTo my particular system. Neither if I should to.ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0033", MODE="0660", GROUP="plugdev"
If that applies to you, then the line of text in that file should have your device ID as shown by lsusb, 1a86:7523.
If you'd like to create that file /etc/udev/rules.d/50-boards.rules on your PC, with your device ID, just to see if it helps:
Open a Terminal (Ctrl-Alt-T), then copy-and-paste the following long line into the Terminal window, then tap Enter...
Code: Select all
sudo tee /etc/udev/rules.d/50-boards.rules<<<"ATTRS{idVendor}==\"1a86\", ATTRS{idProduct}==\"7523\", MODE=\"0660\", GROUP=\"plugdev\""
To verify the file, and the line of text in it, copy-and-paste this Terminal command...
Code: Select all
cat /etc/udev/rules.d/50-boards.rules
ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0660", GROUP="plugdev"
To confirm that you're a member of the "plugdev" group on your PC, copy-and-paste this...
Code: Select all
groups $USER
plugdev
in the list.If you don't see
plugdev
in that list, then add yourself to that group...
Code: Select all
sudo usermod -aG plugdev $USER
Now reboot your PC.
If all that didn't make a useful change, then you may as well remove the file that you created above:
Code: Select all
sudo rm -v /etc/udev/rules.d/50-boards.rules
Linux Mint 21 Vanessa, MATE 1.26.0, kernel 5.15.0*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Re: Arduino Nano upload problem
Thank you for the tips, done but...
Actually it didn't work.
No need to mention that I tried everything explained on the links and others before this point.
I have restarted the system after changes.
Whatever... that is very strange that my VM with LM20.3 works and not here with LM21.
Also cinammon very often crash, probably another issue but seems to me that LM21 is barely stable.
Actually it didn't work.
Code: Select all
etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyS4 -b57600 -D -Uflash:w:/tmp/arduino_build_375856/sketch_sep03a.ino.hex:i
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/silverio/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/silverio/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyS4
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
^CProblem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
I have restarted the system after changes.
Whatever... that is very strange that my VM with LM20.3 works and not here with LM21.
Also cinammon very often crash, probably another issue but seems to me that LM21 is barely stable.
-
- Level 4
- Posts: 241
- Joined: Wed Aug 26, 2020 6:32 pm
Re: Arduino Nano upload problem
Calling jovosm, still around ?
Did you see anything in dmesg trying to hi-jack your USB ? OP mentions disabling brltty but now he did this.
The same problem is mentioned in this link:
https://www.chippiko.com/ch340-dev-ttyusb-not-showing
That link also suggests downloading a module but OP makes no mention of needing to do anything of that sort.
Did you see anything in dmesg trying to hi-jack your USB ? OP mentions disabling brltty but now he did this.
The same problem is mentioned in this link:
https://www.chippiko.com/ch340-dev-ttyusb-not-showing
That link also suggests downloading a module but OP makes no mention of needing to do anything of that sort.
Re: Arduino Nano upload problem
Check out if the Kernel could be responsible of the issue.
It is not.
Test: MV with LM20.3 using Kernel 5.15.0-46-generic, works fine.
Main OS: LM21 using Kernel 5.15.0-46-generic & 5.15.0-47-generic, doesn't work. So the Kernel is not responsible, it seems again more structural issue than a local problem due to one component.
It is not.
Test: MV with LM20.3 using Kernel 5.15.0-46-generic, works fine.
Main OS: LM21 using Kernel 5.15.0-46-generic & 5.15.0-47-generic, doesn't work. So the Kernel is not responsible, it seems again more structural issue than a local problem due to one component.
Re: Arduino Nano upload problem
Update:
Something was updated in LM21 Cinnamon and now Arduino IDE is working again.
Something was updated in LM21 Cinnamon and now Arduino IDE is working again.
- happnatious1
- Level 1
- Posts: 39
- Joined: Fri Nov 03, 2017 8:58 am
- Location: Earth
- Contact:
Re: Arduino Nano upload problem
Still not working for me.
-
- Level 1
- Posts: 4
- Joined: Tue Sep 13, 2022 11:29 pm
Re: Arduino Nano upload problem
Still not working for me too.