I swear to god I've checked the wiring a hundred times. I can successfully program chips with the 6 pin connector. When I try to use the 10 pin connector though, I get the dreaded "rc=-1"
Edit: I just got it working on a breadboard. My problem is that I can't get this to work on a fixture I've created to connect a 10-pin header to the atmega324P. Quick question:
Are you supposed to connect all the GND pins on a 10-pin header together? Would connecting them be the cause of the error I'm getting? I didn't connect the GND pins when I got the 10 pin header to work on the breadboard

