I'm using an UNO clone(needed the CH340 driver installed) and its mostly been working fine.
but every now and then, for no apparent reason that I can figure, it refuses to upload.
I check MS Device Manager and make certain that the IDE port setting is correct.
I've tried using 3 different USB ports (making certain the IDE knows which port to look for)
and sometimes it works fine and uploads as expected.
but other times I get this error :
Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
Sketch uses 20940 bytes (64%) of program storage space. Maximum is 32256 bytes.
Global variables use 1354 bytes (66%) of dynamic memory, leaving 694 bytes for local variables. Maximum is 2048 bytes.avrdude: stk500_paged_load(): (a) protocol error, expect=0x10, resp=0x00
avrdude: stk500_cmd(): programmer is out of sync
avr_read(): error reading address 0x0000
read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
and I have no idea what to do with it.
what is this?