I added a 47uF and 0.1uF caps for cleaner supply to the chip based on suggestions in comment section. 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. I tried different combination of programmer in IDE but futile. SPI programming using another Uno board works fine. The bootloader in the chip is that of the Arduino Uno and it was burned using another Uno board.
I used both ways of uploading (directly and upload using programmer) and nothing worked. Pin 19: status LED (similar to pin 13 LED on standard Arduino Uno)
Pins 9 & 10: 16 MHz oscillator and 22pf capacitor in series RS485 Converter Cable FTDI Chip to 4 Wires 6 Cores End Connector Wiring Pinout USB Serial RS485 Cable Support Arduino Win10 Win8. Pin 1: 10k resistor to 5V, 0.1uF capacitor pin series with DTR of FTDI I have selected the following board specification in the Arduino IDE: Arduino UNO is a microcontroller board based on the ATmega328P ().It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator (CSTCE16M0V53-R0), a USB connection, a power jack, an ICSP header and a reset button. There isn't any bootloader issue as pin 13 LED flickers as soon as I plug in USB cable. The error suggests that the programmer is not responding and ten attempts issuing not in sync code. My circuit is as seen and I hope there is no error with the wiring.