I keep getting errors

I've tried all the steps in this video (https://youtu.be/SfA8K793c0E?si=n4aa0QoncDk1dqTS) but it still doesn't work. I'm afraid either the cable or the Arduino Uno itself is broken.

Error:


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

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

"C:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino\\sketches\\E7007558C92A925DFF494D8F6535B998/sketch_dec14a.ino.elf"
Sketch uses 1072 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 25 bytes (1%) of dynamic memory, leaving 2023 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc6
Failed uploading: uploading error: exit status 1

More like that you have not selected the correct processor to use from the Tools Menu.

I also did this project as a test (it works in tinkercad but not on the physical arduino itself)
https://nathandumbleton.wixsite.com/arduino/project-4-xmas-light

It doesn't show up for me
image

Then we need to see a schematic of what you have built.

Please post code directly here and not from third party sites.

You might want to look at this How to get the best out of this forum before you proceed any further.
We only know what you tell us, and without knowing what you have, we don't stand a chance.

Also what happens when you move across to the Com 7 menu.

I think you are using the IDE 2.x, Have you tried using the IDE 1.8.19 ?

You did post this in the Arduino stk Bootloader issues.

int ledCount = 8;
int ledPins [] = { 6, 7, 8, 9, 10, 11, 12, 13 };
int ledDelay = 300;
 
void setup() {
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
  pinMode (ledPins[thisLed], OUTPUT);
}
}
 
void loop() {
   for (int thisLed = 0; thisLed < ledCount-1; thisLed++) {
    digitalWrite(ledPins[thisLed], HIGH);
    delay(ledDelay);
    digitalWrite(ledPins[thisLed], LOW);
   }
   for (int thisLed = ledCount-1; thisLed > 0; thisLed--) {
    digitalWrite(ledPins[thisLed], HIGH);
    delay(ledDelay);
    digitalWrite(ledPins[thisLed], LOW);
    }
}

image

Hi @noobinthesecond. You described the Arduino board you are uploading to as "Uno". Something that can be confusing is there are multiple boards with "UNO" in their name. We need to be certain of exactly which one you have. The reason is that the problem might be caused by the IDE not being correctly configured for your specific board.

Please tell us which of the following boards you are attempting to upload to:

If you aren't sure which one you have, you can provide a picture of the board or a link to the place you bought it from and we'll see if we can identify it.

image

I haven't touched an older version yet. I'll come back after I test it.

I switched to 1.8.19, the same error still pops up.

Error:

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

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Mapili\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Mapili\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Mapili\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0001 -ide-version=10819 -build-path C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483 -warnings=none -build-cache C:\Users\Mapili\AppData\Local\Temp\arduino_cache_306845 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\Mapili\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\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\Mapili\Documents\Arduino\sketch_may25a\sketch_may25a.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Mapili\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Mapili\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Mapili\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0001 -ide-version=10819 -build-path C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483 -warnings=none -build-cache C:\Users\Mapili\AppData\Local\Temp\arduino_cache_306845 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\Mapili\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\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -verbose C:\Users\Mapili\Documents\Arduino\sketch_may25a\sketch_may25a.ino

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

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

Detecting libraries used...

"C:\\Users\\Mapili\\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=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\sketch\\sketch_may25a.ino.cpp" -o nul

Generating function prototypes...

"C:\\Users\\Mapili\\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=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\sketch\\sketch_may25a.ino.cpp" -o "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Users\\Mapili\\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\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\Mapili\\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=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\Mapili\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\sketch\\sketch_may25a.ino.cpp" -o "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\sketch\\sketch_may25a.ino.cpp.o"

Compiling libraries...

Compiling core...

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\wiring_pulse.S.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\hooks.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\WInterrupts.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\wiring.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\wiring_shift.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\wiring_analog.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\wiring_digital.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\wiring_pulse.c.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\CDC.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\USBCore.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\HardwareSerial0.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\Stream.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\Print.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\HardwareSerial3.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\WString.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\HardwareSerial.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\WMath.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\new.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\abi.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\Tone.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\IPAddress.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\HardwareSerial1.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\PluggableUSB.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\HardwareSerial2.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\main.cpp.o

Using previously compiled file: C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483\core\core.a

Archiving built core (caching) in: C:\Users\Mapili\AppData\Local\Temp\arduino_cache_306845\core\core_arduino_avr_uno_5164df51713eea3120b073a6c9b85f60.a

Linking everything together...

"C:\\Users\\Mapili\\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\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483/sketch_may25a.ino.elf" "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483\\sketch\\sketch_may25a.ino.cpp.o" "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483/core\\core.a" "-LC:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483" -lm

"C:\\Users\\Mapili\\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\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483/sketch_may25a.ino.elf" "C:\\Users\\Mapili\\AppData\\Local\\Temp\\arduino_build_770483/sketch_may25a.ino.eep"

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

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

Sketch uses 1074 bytes (3%) of program storage space. Maximum is 32256 bytes.

Global variables use 27 bytes (1%) of dynamic memory, leaving 2021 bytes for local variables. Maximum is 2048 bytes.

C:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\Mapili\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM7 -b115200 -D -Uflash:w:C:\Users\Mapili\AppData\Local\Temp\arduino_build_770483/sketch_may25a.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\Mapili\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: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6b

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6b



avrdude done.  Thank you.



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


Performed a loopback test on the Arduino Uno, no output was given. I assume it's broken as it says here(https://support.arduino.cc/hc/en-us/articles/360020366520-How-to-do-a-loopback-test):

I concur. The fact that we see the "(Arduino Uno)" label in Arduino IDE's Tools > Port menu tells us that the firmware is present on the ATmega16U2 USB chip on your UNO R3 board. So this would indicate that the failure of the loopback test is caused by physical damage rather than it only being a case of missing firmware.

Unless you have the right tools on hand and the skills to use those tools, repair of the type of physical damage that is likely to produce this result is not very feasible. I suggest you attach a note to the damaged board describing what is wrong with it and put it in your electronics salvage bin. Then purchase a replacement board.

You can support the work Arduino does to provide free open source software, documentation, and hardware designs to the community by purchasing official hardware. It is available from these sources:

Thank you so much for confirming. I hope that our teacher can provide a new one.
Thank you to Grumpy_Mike as well.