Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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..:(
 

Nigel Goodwin

Super Moderator
Most Helpful Member
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).
 

kasamiko

Member
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.

Latest threads

Top