jonw0224
Full Member level 4
code protect pic
Hi,
I was wondering about erasing a PIC that was programmed with the code protect enabled. I don't want to read the code, I was just thinking that if I accidentally enabled code protect, could I reprogram the chip? I found these two documents on the microchip website that show you can erase a flash pic where the code protection was enabled and give the algorithm to do so...
https://ww1.microchip.com/downloads/en/DeviceDoc/config.pdf
https://ww1.microchip.com/downloads/en/DeviceDoc/39025f.pdf
Basically, you can do a bulk erase, but the procedure is different from a bulk erase if code protection is not enabled. My questions are:
Has anyone actually done this?
Are ICProg, WinPic800, or David Tait's FPP smart enough to erase with the appropriate procedure depending on the status of the code protect fuses?
I know, I could try with a pic and my softwares, but I wanted to ask before I tried it. Thanks for your help.
Hi,
I was wondering about erasing a PIC that was programmed with the code protect enabled. I don't want to read the code, I was just thinking that if I accidentally enabled code protect, could I reprogram the chip? I found these two documents on the microchip website that show you can erase a flash pic where the code protection was enabled and give the algorithm to do so...
https://ww1.microchip.com/downloads/en/DeviceDoc/config.pdf
https://ww1.microchip.com/downloads/en/DeviceDoc/39025f.pdf
Basically, you can do a bulk erase, but the procedure is different from a bulk erase if code protection is not enabled. My questions are:
Has anyone actually done this?
Are ICProg, WinPic800, or David Tait's FPP smart enough to erase with the appropriate procedure depending on the status of the code protect fuses?
I know, I could try with a pic and my softwares, but I wanted to ask before I tried it. Thanks for your help.