I have tested a circuit with an arduino nano. Afterwards I created a pcb with the ATMega328 on it and with the exactly same circuit. If I try to upload my sketch now I get this