I made myself a pcb with an ATmega328p on it. I can program it with isp and burned the arduino bootloader for now. If I try programming it via ftdi I get the error "avrdude: stk500_getsync(): not in sync: resp=0x00", but with random responses 0x00 being one of them. When I use a test sketch the ATmega can receive and send serial data via the ftdi. I tried several solutions also found on stackexchange, but they did not help at all. For example resetting the chip by hand and trying to program then. I didn't try a different value resistor as some people say that 1k would also work. So I am really out of ideas on what could be the problem. Here is the schematic:
If you need any more info just ask. I really hope you can help me figuring this out.