Isaac Marino Bavaresco wrote: > Em 25/4/2010 06:35, ivp escreveu: > > >> But I see no _CP_OFF ? >> > > Why? Is it mandatory to set CP off? > > Perhaps he wants to keep his firmware private? > > I personally always keep the code-protection on, even when I'm debugging > with ICD2/3. > > When in debug-mode and programming the PIC, MPLAB-IDE shows a warning > telling that it cannot debug with code-protect on and asks you to click > a button to disable it and proceed with the programming. I then click > the button. > > I accept this annoyance so there is no danger that I ship a PIC with > code-protection off. > > > Best regards, > > Isaac > > How does verify work when you have CP? Or does it? Curious, but too lazy to go and read up ... Is CP circumventable on some older pics? Can you overwrite a small portion of a CP chip and have that code read the rest of the Flash Program? Or is erase the Chip the only possible programming operation? "Security by obscurity isn't security" (Probably a quote from the guy that knows Bob and Alice's secret keys) -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist