Arduino uploading error: exit status 1

Sketch uses 9424 bytes (29%) of program storage space. Maximum is 32256 bytes.
Global variables use 327 bytes (15%) of dynamic memory, leaving 1721 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xcd
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xcd
Failed uploading: uploading error: exit status 1

Which Arduino are you using ?

an Uno, but I think it's like a with CH340G

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

I installed it but the error is still popping up, shld I be using arduino Uno as board?

Why would you select any other type of board in the IDE, if that is what you mean

cuz it's not arduino?

But it is a clone of it

Which board had you selected in the IDE when you got the error ?

arduino uno

Which port was selected ?

COM3?
tried COM4 too

That implies that you had tried at least one other port

Which port does Windows create when you plug in the board ?

there's an alternative Com4 for c-type, also tried that

Ok, whatever that means, but unless Windows creates a COM port when you plug in the board the upload will never work

it does

Let me ask the same question a different way

What is the name of the port that Windows creates when you plug in the board ?

I have three USB ports, when i plug into one it creates- USB SERIAL CH340 (COM5)
when I plug into the other one it creates-USB SERIAL CH340 (COM4)
and last one creates- USB SERIAL CH340 (COM3)

Do you see this in Device Manager?

(image from this page)

1 Like

yes

When you see COM3 in the Device manager, can you select IDE >> TOOLS >> PORT >> COM3... or is there no COM3?