I recently installed Arduino IDE on my Raspberry Pi 4 and I'm trying to program an Arduino Leonardo through it. I wander if anyone experienced anything like this I'm getting here, as I searched a lot the web and nothing came out after hours.
Arduino IDE is at the latest version, board is correctly set to Arduino Leonardo, and the port too.
I getting error:
avrdude: Expected signature for ATmega32U4 is 1E 95 87
Double check chip, or use -F to override this check.
Wrong microcontroller found. Did you select the right board from the Tools > Board menu?
-
"the latest version" - which is?Milliways– Milliways2020年03月04日 10:57:26 +00:00Commented Mar 4, 2020 at 10:57
-
@Milliways 1.8.12Primitive Blast– Primitive Blast2020年03月04日 13:02:08 +00:00Commented Mar 4, 2020 at 13:02
-
You should ask on arduino.stackexchange.comMilliways– Milliways2020年03月05日 00:02:53 +00:00Commented Mar 5, 2020 at 0:02
1 Answer 1
It could be that you have software installed which tries to talk to the Arduino at the same time as the IDE. For instance, modemmanager
is known to cause trouble.
Run udevadm test $(udevadm info --query=path --name=/dev/ttyUSB0)
(or whatever the name of your Arduino is) and check the output for any udev rules that are executed. You may see rules which define the device name, but if there's any communication software started automatically on a new serial port, it may be the root cause.