Atmega328p not programming

Atmega328p not programming using FTDI,
Connection:
Rx=Atmega TX
Tx=Atmega RX
5V=NC
GND=NC again

problem happens when programming it (takes a lot of time)
Its unplugged from an Uno that i know it works, so no need for bootloader.

IDE says:

Çalışmanız programın 1630 bayt (5 %) saklama alanını kullandı. Maksimum 32256 bayt.
Global değişkenler belleğin 196 byte kadarını  (9%) kullanıyor. Yerel değişkenler için 1852 byte yer kalıyor. En fazla 2048 byte kullanılabilir.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3c
Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

So only 2 wires (RX and TX) are connected from the FTDI to the mega328?

Please post a schematic. Written descriptions are always more ambiguous than a drawing. Hand drawn, photographed and posted is fine. Include all pin names/numbers, components, their part numbers and/or values and power supplies.

???????

As @ groundFungus says, schematics. Often what is not told causes the issue.

Is the chip in a breadboard? Does it have the 16MHz crystal and caps? Does it have the bypass caps from Vcc to ground and from AVcc to ground? What are you using to program it, another Uno? do you have a pullup on the reset pin? Do you have a reset switch installed? All those questions need answers. A good schematic will answer most if not all.

If you’re using tx/rx to upload, yes you do need a bootloader, and the usual uploader like avrdude in the IDE.

Ground/0V and +5 are rather important too.

And … a capacitor from the DTR pin of the ftdi to the reset pin in the processor .

As said … 16MHz Crystal and two 22pF capacitors .

Google “ minimal Arduino “

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