Can't upload any code to my arduino uno ch340

Sketch uses 1232 bytes (3%) of program storage space. Maximum is 32384 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\Rooster\AppData\Local\Arduino15\packages\MiniCore\tools\avrdude\7.2-arduino.1/bin/avrdude" "-CC:\Users\Rooster\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\3.0.0/avrdude.conf" -v  -patmega328pb -curclock -PCOM6 -b38400 -D -xnometadata "-Ueeprom:w:C:\Users\Rooster\AppData\Local\Temp\arduino\sketches\585646E985CCC514D8651431D7F64591/Blink.ino.eep:i" "-Uflash:w:C:\Users\Rooster\AppData\Local\Temp\arduino\sketches\585646E985CCC514D8651431D7F64591/Blink.ino.hex:i"

avrdude: Version 7.2-arduino.1
         Copyright the AVRDUDE authors;
         see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

         System wide configuration file is C:\Users\Rooster\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\3.0.0\avrdude.conf

         Using Port                    : COM6
         Using Programmer              : urclock
         Overriding Baud Rate          : 38400
avrdude urclock_getsync() warning: attempt 1 of 10: not in sync
avrdude urclock_getsync() warning: attempt 2 of 10: not in sync
avrdude urclock_getsync() warning: attempt 3 of 10: not in sync
avrdude urclock_getsync() warning: attempt 4 of 10: not in sync
avrdude urclock_getsync() warning: attempt 5 of 10: not in sync
avrdude urclock_getsync() warning: attempt 6 of 10: not in sync
avrdude urclock_getsync() warning: attempt 7 of 10: not in sync
avrdude urclock_getsync() warning: attempt 8 of 10: not in sync
avrdude urclock_getsync() warning: attempt 9 of 10: not in sync
avrdude urclock_getsync() warning: attempt 10 of 10: not in sync
avrdude urclock_recv() warning: programmer is not responding; try -xstrict and/or vary -xdelay=100
avrdude main() error: unable to open programmer urclock on port COM6

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1
```

Did you install your CH340 driver?

https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers

1 Like

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