Help! avrdude: stk500_recv(): programmer is not responding

Greetings.
I'm new to Arduino and electronics. I wanted to program an Arduino pro mini with an Arduino UNO clone, so I connected tx, rx, vcc and gnd of both Arduino, but I was getting the error message: avrdude: stk500_recv(): programmer is not responding. So I started to look for information about it: I changed computer, Arduino to use as programmer, updated usb driver, updated Arduino ide, I controlled that that the Arduino UNO worked by loading on it some programs that infact worked, I then bought another Arduino pro mini, that still gives the same error, I controlled that the correct board was selected in tools (Arduino pro mini), and the correct processor (328p 3.3v 8mhz), and the correct port (that works if I try to load a program in the Arduino UNO). Also considering that the UNO works I assume that also the cable works. The lights turn on on the Arduino pro mini, so I assume that at least that power works, also the frequency of light turning on and off change when I press load, so I assume there is some kind of connection.
In the and I thought it might be a bootloader problem, so I changed the connections between the two Arduino (3.3v vcc, 10 rst, 11 11, 12 12, 13 13, gnd gnd), selected Arduino as ISP, the leds on the two Arduino start to synchronize, but still got an error:

Arduino:1.8.19 (Windows 10), Scheda:"Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"

Lo sketch usa 4352 byte (14%) dello spazio disponibile per i programmi. Il massimo è 30720 byte.

Le variabili globali usano 482 byte (23%) di memoria dinamica, lasciando altri 1566 byte liberi per le variabili locali. Il massimo è 2048 byte.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM7 -b57600 -D -Uflash:w:C:\Users\foxes\AppData\Local\Temp\arduino_build_778284/ArduinoISP.ino.hex:i

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"



     Using Port                    : COM7

     Using Programmer              : arduino

     Overriding Baud Rate          : 57600

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x53

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x53

avrdude done. Thank you.

Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"

I beg for help.

This is the setup:



(The 10 capacitor there is because I wanted to connect 10 and RST with a 100nF capacitor, but I didn't have it, so I put 10 in series instead. even without them the program shows the error).

Check your IDE >> TOOLS >> PORT >> your port... and IDE >> TOOLS >> BOARD >> your board.

You should clean up the loose wire strands (tin them, twist them, mount pin headers and solder pins or sockets on the wire ends... They look close to touching other conductive parts... which could interrupt communications.

Thanks for your answer.
I checked the board (Arduino pro mini 3.3v) and the port, and both are correct.

Thats what I thought, so I tried to look carefully to see if they are touching something else. It didn't seem to me... but do you suggest me to do something about it anyway?

Is your Pro Mini running a sketch using pins 0 and 1 while trying to upload a new sketch?
When you unplug the USB cable from your computer, and plug it back into your computer, do you get the "remove tone" and "insert tone"?

About the wires - Try to use the jumper wires like the black ones in the picture, with the finished ends having pins (or sockets). Bare wires are not bad, but stray wires might touch another conductive surface and cause problems.

The only thing that I'm trying to run on it is the burn of the bootloader, the code for it I took it from the IDE itself, between the examples.

Yes, I can hear both sound.

Ok, so you are suggesting me to de-solder the wires and solder there the jumpers or the pins that arrived in the package?

The wires really need to be reliable. Every connection is a weakness, and a probable point of failure. If you make good cables, your projects will only be a matter of writing code.

Pins or sockets, soldered onto a proto-board or onto the ends of wires is up to you and how your devices connect.

Sorry for the time for replying, but I had other works to do...
Ok, so, what I did was solder the reset wire to the Arduino pro mini (which wasn't soldered), and figure out that I didn't upload the code ArduinoISP to the Arduino uno. But, after I did it, the IDE gave me this error:

Arduino:1.8.19 (Windows 10), Scheda:"Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -PCOM7 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"



     Using Port                    : COM7

     Using Programmer              : stk500v1

     Overriding Baud Rate          : 19200

     AVR Part                      : ATmega328P

     Chip Erase delay              : 9000 us

     PAGEL                         : PD7

     BS2                           : PC2

     RESET disposition             : dedicated

     RETRY pulse                   : SCK

     serial program mode           : yes

     parallel program mode         : yes

     Timeout                       : 200

     StabDelay                     : 100

     CmdexeDelay                   : 25

     SyncLoops                     : 32

     ByteDelay                     : 0

     PollIndex                     : 3

     PollValue                     : 0x53

     Memory Detail                 :



                              Block Poll               Page                       Polled

       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff

       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff

       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00



     Programmer Type : STK500

     Description     : Atmel STK500 Version 1.x firmware

     Hardware Version: 2

     Firmware Version: 1.18

     Topcard         : Unknown

     Vtarget         : 0.0 V

     Varef           : 0.0 V

     Oscillator      : Off

     SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Errore durante la scrittura del bootloader

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000

avrdude: Yikes! Invalid device signature.

     Double check connections and try again, or use -F to override

     this check.

avrdude done. Thank you.

What should I do?

So, I've looked the link that you posted and, regarding the first point, the board is correct (Arduino Pro mini 3.3v), and for the second point I have never changed the version of avrdude, so I don't think that's the problem.
Then I tried to look for other information and I found this: Invalid device signature error - #3 by johnwasser . There, someone said that it might be because the Arduino has an internal oscillator at 8mhz, so he put a link to another program to load into the Arduino to use as a programmer: https://github.com/adafruit/Adafruit_Learning_System_Guides/tree/main/ArduinoISP . I downloaded it and loaded into the Arduino uno, connected the two pin 9 and now I have this error:

Arduino:1.8.19 (Windows 10), Scheda:"Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -PCOM7 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"



     Using Port                    : COM7

     Using Programmer              : stk500v1

     Overriding Baud Rate          : 19200

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15

     AVR Part                      : ATmega328P

     Chip Erase delay              : 9000 us

     PAGEL                         : PD7

     BS2                           : PC2

     RESET disposition             : dedicated

     RETRY pulse                   : SCK

     serial program mode           : yes

     parallel program mode         : yes

     Timeout                       : 200

     StabDelay                     : 100

     CmdexeDelay                   : 25

     SyncLoops                     : 32

     ByteDelay                     : 0

     PollIndex                     : 3

     PollValue                     : 0x53

     Memory Detail                 :



                              Block Poll               Page                       Polled

       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack

       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff

       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff

       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00

       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00

       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00



     Programmer Type : STK500

     Description     : Atmel STK500 Version 1.x firmware

     Hardware Version: 2

     Firmware Version: 1.18

     Topcard         : Unknown

     Vtarget         : 0.0 V

     Varef           : 0.0 V

     Oscillator      : Off

     SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.03s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.03s

avrdude: Device signature = 0x0000ff

avrdude: Expected signature for ATmega328P is 1E 95 0F

     Double check chip, or use -F to override this check.

avrdude done. Thank you.

Errore durante la scrittura del bootloader

And... now what?

I would like to add that trying several times I get different device signature, but each time they are wrong.

I'm getting other wrong signatures even with the original ArduinoISP program...

How does your board look? In this image, VCC and GND seem to touch (as well as RX and TX)

I changed the disposition since then. Now is more like this:



Also, now when I try, I get programmer not responding rc=-1 or invalid signature 0x000000 .
I really don't know... it might look like a connection problem, but each time I look at the cables it doesn't look to me like they are touching one another...

You should get pin headers and solder to the board. Current wiring just gives grief - are there bad connections, is a loose strand shorting out something - and you can't tell for sure where.

£7

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