Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 28th April 2008, 10:19 PM   (permalink)
Default PIC code protection

Hi,

This is a stupid yes/no question but the data sheet is not clear enough (or my English is not good enough) so I wanna ask before I try

If I "code protect" PICxxF... I know I'm not able to read the source back from the pic (or at least I should not be able to without some wiggling of the power that works on old 16c84 for e.g.) but, can I reprogram it with the new code ?

So to simplify, will this work:
1. I program 16F887 with "code protect all" option
2. I use the pic
3. I put the same 16F887 and reprogram with NEW code (without code protection"

thanks in advance

p.s. now the other question pop's up, if this is possible, is there a way to "lock the code in pic so it cannot be programmed again" ?
__________________
http://www.it4um.com
arhi is offline  
Reply With Quote
Old 28th April 2008, 11:20 PM   (permalink)
Default

Yes, you can reprogram it. The code protect is cleared when you erase the chip.

Mike.
Pommie is online now  
Reply With Quote
Old 28th April 2008, 11:49 PM   (permalink)
Default

thanks
I assumed so, but wanted to be 1/1 sure
__________________
http://www.it4um.com
arhi is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Basic 16F84 uaefame Micro Controllers 46 25th June 2008 08:06 AM
PIC18F2620 not being able to self-execute control code ssylee Micro Controllers 20 19th October 2007 04:58 AM
MP Lab Program Help bamafan54 Micro Controllers 3 19th October 2007 02:53 AM
pic programming.................. what next? tama182 Micro Controllers 76 7th March 2006 03:13 PM
Bootloader + code protection Dan East Micro Controllers 1 20th January 2006 09:27 PM



All times are GMT. The time now is 01:26 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.