I have a little pcb which uses atmega328 and i've been trying to program it but i constantly get error
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
which 100% works because i successfully programmed arduino pro mini (atmega328 5v) with it, but for some reason i can't program the uc on my pcb, schematic is the following
I tried almost everything all the connections are correct (rx to tx, rx to tx), i chose arduino pro mini (atmega328 5v) and avrisp as programmer, any idea what might be wrong?, the only thing i can try is replace the uc, do you think the aref connected directly to 5v instead through a 100nf capacitor might be a problem