Arduino Nano exit status 2

Good afternoon

I bought an Arduino nano and wanted to try it out, but every time I try to upload it this happens:

The sketch uses 1506 bytes (4%) of the program memory. The maximum is 30720 bytes.
Global variables use 196 bytes (9%) of the dynamic memory, leaving 1852 bytes for local variables. The maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Failed upload: Upload error: exit status 1

Further, it does not show me which port it is connected to (so I had to try and error)

What is the problem and what is the best way to fix it?
Thanks in advance for the answers!

Ps:
This is the program:
void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:
Serial.print("Hello World");

delay(100);
}

Welcome to the forum

If it is clone rather than a genuine Nano then try setting the Processor to "Old Bootloader" in the IDE Tools menu

1 Like

Does it show up in device manager? Maybe you need to install a driver if it is a clone.

1 Like

That was the solution, Thanks a lot!

oops I didn't plan on buing a clone :sweat_smile:

The problem is caused by the fact that many clones have the old version of the bootloader installed and many forum users have had the same problem hence me being able to guess what the solution was

1 Like

If you expected to see "Arduino Nano (COMx)" in Windows device manager, that is not going to happen. Nanos (both original and clone) use a generic serial-to-usb converter so there is no way to differentiate them from something else that uses that same serial-to-usb converter.

It's the only board in the official Arduino line-up that behaves like that, all others have a clever serial-to-usb converter (or native USB) and can be identified.

1 Like

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