PDA

View Full Version : Setting Code Protect and Data Protect



Peter1960
- 28th March 2006, 23:11
Hi
Settings these bits will

1. Protect your Code from being read
2. Protect your Data from being read, but

Can you still re program your PIC ?

cheers

Pete

Peter1960
- 28th March 2006, 23:17
I tried it with my programmer PICALL and it worked.

I tried it with a PIC16F628A.

Maybe this post should be transferred to FAQ ?

thnks for all persons whom have responded to all my pic q in the past.

cheers

Pete

Bruce
- 29th March 2006, 00:35
Setting code protection ON just keeps folks from reading your firmware. It
does not prevent anyone from erasing a flash-based PIC.

You can re-program most "flash-based" PIC's after a full erase. Even after it's
been programmed with code protect set.

OTP's (one time programmable's) of course are a different story.