Uploading error with arduino uno

Arduino: 1.8.18 (Windows 10), Board: "Arduino Uno"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

avrdude: verification error, first mismatch at byte 0x0000

     0x62 != 0x0c

avrdude: verification error; content mismatch

avrdude: verification error; content mismatch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

plz help

Go to File -> Preferences... and turn on:

Show verbose output during: [ ]compilation. [X]upload

Then show us the verbose output.

Arduino: 1.8.18 (Windows 10), Board: "Arduino Uno"

C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\hardware -hardware C:\Users\project\AppData\Local\Arduino15\packages -tools C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\tools-builder -tools C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\hardware\tools\avr -tools C:\Users\project\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\libraries -libraries C:\Users\project\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=1A86_7523 -ide-version=10818 -build-path C:\Users\project\AppData\Local\Temp\arduino_build_989413 -warnings=none -build-cache C:\Users\project\AppData\Local\Temp\arduino_cache_656597 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\project\AppData\Local\Temp\untitled638082601.tmp\sketch_dec05b\sketch_dec05b.ino

C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\arduino-builder -compile -logger=machine -hardware C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\hardware -hardware C:\Users\project\AppData\Local\Arduino15\packages -tools C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\tools-builder -tools C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\hardware\tools\avr -tools C:\Users\project\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\project\Downloads\arduino-1.8.18-windows\arduino-1.8.18\libraries -libraries C:\Users\project\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=1A86_7523 -ide-version=10818 -build-path C:\Users\project\AppData\Local\Temp\arduino_build_989413 -warnings=none -build-cache C:\Users\project\AppData\Local\Temp\arduino_cache_656597 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\project\AppData\Local\Temp\untitled638082601.tmp\sketch_dec05b\sketch_dec05b.ino

Using board 'uno' from platform in folder: C:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Using core 'arduino' from platform in folder: C:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Detecting libraries used...

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/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=10818 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "C:\Users\project\AppData\Local\Temp\arduino_build_989413\sketch\sketch_dec05b.ino.cpp" -o nul

Generating function prototypes...

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/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=10818 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "C:\Users\project\AppData\Local\Temp\arduino_build_989413\sketch\sketch_dec05b.ino.cpp" -o "C:\Users\project\AppData\Local\Temp\arduino_build_989413\preproc\ctags_target_for_gcc_minus_e.cpp"

"C:\Users\project\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\project\AppData\Local\Temp\arduino_build_989413\preproc\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10818 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\project\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard" "C:\Users\project\AppData\Local\Temp\arduino_build_989413\sketch\sketch_dec05b.ino.cpp" -o "C:\Users\project\AppData\Local\Temp\arduino_build_989413\sketch\sketch_dec05b.ino.cpp.o"

Compiling libraries...

Compiling core...

Using precompiled core: C:\Users\project\AppData\Local\Temp\arduino_cache_656597\core\core_arduino_avr_uno_1b3a0a1e8af8906c8d2cddaa0cb8c585.a

Linking everything together...

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.elf" "C:\Users\project\AppData\Local\Temp\arduino_build_989413\sketch\sketch_dec05b.ino.cpp.o" "C:\Users\project\AppData\Local\Temp\arduino_build_989413/..\arduino_cache_656597\core\core_arduino_avr_uno_1b3a0a1e8af8906c8d2cddaa0cb8c585.a" "-LC:\Users\project\AppData\Local\Temp\arduino_build_989413" -lm

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.elf" "C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.eep"

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.elf" "C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.hex"

"C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.elf"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -V -patmega328p -carduino -PCOM7 -b115200 -D -Uflash:w:C:\Users\project\AppData\Local\Temp\arduino_build_989413/sketch_dec05b.ino.hex:i

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Users\project\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"



     Using Port                    : COM7

     Using Programmer              : arduino

     Overriding Baud Rate          : 115200

avrdude: ser_open(): can't open device "\.\COM7": Access is denied.

avrdude done. Thank you.

Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

That's a different error. Something is preventing avrdude from using COM7. Perhaps another app is connected to COM7. Fix that problem and try again.

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