How to CODE protect PIC18F452?

Status
Not open for further replies.

kasamiko

Member
Is there a way to code protect PIC18F452 on source code? I was trying to code protect during programming but the program wont run, and I'm lost with so many protect bits..
 
You simply set the config fuses in your source code accordingly, is there some specific reason you want to protect the programmed device? (generally it's a BAD idea).
 
Hi,

But I don't have any idea on how to do it on PIC18 Simulator. I tried setting CP0-CP3 during programming but the project wont work after setting that bits.
Actually I did it on PIC16F877A with no problem and curious why it wont work with PIC18F452.

BR
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…