Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Erasing a pic with code protect

Status
Not open for further replies.

jonw0224

Full Member level 4
Joined
Nov 22, 2004
Messages
211
Helped
45
Reputation
90
Reaction score
14
Trophy points
1,298
Location
USA
Activity points
2,528
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.
 

pic code protect bulk erase

Hi,

Dont know about the tools that you are using, but ICD-2 can erase a protected PIC. The code protection is for the read only. If you want to re-write on the PIC you have no problem, as long as you erase the PIC completle.

Good luck.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top