For some reason I can't program my AtTiny4313. I programmed it once just fine. However, I was trying to use the reset pin by accident for an output pin. (I've read this can make it not programmable by normal programmers?)
Anyway, so I go to program it and it goes through the "programming" stage just fine.
But it won't verify it. I can read from the MCU, and output it to a file and it doesn't match my HEX file (even though it said programming was successful.) I can also change fuses around and do all that kind of stuff.
I've (obviously) taken out my Reset pin mistake from the program but still, I cannot program it. I've even tried with a brand new MCU, same problem. I've checked my connections, SCK, MOSI, MISO, GND, and POWER are all fine. I've even hooked up JUST the Tiny4313 and required wires to program it. Nothing. It won't program it. What did I break?
I can program my atmega8 just fine.
EDIT: I programmed it with avrdude using the 2313 "device". It programmed just fine, I then "read" the 4313 in avrstudio and it confirmed that the device WAS programmed. WTF is going on? AVRStudio DID start acting up today, giving me a "search for path" box when I try to start debugging. It's never done that before, but I heard it was a problem with WinAVR so I uninstalled then reinstalled both winavr and avrstudio to no avail.