Erasing AT89S52 error

Thread Starter


Joined Nov 11, 2019
Hello everyone!

I recently bought a brand new AT89S52 and an USBasp programmer for practicing and studying. Took a lot of time to get everything working between drivers and USBasp firmwares until I finally made it but unfortunately, I think I accidentally wrote the lock bits because I didn't check the lock option. Now it says that Mode 3 lock is active with B1 = 1 and B2 = 0. I've hit the erase chip button many times but when I read the lock bits status, it always remain the same. Apparently, the new .hex files are working when I try to write but is there a way to really erase the chip or did I brick it? Thanks in advance!