Electrical – Can’t enter Programming Mode Atmel Studio

atmegaatmelatmel-studio

I have a custom board based on the ATmega328. I want to program it usign Atmel ICE Basic ISP interface, to make sure that I'm connected to the target I've tried to read it ID, I get the following :
enter image description here

Since uC isn't programmed before, and I'm using only Atmel Stuff to that I don't know where the problem is, and how may solve it.
the uC is not wired to anything beside the Pull-up resistor and the and a capacitor as followed :

enter image description here

any idea how may solve this ?

thanks in advance !

Update

uC schematic

enter image description here

the programer is connected to the SPI

Best Answer

I think the pull-up resistor to your reset pin is connected on the wrong side of the DTR capacitor.

You'd probably want to connect it as below, although I didn't know about DTR until now...

enter image description here