Go Down

Topic: Problem when I try uploanding* my sketch on the arduino uno (Read 408 times) previous topic - next topic

Bartolomeu

I'm trying* upload my sketch at Arduino but are come a error message.
 

Happened a error when the sketch was upload

avrdude: device signature= 0x1e950f (probably m328p)
avrdude: reading input flie
avrdude: can't open input file.......... no such file or diretory
avrdude:read from file.... failed

Please help me.

pert

Please do this:
  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the forum toolbar).

Bartolomeu

Arduino: 1.8.7 (Windows 10), Placa:"Arduino/Genuino Uno"

C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware -tools C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\tools-builder -tools C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -built-in-libraries C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\libraries -libraries C:\Users\Pc\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10807 -build-path C:\Users\Pc\AppData\Local\Temp\arduino_build_839163 -warnings=all -build-cache C:\Users\Pc\AppData\Local\Temp\arduino_cache_535871 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -verbose C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\examples\01.Basics\Blink\Blink.ino
C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\arduino-builder -compile -logger=machine -hardware C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware -tools C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\tools-builder -tools C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -built-in-libraries C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\libraries -libraries C:\Users\Pc\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10807 -build-path C:\Users\Pc\AppData\Local\Temp\arduino_build_839163 -warnings=all -build-cache C:\Users\Pc\AppData\Local\Temp\arduino_cache_535871 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr -verbose C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\examples\01.Basics\Blink\Blink.ino
C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr/bin/avrdude -CC:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM32 -b115200 -D -Uflash:w:C:\Users\Pc\AppData\Local\Temp\arduino_build_839163/Blink.ino.hex:i


Bartolomeu

 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 "C:\Users\Pc\Downloads\arduino-1.8.7-windows\arduino-1.8.7\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM32
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 4.4
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Ocorreu um erro enquanto o sketch era carregado
Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)

avrdude: reading input file "C:\Users\Pc\AppData\Local\Temp\arduino_build_839163/Blink.ino.hex"

avrdude: can't open input file C:\Users\Pc\AppData\Local\Temp\arduino_build_839163/Blink.ino.hex: No such file or directory

avrdude: read from file 'C:\Users\Pc\AppData\Local\Temp\arduino_build_839163/Blink.ino.hex' failed

avrdude done.  Thank you.

Bartolomeu


pert

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.

Go Up