I just got some 16F57's in (im using these for the price and number of I/O pins), and for some reason MPLAB reads these devices as already programed and copy protected even though they are brand new from digikey.
I go and try to erase then, and the devices do not want to erase. MPLAB doesnt give me an error when erasing the device, but I know they are not erased because I do a check and it reports this:
When I try to program over it anyway, it gives me this error:
I've tried to disable this option and manually put it to overwrite all the memory ranges but I still get that same error.
Anybody ever run into this program or anything to suggest I'd try?
I go and try to erase then, and the devices do not want to erase. MPLAB doesnt give me an error when erasing the device, but I know they are not erased because I do a check and it reports this:
Code:
Device is NOT blank:
Program Memory
Configuration Bits
IDs
When I try to program over it anyway, it gives me this error:
Code:
Program Memory is code protected. Reprogram the entire
part. If "Auto select memory areas and range" on the
Memory Ranges tab of the programmer settings is enabled,
it must be disabeled before proceeding.
I've tried to disable this option and manually put it to overwrite all the memory ranges but I still get that same error.
Anybody ever run into this program or anything to suggest I'd try?