I have my atmega328p on a breadboard with an 8Mhz chip and the arduino IDE set to Pro Mini 3.3v 8Mhz although I am powering it with 5v for uploading. Then I have the serial lines and the reset line connecting to the arduino board that has no chip seated. I also have D13 connected from the breadboard to the arduino because I found that helps. However it will work sometimes and sometimes it won't. Right now it wont. And it continues to not work even after restarting everything. I have the correct com port selected. I always get :
avrdude: stk500_getsync(): not in sync: resp=0x00
Whenever I do get it to work it's always randomly, I can't pinpoint what fixes it. Am I missing anything here? I've done this quite a few times and it's always so finicky.