FTDI232 programming atmega328p arduino ide error

Hey guys, i have tried to upload the blink sketch from arduino ide with the ft232rl programmer to the atmega328p but the same error message keeps appearing:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x09
The atmega came with bootloader, 16MHz crystal.



10k resistor on pin1, 2x 22pF in line with crystal to ground, 100nF capacitor on pin1 connected to the DTR pin of the FTDI and RX TX connected to pin2 and 3 of the atmega. Vcc to + ground to -.

I run the upload the sketch on arduino ide and my biggest nightmare right now appears:

I tried everything and nothing... that's why i opened this topic, please help!!

Have you tried adding the recommended 0.1uF caps across both Vcc and Gnd pins?

bro, the LED started blinking right away! Thank you so much!! I feel like a noob ahahah you are the greatest

celebrated too early ahahah, the led does blink when i plug in the fdti, and when it compiles on arduino ide but gets stuck on uploading and keeps sending the same error message

Hi @joaopgomes129999.

From what I can see looking at your pictures, I think you got the connections backwards. You must connect the RX pin of the FT232R module to pin 3 of the ATmega328P, and the TX pin of the FT232R module to pin 3 of the ATmega328P.

We must always make UART connections as RX-TX, TX-RX. The reason is that "RX" stands for "receive" and "TX" stands for "transmit". The pin that transmits must be connected to the pin that receives and the pin that receives connected to the pin that transmits.

1 Like

your right man, i came here to reply just after realizing exactly that and testing :joy: rookie mistake, but happy to overcome the problem!! Thanks for your help!

You are welcome. I'm glad it is working now.

Regards, Per

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