You click Upload and after a few seconds the Arduino IDE shows:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
This means the computer could not talk to the bootloader on your board. The sketch itself is fine — the problem is the connection, the settings or the board. Work through these steps in order; most people solve it in the first five.
1. Select the right board and port
- Tools > Board: choose exactly your board (Arduino Uno, Nano, Mega or Mega 2560).
- Tools > Port: unplug the board and check which port disappears, then plug it back in and choose that port.
2. Nano clones: try the “Old Bootloader”
Many compatible Nano boards still ship with the older bootloader. Choose Tools > Processor > ATmega328P (Old Bootloader) and upload again. This single setting fixes most Nano upload errors.
3. Disconnect anything on pins 0 and 1
Pins 0 (RX) and 1 (TX) are used for uploading. A Bluetooth module (HC-05, HC-06), GPS, another board or a shield using these pins blocks the upload. Disconnect them, upload, then reconnect.
4. Close other programs using the port
Only one program can open a serial port. Close the Serial Monitor in a second IDE window, Cura, 3D-printer hosts, serial terminals and any other tool that may hold the port.
5. Check the cable and the driver
- Use a USB data cable — many phone cables are charge-only.
- Boards with a CH340 chip may need the CH340 driver on Windows. See how to install the CH340 driver.
- Try another USB port, ideally directly on the computer instead of a hub.
Arduino-Based Nano Development Board (CH340)
Arduino product listed on Amazon.com.tr. Check current price, specifications and availability on Amazon before purchasing.
Arduino CP2102 Micro USB 2.0 to UART TTL Serial Converter Module
Arduino product listed on Amazon.com.tr. Check current price, specifications and availability on Amazon before purchasing.
Arduino-Based UNO R3 Development Board (CH340)
Arduino product listed on Amazon.com.tr. Check current price, specifications and availability on Amazon before purchasing.
6. Turn on verbose output
Open File > Preferences and tick Show verbose output during: upload. The log shows the exact port, baud rate and board settings avrdude used — very useful when asking for help.
7. Try a manual reset
The board normally resets automatically when the upload starts. If that fails, press and hold the RESET button, click Upload, and release the button as soon as the IDE shows “Uploading…”. It may take a few tries to get the timing right.
8. Test the USB-to-serial chip (loopback test)
On an Uno or Mega, connect RESET to GND with a jumper wire (this keeps the main chip in reset), then connect pin 0 to pin 1. Open the Serial Monitor and send some text. If the same text comes back, the USB connection works and the problem is the bootloader or the main chip. Remove both jumpers afterwards.
9. Re-burn the bootloader
If the loopback test works but uploads still fail, the bootloader may be missing or damaged. You can burn a new one with a second Arduino running the ArduinoISP example sketch, or with a USBasp programmer, using Tools > Burn Bootloader.
Quick reference
| Symptom | Most likely fix |
|---|---|
| Nano clone, every upload fails | Processor: ATmega328P (Old Bootloader) |
| No port in Tools > Port | Data cable, CH340 driver |
| Worked before you wired a module | Free pins 0 and 1 |
| “Access is denied” / port busy | Close other programs using the port |
| Loopback works, upload fails | Burn the bootloader |
Still getting the error? Post your board, operating system, the selected board/processor/port and the verbose upload log in the Programming & Code board.



Comments
No comments yet. Questions about this guide, or tried it yourself? Share it below.