Can't televerse a program on my Arduino Mega

Arduino: 1.8.13 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\sidym\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\sidym\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\sidym\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0000_0000 -ide-version=10813 -build-path C:\Users\sidym\AppData\Local\Temp\arduino_build_878211 -warnings=none -build-cache C:\Users\sidym\AppData\Local\Temp\arduino_cache_359148 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\sidym\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\sidym\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\sidym\Documents\Arduino\Driver_A4988\Driver_A4988.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\sidym\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\sidym\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\sidym\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0000_0000 -ide-version=10813 -build-path C:\Users\sidym\AppData\Local\Temp\arduino_build_878211 -warnings=none -build-cache C:\Users\sidym\AppData\Local\Temp\arduino_cache_359148 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\sidym\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\sidym\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\sidym\Documents\Arduino\Driver_A4988\Driver_A4988.ino

Using board 'mega' from platform in folder: C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

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

Detecting libraries used...

"C:\Users\sidym\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino" "-IC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\variants\mega" "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\sketch\Driver_A4988.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\Users\sidym\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino" "-IC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\variants\mega" "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\sketch\Driver_A4988.ino.cpp" -o "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\preproc\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\preproc\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\Users\sidym\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=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\cores\arduino" "-IC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3\variants\mega" "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\sketch\Driver_A4988.ino.cpp" -o "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\sketch\Driver_A4988.ino.cpp.o"

Compiling libraries...

Compiling core...

Using precompiled core: C:\Users\sidym\AppData\Local\Temp\arduino_cache_359148\core\core_arduino_avr_mega_cpu_atmega2560_f23f26ecaa2f9e99cbf043716fe0bd94.a

Linking everything together...

"C:\Users\sidym\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=atmega2560 -o "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211/Driver_A4988.ino.elf" "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211\sketch\Driver_A4988.ino.cpp.o" "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211/..\arduino_cache_359148\core\core_arduino_avr_mega_cpu_atmega2560_f23f26ecaa2f9e99cbf043716fe0bd94.a" "-LC:\Users\sidym\AppData\Local\Temp\arduino_build_878211" -lm

"C:\Users\sidym\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\sidym\AppData\Local\Temp\arduino_build_878211/Driver_A4988.ino.elf" "C:\Users\sidym\AppData\Local\Temp\arduino_build_878211/Driver_A4988.ino.eep"

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

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

Sketch uses 1410 bytes (0%) of program storage space. Maximum is 253952 bytes.

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

C:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM3 -b115200 -D -Uflash:w:C:\Users\sidym\AppData\Local\Temp\arduino_build_878211/Driver_A4988.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\sidym\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"



     Using Port                    : COM3

     Using Programmer              : wiring

     Overriding Baud Rate          : 115200

avrdude: stk500v2_getsync(): got response from unknown programmer , assuming STK500

     AVR Part                      : ATmega2560

     Chip Erase delay              : 9000 us

     PAGEL                         : PD7

     BS2                           : PA0

     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    10     8    0 no       4096    8      0  9000  9000 0x00 0x00

       flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00

       lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

       hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

       efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00

       lock           0     0     0    0 no          1    0      0  9000  9000 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 : Wiring

     Description     : Wiring

     Programmer Model: STK500

avrdude: stk500v2_command(): warning: unknown, code 0x90

avrdude: stk500v2_getparm(): failed to get parameter 0x90

avrdude: stk500v2_command(): warning: unknown, code 0x91

avrdude: stk500v2_getparm(): failed to get parameter 0x91

avrdude: stk500v2_command(): warning: unknown, code 0x92

avrdude: stk500v2_getparm(): failed to get parameter 0x92

     Hardware Version: 70

     Firmware Version Master : 227.92

avrdude: stk500v2_command(): warning: unknown, code 0x9a

avrdude: stk500v2_getparm(): failed to get parameter 0x9a

     Topcard         : Unknown

avrdude: stk500v2_command(): warning: unknown, code 0x94

avrdude: stk500v2_getparm(): failed to get parameter 0x94

     Vtarget         : 6.4 V

avrdude: stk500v2_command(): warning: unknown, code 0x98

avrdude: stk500v2_getparm(): failed to get parameter 0x98

avrdude: stk500v2_command(): warning: unknown, code 0x95

avrdude: stk500v2_getparm(): failed to get parameter 0x95

avrdude: stk500v2_command(): warning: unknown, code 0x96

avrdude: stk500v2_getparm(): failed to get parameter 0x96

avrdude: stk500v2_command(): warning: unknown, code 0x97

avrdude: stk500v2_getparm(): failed to get parameter 0x97

     SCK period      : 0.5 us

     Varef           : 6.4 V

     Oscillator      : 16.168 kHz

avrdude: stk500v2_command(): warning: unknown, code 0x9e

avrdude: stk500v2_setparm(): failed to set parameter 0x9e

avrdude: stk500v2_command(): unknown status 0xc8

avrdude: initialization failed, rc=-1

     Double check connections and try again, or use -F to override

     this check.

avrdude: stk500v2_command(): unknown status 0x01

avrdude: stk500v2_disable(): failed to leave programming mode

avrdude done. Thank you.

An error occurred while uploading the sketch