Bala thank you very much for clarification , this has always been a worry when programming. best regards Luis -----Original Message----- From: Bala Chandar [mailto:Bala.Chandar@AVENTIS.COM] Sent: 25 July 2003 13:34 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: No longer Disgruntled PIC Beginner Luis, Code protection is to basically prevent the chip being read and thus helps in preventing your code being stolen. What you are saying pertains to a JW device. If you program a JW (windowed) PIC with the code protection on, then you cannot reprogram it. In the case of flash devices however, they can be erased and reprogrammed whether the code protection is on or off. Regards, Bala > -----Original Message----- > From: Luis Moreira [mailto:Luis.Moreira@JET.EFDA.ORG] > Sent: Friday, July 25, 2003 5:47 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: No longer Disgruntled PIC Beginner > > > Hi Bala > the previous message was for you. > I thought that the code protect would not let me reprogram the PIC... > Luis > > -----Original Message----- > From: Bala Chandar [mailto:Bala.Chandar@AVENTIS.COM] > Sent: 25 July 2003 13:10 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: No longer Disgruntled PIC Beginner > > > Patrick Richards wrote: > > > ... > > All of these chips worked fine for me this week. > > I believe I did one of two things to the first set of chips > > that did not work: > > Either (1) I electrically zapped the chips > > by wiring them up wrong or by exposing them to static, or > > (2) I programmed the chips with Code Protection. > > ... > > Hi Patrick, > > Congrats and welcome to PICLIST. > > Wiring up a PIC the wrong way and undue exposure to static can cause > permanent damage a PIC. But if you program a flash PIC with the code > protection on, in no way can the PIC be damaged. When you > want to reprogram > it, you simply erase it and burn the new code into it. > > Regards, > Bala > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu