Raspbian+arduino 1.8.13+nano don't work

Hello,
I install arduino ide 1.8.13 for arm 32 bits (https://downloads.arduino.cc/arduino-1.8.13-linuxarm.tar.xz) on raspberry pi 3B+ with raspbian, and i can’t compile sketchs for nano, so i install arduino 1.8.12 (https://downloads.arduino.cc/arduino-1.8.13-linuxarm.tar.xz) and it’s good.
This is just to talking about something

I’m going to ask you to post some additional information that might help us to identify the problem.

Please do this:

  1. When you encounter an error, you’ll see a button on the right side of the orange bar “Copy error messages” in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  2. In a forum reply here, click on the reply field.
  3. From the toolbar at the top of the editor field, click the </> button
    codetags
  4. Press Ctrl+V. This will paste the error into the reply window.
  5. Move the cursor outside of the ``` code block tags before you add any additional text to your reply.

Sorry,
I reinstall arduino ide 1.8.13 for put here the copy of message error but no error now, i don’t understand why but that’s ok. I try with the same code : blink in the example.

Looks like a corrupt download.

I don’t think that, because after redownload and reinstall 1.8.13 i had the same problem, only resolved when i downgrade to 1.8.12 and when i redownload 1.8.13, that’s ok.
good day

hmmm interesting…

Hello, Problem come back, on arduino 1.8.13, the result of compil and upload :

Arduino : 1.8.13 (Linux), Carte : “Arduino Nano, ATmega328P”

/home/pi/Desktop/arduino-1.8.13/arduino-builder -dump-prefs -logger=machine -hardware /home/pi/Desktop/arduino-1.8.13/hardware -tools /home/pi/Desktop/arduino-1.8.13/tools-builder -tools /home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -built-in-libraries /home/pi/Desktop/arduino-1.8.13/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10813 -build-path /tmp/arduino_build_874179 -warnings=all -build-cache /tmp/arduino_cache_917416 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -verbose /home/pi/Desktop/arduino-1.8.13/examples/02.Digital/toneMultiple/toneMultiple.ino
/home/pi/Desktop/arduino-1.8.13/arduino-builder -compile -logger=machine -hardware /home/pi/Desktop/arduino-1.8.13/hardware -tools /home/pi/Desktop/arduino-1.8.13/tools-builder -tools /home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -built-in-libraries /home/pi/Desktop/arduino-1.8.13/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -vid-pid=1A86_7523 -ide-version=10813 -build-path /tmp/arduino_build_874179 -warnings=all -build-cache /tmp/arduino_cache_917416 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr -verbose /home/pi/Desktop/arduino-1.8.13/examples/02.Digital/toneMultiple/toneMultiple.ino
Using board 'nano' from platform in folder: /home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr
Detecting libraries used...
/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_874179/sketch/toneMultiple.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_874179/sketch/toneMultiple.ino.cpp -o /tmp/arduino_build_874179/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
/home/pi/Desktop/arduino-1.8.13/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_874179/preproc/ctags_target_for_gcc_minus_e.cpp
Compilation du croquis...
/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.13/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_874179/sketch/toneMultiple.ino.cpp -o /tmp/arduino_build_874179/sketch/toneMultiple.ino.cpp.o
avr-g++: error trying to exec '/home/pi/Desktop/arduino-1.8.13/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/as': execv: Exec format error
exit status 1
Erreur de compilation pour la carte Arduino Nano
Arduino : 1.8.12 (Linux), Carte : "Arduino Nano, ATmega328P (Old Bootloader)"

/home/pi/Desktop/arduino-1.8.12/arduino-builder -dump-prefs -logger=machine -hardware /home/pi/Desktop/arduino-1.8.12/hardware -tools /home/pi/Desktop/arduino-1.8.12/tools-builder -tools /home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -built-in-libraries /home/pi/Desktop/arduino-1.8.12/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10812 -build-path /tmp/arduino_build_872950 -warnings=all -build-cache /tmp/arduino_cache_935452 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -verbose /home/pi/Desktop/arduino-1.8.12/examples/02.Digital/toneMultiple/toneMultiple.ino
/home/pi/Desktop/arduino-1.8.12/arduino-builder -compile -logger=machine -hardware /home/pi/Desktop/arduino-1.8.12/hardware -tools /home/pi/Desktop/arduino-1.8.12/tools-builder -tools /home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -built-in-libraries /home/pi/Desktop/arduino-1.8.12/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10812 -build-path /tmp/arduino_build_872950 -warnings=all -build-cache /tmp/arduino_cache_935452 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -verbose /home/pi/Desktop/arduino-1.8.12/examples/02.Digital/toneMultiple/toneMultiple.ino
Using board 'nano' from platform in folder: /home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr
Detecting libraries used...
/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp -o /dev/null
Generating function prototypes...
/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp -o /tmp/arduino_build_872950/preproc/ctags_target_for_gcc_minus_e.cpp
/home/pi/Desktop/arduino-1.8.12/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_872950/preproc/ctags_target_for_gcc_minus_e.cpp
Compilation du croquis...
/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp -o /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp.o
avr-g++: error trying to exec '/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/as': execv: Exec format error
exit status 1
Erreur de compilation pour la carte Arduino Nano

And with arduino 1.8.12 done :

Arduino : 1.8.12 (Linux), Carte : "Arduino Nano, ATmega328P (Old Bootloader)"

/home/pi/Desktop/arduino-1.8.12/arduino-builder -dump-prefs -logger=machine -hardware /home/pi/Desktop/arduino-1.8.12/hardware -tools /home/pi/Desktop/arduino-1.8.12/tools-builder -tools /home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -built-in-libraries /home/pi/Desktop/arduino-1.8.12/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10812 -build-path /tmp/arduino_build_872950 -warnings=all -build-cache /tmp/arduino_cache_935452 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -verbose /home/pi/Desktop/arduino-1.8.12/examples/02.Digital/toneMultiple/toneMultiple.ino
/home/pi/Desktop/arduino-1.8.12/arduino-builder -compile -logger=machine -hardware /home/pi/Desktop/arduino-1.8.12/hardware -tools /home/pi/Desktop/arduino-1.8.12/tools-builder -tools /home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -built-in-libraries /home/pi/Desktop/arduino-1.8.12/libraries -libraries /home/pi/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10812 -build-path /tmp/arduino_build_872950 -warnings=all -build-cache /tmp/arduino_cache_935452 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr -verbose /home/pi/Desktop/arduino-1.8.12/examples/02.Digital/toneMultiple/toneMultiple.ino
Using board 'nano' from platform in folder: /home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr
Detecting libraries used...
/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp -o /dev/null
Generating function prototypes...
/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp -o /tmp/arduino_build_872950/preproc/ctags_target_for_gcc_minus_e.cpp
/home/pi/Desktop/arduino-1.8.12/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_872950/preproc/ctags_target_for_gcc_minus_e.cpp
Compilation du croquis...
/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/cores/arduino -I/home/pi/Desktop/arduino-1.8.12/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp -o /tmp/arduino_build_872950/sketch/toneMultiple.ino.cpp.o
avr-g++: error trying to exec '/home/pi/Desktop/arduino-1.8.12/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/as': execv: Exec format error
exit status 1
Erreur de compilation pour la carte Arduino Nano

I’ve deleted your other cross-post @chiassedo.

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

understand

1 Like