Failed uploading: uploading error: exit status 1

Connected
Board: Arduino NANO
Selected port: COM4
Compilation was successful.
And when loading I give an error:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x08
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x08
Failed uploading: uploading error: exit status 1

P.S.: everything was fine six months ago, I uploaded the sketch without problems

What can I do to upload sketch?

First use verbose mode and show us the entire error log. Post it here in code tags. Also post complete source code in code tags and show us the wiring diagram, NOT photos of wiring.

Some points/questions

  • Try the different options under tools/processor; you might have changed that by accident.
  • When you press and release the reset button, does the L-LED flash once, a couple of times or not at all?
  • If you disconnect the board, does COM4 disappear from the IDe (and Windows device manager)?
  • Is anything connected to the board (specifically pins 0 and 1)? Disconnect it all.
  • What was the last project that you were working on when it still worked? What was the project that you were working on when you observed the failure?
  • Were you using the same version of the IDE 6 months ago? Which version of the IDE are you using?
  • Which Windows version?
  1. Sure, I tryed. The result is the uploading error
  2. red and green lights up. After reboot only green lights up, then red and green again (video video_2024-08-12_14-12-19.mp4 - Google Drive)
  3. Yes, yes
  4. no, only board
  5. It is simple example (blink). 6 month ago it operated, and few day ago didn't operate:
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}
  1. Sure, Arduino IDE 2.3.2.
  2. 6 month ago and NOW I use Windows version - Windows 10
  1. It is simple example (blink). 6 month ago it operated, and few day ago didn't operate:
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

The issue is marked solved, is it?

No. The issue doesn't solve

Is it a NANO clone, have you tried old and new bootloader, maybe even the 168 option. Tools/Processor

yes i tried every processor with every programmer. the problem is not solved

@alexxx3000
What USB chip is on the Arduino?
My one Laptop sometimes "Forget" the CHA340 diver , I just need to re install it .

See post #10, that is about the only other thing I can think of. Do you have another board to try, it may be you had a static event or something and have actually destroyed the board.

Have you tried closing the serial monitor? Uplouding never works when I have the serial monitor open.

I can't watch your video (no idea why, might be my crappy laptop).

After a reset, the bootloader is active for a short period.

  • For the old bootloader, the L-LED should give one quick flash.
  • For the 328P bootloader, the L-LED should give give a couple (3 or 4) quick flashes.

Once the bootloader has handed over control to the loaded sketch

  • The L-LED should do what it was told; if that was blink (loaded in the past) it should blink, not be permanently on.