Continue to Site

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.

code and eeprom protection on 18F4620

Status
Not open for further replies.

Urahara

Member
Hi

Wanted to play with the code protection and eeprom protection so that it cannot be read by others. Added these to my C18 codes but it failed:

#pragma config CP0 = ON
#pragma config CP1 = ON
#pragma config CP2 = ON
#pragma config CP3 = ON
#pragma config CPD = ON

Without them, project was working fine.

Project has some reading and writing onto the 18F4620's EEPROM (as well as the 24LC32 but don't think the above protects it, nor is it necessary at the moment).

Have I done something wrong?

Advice, comments much appreciated. Thks! :D
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top