# Atmega328p not programming

**URL:** <https://forum.arduino.cc/t/atmega328p-not-programming/1063187>\
**Category:** General Guidance\
**Created:** [December 8, 2022, 7:55pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187 "2022-12-08T19:55:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaouser](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gaouser/32/769504_2.png) [@gaouser](https://forum.arduino.cc/u/gaouser)\
**Post date:** [December 8, 2022, 7:55pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/1 "2022-12-08T19:55:02Z")

</div>

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:

```cpp
Ç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.

```

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [December 8, 2022, 7:58pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/2 "2022-12-08T19:58:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [December 8, 2022, 8:30pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/3 "2022-12-08T20:30:12Z")

</div>

> [@gaouser](#):
>
> 5V=NC  
> GND=NC again

???????

As @ [groundFungus](https://forum.arduino.cc/u/groundFungus) says, schematics. Often **what is not told causes the issue**.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [December 8, 2022, 8:37pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/4 "2022-12-08T20:37:48Z")

</div>

> [@gaouser](#):
>
> Its unplugged from an Uno

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.

---

<div class="post-metadata">

**Author:** ![lastchancename](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/lastchancename/32/215426_2.png) [@lastchancename](https://forum.arduino.cc/u/lastchancename)\
**Post date:** [December 8, 2022, 9:13pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/5 "2022-12-08T21:13:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hammy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hammy/32/238813_2.png) [@hammy](https://forum.arduino.cc/u/hammy)\
**Post date:** [December 8, 2022, 9:20pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/6 "2022-12-08T21:20:44Z")

</div>

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 “

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [June 6, 2023, 9:21pm UTC](https://forum.arduino.cc/t/atmega328p-not-programming/1063187/7 "2023-06-06T21:21:12Z")

</div>

Closed on June 6, 2023, 9:21pm UTC

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