Hi again,
I decided to buy a new device to avoid the problem.
I bought it from this link.
https://ar.aliexpress.com/item/1005007335850929.html?spm=a2g0o.order_list.order_list_main.16.504f1802UP5orq&gatewayAdapt=glo2ara
When it arrived, I immediately tried to upload a Blink file.
Unfortunately, I got the same error message!
It seems I'm doing something wrong, but I don't know what it is.
FQBN: arduino:avr:uno
Using board 'uno' from platform in folder: /Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6
Using core 'arduino' from platform in folder: /Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6
Detecting libraries used...
/Users/ghalib/Library/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 -I/Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/Users/ghalib/Library/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 -I/Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/sketch/Blink.ino.cpp -o /private/var/folders/9m/ff3mpg113xg1_89t_1hw99340000gp/T/2216128259/sketch_merged.cpp
/Users/ghalib/Library/Arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /private/var/folders/9m/ff3mpg113xg1_89t_1hw99340000gp/T/2216128259/sketch_merged.cpp
Compiling sketch...
/Users/ghalib/Library/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 -I/Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/Users/ghalib/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/variants/standard /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/sketch/Blink.ino.cpp -o /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /Users/ghalib/Library/Caches/arduino/cores/arduino_avr_uno_ee311155064bfcc29bcd8cf1201ade6e/core.a
Linking everything together...
/Users/ghalib/Library/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 /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.ino.elf /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/sketch/Blink.ino.cpp.o /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/../../cores/arduino_avr_uno_ee311155064bfcc29bcd8cf1201ade6e/core.a -L/Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104 -lm
/Users/ghalib/Library/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 /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.ino.elf /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.ino.eep
/Users/ghalib/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -R .eeprom /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.ino.elf /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.ino.hex
/Users/ghalib/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size -A /Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.ino.elf
Sketch uses 924 bytes (2%) 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.
"/Users/ghalib/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/Users/ghalib/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-P/dev/cu.usbserial-1420" -b115200 -D "-Uflash:w:/Users/ghalib/Library/Caches/arduino/sketches/DC1C48D23639B811A3F1A27EE17F9104/Blink.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 "/Users/ghalib/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/Users/ghalib/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbserial-1420
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=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1