I can't Upload a code to this AVR chip!?!!!!
I'm trying to upload a code to an atmega48p (on the chip it says atmega48pv-10pu) using avrdude and it just won't do it! It always says mismatch signiature, and I bricked one atmega48p already by bypassing it (somehow wrote over fuses and they're screwed). I'm under a lot of pressure and I need to upload this code asap! Right now I'm compiling the code as atmega48 because if I compile it as a atmega48p, I get like 92 errors in my code for some reason. I also upload it as an atmega48 because there is no option for an atmega48p. I know my programmer works because I can upload a code to an attiny85. NEED HELP FAST