Hi
I am getting an upload error
I was using an arduino nano initially when I first got this error. I was building some robotic kits for a primary school and once I started programming the 4th microcontroller I started getting this error. When I went back to the three I just programmed I got the same error. I have fifty nano's and they all give me this problem. However I tried my Nodemcu and it was working fine. I also tried my arduino Uno and it was working fine until just now where it also started giving the same exact error.
I checked the com port and selected Board
I checked the cable.
I tried on different computers
I tried the old bootloader
I tried burning bootloader
I tried installing the ch340 drivers
I tried uninstalling and reinstalling the IDE
I've tried checking different codes.
The error is
Sketch uses 19890 bytes (61%) of program storage space. Maximum is 32256 bytes.
Global variables use 515 bytes (25%) of dynamic memory, leaving 1533 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\kagiso.pilane\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\kagiso.pilane\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM13" -b115200 -D "-Uflash:w:C:\Users\kagiso.pilane\AppData\Local\Temp\arduino\sketches\6B7A339AEA6CB64D49E5EA1C10A8E744/YMFC-AL_setup.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\kagiso.pilane\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM13
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=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xec
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xec
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Please help