Problem uploading sketch to a custom arduino

Hello everyone. So im doing a proyect where i want to integrate an arduino on my own pcb, so i've decided to use a FT232 (the actual ic, not and FTDI board like this) and a ATMega328P. I burned a bootloader to the ATMega with the help of an avr shield and the Arduino IDE and now im using this circuit:
Windows show the COM port correctly (COM4 in my case), but when i try to upload a sketch (a simple one, just a LED blink with serial write of the state of the LED) the Arduino IDE spit me this error:

avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x00
avrdude: initialization failed, rc=-1

I've tried a lot of things like changeing the board, change the signature of the ATMega, burn the bootloader again.... and at this point im honestly lost.

Hope you can guys help me, and if there is some info that i missed just let me know. Thx

Looks like you Rx & Tx lines are crossed!

Maybe I drew wrong the sketch, but on my circuit they are ok.
I changed the TX/RX cables so many times and when i do the Arduino IDE simply cant see the ATMega specs and says avrdude not responding

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