Hello,
I am experiencing an issue when uploading code to an 3.3v 8MHz with a 3.3v FDTI adapter. This is the first time I have used Arduino, so please excuse any silly mistakes. Every time that I try to upload code, I encounter the following error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x40
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x40
Failed uploading: uploading error: exit status 1
I have tried multiple solutions, but none seem to work. I can confirm that I the correct COM port selected, the processor is correct and that I using the correct FDTI. Does anybody have a possible solution?
Wiring mistake? Did you connect the DTR pin of the adapter to the reset pin of the Pro Mini?
Incorrect serial port selected in the IDE? Disconnect the FTDI adapter from the PC, check the ports in the IDE. Next connect and check the ports again in the IDE. Do you get a new port?
For debugging, you can try a loopback test.
Disconnect the Arduino from the FTDI adapter.
Connec the RX to TX on the FTDI adapter.
Open the serial monitor and send some data.
You should receive the same data you sent.
@sterretje: Here is the wiring that I used, FDTI to Pro mini:
DTR - DTR
RXI - TXO
TXO - RXI
VCC - VCC
GND - GND
When I enter the IDE and go to Tools > Ports, I see COM1 and COM3 no matter whether the FDTI is plugged in.
I tried different computers, different cables, multiple wiring combinations, disconnecting all of the Pro Mini's electronics, Manual reset timing and a loopback test.
@sonofcy I have tried all of the processor options, yet none work
@jim-p I tried the loopback test, but it didn't echo anything. Could this mean that the FDTI Adapter is faulty?
I selected the other COM port (COM3) and tried the loopback test, and it worked. I also noticed that the LED was blinking when I was doing the test. However, I tried the upload again and I got the same error message.
No. But maybe the BOOT pin, it's been a while since I used one. I will pull out a ProMini tonight and give it a try, perhaps I am misremembering or confusing two different things.
On the Pro Mini the CTS signal is just a ground pin. Pro Mini always sends “clear to send” by grounding that pin on the FTDI adapter. You may try just connecting all 6 pins like horace does. Grounding the CTS will let the FTDI know it is OK to send to the Pro Mini. I don’t know if it matters because I always hookup like horace shows. I bought an FTDI Basic which is similar to the ones pictured except does not have all the additional pads on the sides. And the pins match up to the Pro Mini. I like to put female pins on the FTDI adapter, and male pins on the Pro Mini.