My circuit is as seen and I hope there is no error with the wiring. I'm using an ATmega328P. The error suggests that the programmer is not responding and ten attempts issuing not in sync code. There isn't any bootloader issue as pin 13 LED flickers as soon as I plug in USB cable. I have selected the following board specification in the Arduino IDE:
- Board: Arduino Uno
- Programmer: Arduino as ISP
Schematics I followed:
ATmega pinout reference:
Connections:
Pin 1: 10k resistor to 5V, 0.1uF capacitor pin series with DTR of FTDI
Pin 2: Tx of FTDI
Pin 3: Rx of FTDI
Pins 9 & 10: 16 MHz oscillator and 22pf capacitor in series
Pins 7, 20, 21: 5v
Pins 8, 22: ground
Pin 19: status LED (similar to pin 13 LED on standard Arduino Uno)
I used both ways of uploading (directly and upload using programmer) and nothing worked. The bootloader in the chip is that of the Arduino Uno and it was burned using another Uno board. SPI programming using another Uno board works fine. I tried different combination of programmer in IDE but futile. The capacitor for reset is 0.1 µf and it seems that connections are fine as there was no issue with uploading using another Uno board as ISP.I would love if anyone can help me out with this.
Related images are:
PS: [Post comment changes]
-I added a 47uF and 0.1uF caps for cleaner supply to the chip based on suggestions in comment section.
- board with changes[by pass capacitors ,resistor visible on pin 19]
[
]5 - IDE specifics

Solution-
credits- @Nickgammon
had problem with bootloader which was initially uploaded . later solved it by following instructions from NickGammon Forum - http://www.gammon.com.au/breadboard
related images-






