Go Down

Topic: IDE 1.8.0 Released -- update: 1.8.9 (Read 124058 times) previous topic - next topic

4eburashk

after update 1.8.8 -> 1.8.9
Arduino IDE (Linux Mint)
sketch Blink

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/***/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         Overriding Baud Rate          : 9600
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
avrdude: stk500_recv(): programmer is not responding
......
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

And Sketch -> Upload Using Programmer:


Arduino: 1.8.9 (Linux), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

/home/***/ARDUINO/arduino-1.8.9/arduino-builder -dump-prefs -logger=machine -hardware /home/***/ARDUINO/arduino-1.8.9/hardware -tools /home/***/ARDUINO/arduino-1.8.9/tools-builder -tools /home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -built-in-libraries /home/***/ARDUINO/arduino-1.8.9/libraries -libraries /home/***/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10809 -build-path /tmp/arduino_build_877312 -warnings=all -build-cache /tmp/arduino_cache_4918 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -verbose /tmp/arduino_modified_sketch_862434/Blink.ino
/home/***/ARDUINO/arduino-1.8.9/arduino-builder -compile -logger=machine -hardware /home/***/ARDUINO/arduino-1.8.9/hardware -tools /home/***/ARDUINO/arduino-1.8.9/tools-builder -tools /home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -built-in-libraries /home/***/ARDUINO/arduino-1.8.9/libraries -libraries /home/***/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10809 -build-path /tmp/arduino_build_877312 -warnings=all -build-cache /tmp/arduino_cache_4918 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr -verbose /tmp/arduino_modified_sketch_862434/Blink.ino
Using board 'nano' from platform in folder: /home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr
Detecting libraries used...
/home/***/ARDUINO/arduino-1.8.9/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=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_877312/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/home/***/ARDUINO/arduino-1.8.9/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=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_877312/sketch/Blink.ino.cpp -o /tmp/arduino_build_877312/preproc/ctags_target_for_gcc_minus_e.cpp
/home/***/ARDUINO/arduino-1.8.9/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_877312/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/***/ARDUINO/arduino-1.8.9/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=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr/cores/arduino -I/home/***/ARDUINO/arduino-1.8.9/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_877312/sketch/Blink.ino.cpp -o /tmp/arduino_build_877312/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /tmp/arduino_cache_4918/core/core_arduino_avr_nano_cpu_atmega328old_a687f7defd46b41b409db8a8fe16211a.a
Linking everything together...
/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/bin/avr-gcc -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o /tmp/arduino_build_877312/Blink.ino.elf /tmp/arduino_build_877312/sketch/Blink.ino.cpp.o /tmp/arduino_build_877312/../arduino_cache_4918/core/core_arduino_avr_nano_cpu_atmega328old_a687f7defd46b41b409db8a8fe16211a.a -L/tmp/arduino_build_877312 -lm
/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_877312/Blink.ino.elf /tmp/arduino_build_877312/Blink.ino.eep
/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino_build_877312/Blink.ino.elf /tmp/arduino_build_877312/Blink.ino.hex
/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/bin/avr-size -A /tmp/arduino_build_877312/Blink.ino.elf
Sketch uses 930 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/bin/avrdude -C/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -cstk500v2 -Pusb -Uflash:w:/tmp/arduino_build_877312/Blink.ino.hex:i

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/***/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

avrdude done.  Thank you.

An error occurred while uploading the sketch


pert

Overriding Baud Rate          : 9600
Which board do you have selected from the Tools > Board menu? I'm not aware of any bootloaders that communicate at 9600 baud. Did you modify boards.txt?

Using Port                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
This indicates you did a Sketch > Upload Using Programmer, but without an ISP programmer connected. Do you have an ISP programmer? Is it connected?


You're really not doing yourself any favors by dumping some random error messages on a random forum thread without bothering to take a few seconds to provide the additional information we need to help you.

4eburashk

Board "Arduino nano".
Yas ~/ARDUINO/arduino-1.8.9/hardware/arduino/avr/boards.txt modified
nano.menu.cpu.atmega328.upload.speed=9600

4eburashk

$ avrdude -v -v -v -v -C /home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyUSB0 -b57600  -Uflash:w:/tmp/arduino_build_339350/Blink.ino.hex

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/home/***/ARDUINO/arduino-1.8.9/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/***/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
...

avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

pert

Board "Arduino nano".
Yas ~/ARDUINO/arduino-1.8.9/hardware/arduino/avr/boards.txt modified
nano.menu.cpu.atmega328.upload.speed=9600
Why did you modify boards.txt?

4eburashk

Why did you modify boards.txt?
lowered the transfer rate because it did not work

pert

You need to use an upload baud rate that matches the baud rate of the bootloader. Unless you flashed a modified bootloader to your Nano, there is no chance that it communicates at 9600 baud.

Before you made that modification, did you try doing a standard upload (not Upload Using Programmer) with Tools > Processor > ATmega328P and Tools > Processor > ATmega328P (Old Bootloader)?

4eburashk

Yes. I reflashed microcontrollers many times using Arduino IDE. And well.
After the update, it stopped working. Errors and does not work...

meymuuun

Hey!
 
 I've seen some simular problems like yours in my MacBook.
There are many bugs in IOS that needs to be fixed. Last time I used Arduino-UnoR3 in my MacBook, I
could not send my codes to the board. I checked everything but.... not working. So I decided to use a
Windows 10 instead. When I use my MacBook for Arduino, I usually use Tinkercad.

Go Up