avrdude stk500_recv() programmer is not responding Arduino
avrdude: stk500 recv(): programmer is not responding – This is my experience when making my own Arduino. Starting from the circuit, PCB design, to assembly.
The initial problem is that I can’t program Arduino using USB Serial such as FTDI232 and CH340. When uploading the program, the notification that appears is not responding, such as:
avrdude: stk500_recv(): programmer is not responding
Cause stk500_recv(): programmer is not responding
After some testing and searching for problems, it turns out that this problem occurs because there is no response from the Atmel ATmega328 microcontroller after sending data from the serial. As for the hardware, it happens if:
- RX TX connection reversed.
- There is another circuit connected to the TX RX . pin
- Reset Pin not through 0.1uF . Capacitor
- Haven’t Installed Driver FTDI or CH340
- The chip doesn’t have an Arduino bootloader (new chip) or the bootloader is corrupt/damaged.
From some of the causes above, I fixed it. Starting from Checking the RX TX pin, eliminating other circuits connected to the RX TX pin, Installing a 0.1uF capacitor, Installing the FTDI232 Driver or Install Driver CH340 up to bootloader.
After I did all that, I tried to upload the program via FTDI or CH340. An error appears:
stk500_recv(): programmer is not responding
I also tried to burn the bootloader using Arduino as ISP and also using USBasp. Burn Bootloader Success.
In theory, when we have successfully burned the bootloader, we will be able to program the Atmega328 chip via USB to TTL such as FTDI and CH340.
However, back when I uploaded a program using a USB serial such as FTDI or CH340 it didn’t work. The same error appears. I tried to fix it with the 4 steps above. All circuits are correct. Still error.
After two days of trial and error, I managed to upload the program using FTDI and CH340. From the trial and error, I concluded that the bootloader that I uploaded was corrupt or damaged.
How to Fix avrdude: stk500_recv(): programmer is not responding
Previously, make sure the 5 list of causes of the error above have been fixed.
How to fix a broken bootloader is to connect the ATmega328 chip to the Arduino ISP or USBasp, then simultaneously connect the USB Serial.
Chip ATmega328 + USBasp + FTDI
or
Chip ATmega328 + USBasp + CH340
or
Chip ATmega328 + ArduinoISP + FTDI
or
Chip ATmega328 + ArduinoISP + CH340
Make sure the minimum system chip is installed and the 10K pull-up resistor is connected to the ATmega328 . reset pin
For USB serial, either FTDI or CH340, don’t forget to use a ceramic capacitor on the DTR pin with a value of 0.1uF or on the body it says the value 104.
5V -> 10K -> Reset pin Atmega328
Pin DTR -> Kapasitor 0.1uF -> Pin Reset Atmega328
After that, burn the bootloader via Arduino ISP or USBasp, then after it works, try uploading the program via FTDI or CH340.
If that doesn’t work, re-burn the bootloader and program via FTDI or CH340. When I did this trial and error, I repeated this step about 10 times.
Several times I reloaded the bootloader, it worked. Hopefully this avrdude stk500 programmer is not responding article is useful.