"programmer not recognised" for one only of two boards

I am new to Arduino. Got two boards, Uno R3 and Uno R4 wifi. Installed Arduino software from Linux Mint repository (2:1.0.5+dfsg2-4.1), Problem:

Tried the Examples -> Basic ->Blink scketch on R3, was ok.

Tried the same on R4, got a sequence of "programmer not responding" and "attempt [n] of 10: not in sync".

lsusb testifies correct recognition of both boards.

From arduino console, Tools->serial port, I find one only port, named /dev/ttyACM1, same name for both boards.

Also tried to connect both boards. From arduino console I get two ports (/dev/ttyACM1 and /dev/tty/ACM2), the one connected to R3 works, the one on R4 does not.

I do that all the time, using multiple IDEs (Integrated Development Environments) with a single Arduino. It’s important to note that only one debug window can access the board at a time. If you try to use multiple debug windows, the others will fail.

I often do this when debugging new hardware, loading several different test programs, each in a separate IDE. This setup allows for rapid switching while keeping the results displayed on the screen. If you're not familiar with workspaces, I recommend checking them out.

In your case, for each debug window you want open, you’ll need to select a different port. Also, make sure the IDE is set for the correct board, as they may differ in your setup.

When a debug window connects to a port, that port becomes busy, and everything else is locked out from accessing it. However, another board can connect with its own debug window on a different port without any issues. The ports in this case are /dev/ttyACM1 and /dev/ttyACM2.

I'm using IDE version 1.18.18.

Thank you. But the issue was: why one board works and the other does not? Same laptop, same software, same configuration. One executes the sketch, the other enters a "not rsponding" loop.

You're advised to uninstall that antique (and I mean ANTIQUE) version and download from https://www.arduino.cc/en/software.

There are a few annoying bugs in IDE 2.3.3; if you're new to Arduino and want the modern version of the IDE you can download IDE 2.3.2 from Releases · arduino/arduino-ide · GitHub (and not upgrade to 2.3.3).


dmesg might shine a light on the R4 issue.

That's normal; connect both at the same time and you will have two ports. Any idea what is on /dev/ttyACM0?

The R3 and R4 use totally different processors inside them, and while they are touted as equivalent they are not 100% comparable, especially when it comes to using libraries.

In your case it sounds like you have not downloaded the correct board driver for the R4 processor.

Like this:-

Try running a simple sketch like Blink and adjust the timing to see if you can load and run it on each board. The purpose of this is to rule out any library compatibility issues and to verify that the correct board is selected in the IDE. If this works you probably have an incomparable library.

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