I get this error whenevr I try to upload something

I get this error whenevr I try to upload something onto my arduino uno r3 board, it is only on this board, I used my friends same board and it works just fine, I tried everything the port and the board selected is right
Here is the error i get:

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

Detecting libraries used...
C:\Users\Affo\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Affo\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Affo\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\Affo\AppData\Local\Temp\arduino\sketches\B9CC62B3B57A2F448687B5A4E9C2A397\sketch\sketch_jan4a.ino.cpp -o nul
Generating function prototypes...
C:\Users\Affo\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Users\Affo\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\Affo\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\standard C:\Users\Affo\AppData\Local\Temp\arduino\sketches\B9CC62B3B57A2F448687B5A4E9C2A397\sketch\sketch_jan4a.ino.cpp -o C:\Users\Affo\AppData\Local\Temp\2003751368\sketch_merged.cpp
C:\Users\Affo\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\Affo\AppData\Local\Temp\2003751368\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\Affo\\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=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Affo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\Affo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397\\sketch\\sketch_jan4a.ino.cpp" -o "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397\\sketch\\sketch_jan4a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\Affo\AppData\Local\Temp\arduino\cores\arduino_avr_uno_a8236446ed25b9a0aa5f2dd8f6eae1d7\core.a
Linking everything together...
"C:\\Users\\Affo\\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\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.ino.elf" "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397\\sketch\\sketch_jan4a.ino.cpp.o" "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/..\\..\\cores\\arduino_avr_uno_a8236446ed25b9a0aa5f2dd8f6eae1d7\\core.a" "-LC:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397" -lm
"C:\\Users\\Affo\\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\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.ino.elf" "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.ino.eep"
"C:\\Users\\Affo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.ino.elf" "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.ino.hex"

"C:\\Users\\Affo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\Affo\\AppData\\Local\\Temp\\arduino\\sketches\\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.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\Affo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\Affo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM3" -b115200 -D "-Uflash:w:C:\Users\Affo\AppData\Local\Temp\arduino\sketches\B9CC62B3B57A2F448687B5A4E9C2A397/sketch_jan4a.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\Affo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa1
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa1

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

Welcome to the forum

Have both boards got the same serial to USB chip on them ?

yes they do

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