PDA

View Full Version : F452 Code Protect



onur
- 31st July 2006, 11:32
Hi

I m using pic18f452 and i want protect my code. f 452 Datasheet says 3 protect way. I try all of them.

When I protect the code with CPB its working, but dataeeprom cant read and write.

I want code protect only for program memory what must i do?
Thanks.

sougata
- 3rd August 2006, 19:21
Hi,

Please leave the bootloader (the first 512bytes) unprotected. This might be a PBP limitation but I did not find any workarounds other than mentioned.

onur
- 4th August 2006, 09:18
I have solved my problem.Only cp0 and cp1 protected is enough.