Avrdude error on AVR boards, not several other boards

Recently I decided to try a Panda Sigma board to replace my "bloated" 12 year old Linux system. Everything went very easy. I decided to "wipe" Windows from the drive and installed the latest 22.04 Linux version. I then installed 1.8.19 Arduino IDE and about a dozen other programs. Everything works very well and I'm surprised at how fast this little board computer is. However when I try to download a sketch to any of the boards in the Arduino AVR board library, I get the dreaded "avddude" programmer not responding", etc. errors. I noticed that when I plug in a non-AVR board, like a Seeduino XIAO or LOLIN S2 mini board theywork fine. I also noticed that when I plug in the latter boards they show under tools/port as /dev/ttyACM1("board name"). When I plug in any of the AVR boards, MEGA 2560, UNO, or a NANO, nothing shows up under the port. /dev/ttyACM0 and /dev/ttyS1 are always there and nothing "pops up" when I plug in an AVR board, but the boards from two other board libraries do popup and list the correct board name. I installed a prior version of AVR boards, 1.8.5 instead of 1.8.6 but nothing changed. Since I can download to several different boards with libraries other than AVR Boards I think the Panda is ok and I assume Linux 22.04 and Arduino IDE 1.8.19 are ok. It seems as though the Arduino AVR Boards library is the culprit, but I have no idea of what to do. Any suggestions? Thank you in advance. Bruce

Are the AVR boards genuine (with 32U USB to serial chips) or clones with, say, CH340 USB to serial chips that need a driver?

They are all clones, but I am of the understanding that with Linux no additional drivers need to be installed, only with Windows. Is that correct?

Jumpin' jimminy! That is it! I have an old original MEGA from Radio Shack and when I plug it in it works perfectly, including showing the correct board name. Then I found a note in google that says that the CH340 drivers are not in 22.04! Bingo! I'll learn how to load the drivers and hopefully problem solved.
I can't thank you enough for responding to my problem so quickly.
Best to you.
Bruce

1 Like

Glad to have helped.

If your question has been answered to your satisfaction, please mark it solved so that other users that may want to help will not waste time opening the thread only to find the question has been answered.

Final chapter to this story. Although Google said 22.04 Ubuntu doesn't have CH340 drivers, I realized it did find USB0 when a put a non-CH340 (ie; an original, made in Italy, Radio Shack purchased Arduino MEGA 2560) board on the USB cable. Other research suggested that Braille tty support was interfearing with the CH340 identification.
So.... I entered terminal mode and entered:
sudo apt-get autoremove brltty
And Bingo! It now finds and shows the correct board name with the USB0 serial port connection.
Ahhh... All is well.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.