EmbeddedRelated.com
Forums

Code protection mechanisms for Microcontroller

Started by Arun Kumar October 19, 2004
I need information on code protection mechanisms for PIC18FXX2 series
of microcontrollers.  Information on general code protection
techniques on other microcontrollers will also be helpful.


Arunkumar
Arun Kumar wrote:

> I need information on code protection mechanisms for PIC18FXX2 series > of microcontrollers. Information on general code protection > techniques on other microcontrollers will also be helpful.
Well, there is a copy bit that disables copying the content. Sure with sufficient effort that bit can be removed. This would involve opening the part and physically removing this bit. From the required gear, I doubt many are able to do it. Rene -- Ing.Buero R.Tschaggelar - http://www.ibrtses.com & commercial newsgroups - http://www.talkto.net
Arun Kumar wrote:
> I need information on code protection mechanisms for PIC18FXX2 series > of microcontrollers. Information on general code protection > techniques on other microcontrollers will also be helpful. > > > Arunkumar
I've never seen PIC code that was worth protecting.
"Bryan Hackney" <bh.remove@bhconsult.com> wrote in message
news:k39dd.25036$rY1.21621@fe2.texas.rr.com...
> Arun Kumar wrote: > > I need information on code protection mechanisms for PIC18FXX2 series > > of microcontrollers. Information on general code protection > > techniques on other microcontrollers will also be helpful. > > > > > > Arunkumar > > I've never seen PIC code that was worth protecting.
LOL! Rufus
>Subject: Re: Code protection mechanisms for Microcontroller >From: "Rufus V. Smith" nospam@nospam.com >Date: 20/10/2004 15:15 GMT Standard Time >Message-id: <1098281729.6NeIzvBe8jo2JOcxrNpShQ@teranews> > > >"Bryan Hackney" <bh.remove@bhconsult.com> wrote in message >news:k39dd.25036$rY1.21621@fe2.texas.rr.com... >> Arun Kumar wrote: >> > I need information on code protection mechanisms for PIC18FXX2 series >> > of microcontrollers. Information on general code protection >> > techniques on other microcontrollers will also be helpful. >> > >> > >> > Arunkumar >> >> I've never seen PIC code that was worth protecting. >
Well there is a logical reason for that, see if you can work it out by yourself.
"CBarn24050" <cbarn24050@aol.com> wrote in message
news:20041020113432.29586.00002411@mb-m02.aol.com...
> >Subject: Re: Code protection mechanisms for Microcontroller > >From: "Rufus V. Smith" nospam@nospam.com > >Date: 20/10/2004 15:15 GMT Standard Time > >Message-id: <1098281729.6NeIzvBe8jo2JOcxrNpShQ@teranews> > > > > > >"Bryan Hackney" <bh.remove@bhconsult.com> wrote in message > >news:k39dd.25036$rY1.21621@fe2.texas.rr.com... > >> Arun Kumar wrote: > >> > I need information on code protection mechanisms for PIC18FXX2 series > >> > of microcontrollers. Information on general code protection > >> > techniques on other microcontrollers will also be helpful. > >> > > >> > > >> > Arunkumar > >> > >> I've never seen PIC code that was worth protecting. > > > > Well there is a logical reason for that, see if you can work it out by > yourself.
roflmao! you're killing me! I hadn't had this on my list of humor newsgroups, but now.. Rufus
"Arun Kumar" <smsabu2002@yahoo.com> wrote in message 
news:84afc8e.0410190359.47d0edfb@posting.google.com...
>I need information on code protection mechanisms for PIC18FXX2 series > of microcontrollers. Information on general code protection > techniques on other microcontrollers will also be helpful. >
That's exactly what my PhD thesis is about. There is nothing specifically on PIC18F series but Microchip hasn't done much progress in that area since their last 0.5-micron approach in PIC16F877A. Thesis covers security and code protections in wide range of microcontrollers (PIC, SX, 68HC05, H8, ST62, Z86 etc.) and some smartcards. dsPIC series though is slightly better as it employs 3M 0.35-micron process. As soon as I pass my exam and convert thesis into University Technical Report it'll be available on-line for everyone. Here are some links: http://www.cl.cam.ac.uk/~sps32/phd_summary.pdf http://www.cl.cam.ac.uk/~sps32/mcu_lock.html http://www.cl.cam.ac.uk/~sps32/ Sergei
"Sergei Skorobogatov" <sps32@cl.cam.ac.uk> wrote:

[...]

>That's exactly what my PhD thesis is about. There is nothing specifically on >PIC18F series but Microchip hasn't done much progress in that area since >their last 0.5-micron approach in PIC16F877A. Thesis covers security and >code protections in wide range of microcontrollers (PIC, SX, 68HC05, H8,
who uses 68HC05 (instead of 68HC08) these days? Was this a typo or did you really test the '05? Oliver -- Oliver Betz, Muenchen (oliverbetz.de)
I tested 68HC05, 68HC11 and 68HC08 as well, but the highest security 
protection I've ever seen in Motorola microcontrollers was in MC68HC705C9A 
(I'm not talking about MC68HC05SC27 which is certainly better secured than 
any of MC68HCxx).

In general, MaskROM devices has higher protection than EPROM/OTP versions. 
And EPROM/OTP is better secured than their EEPROM/Flash successors. Of 
course that comparison is valid withing the same family of microcontrollers, 
e.g. PIC16CR57 is better than PIC16C57 and PIC16C622 is better than 
PIC16F628.

Sergei


"Oliver Betz" <OBetz@despammed.com> wrote in message 
news:417d5865.17074877@z1.oliverbetz.de...
> "Sergei Skorobogatov" <sps32@cl.cam.ac.uk> wrote: > > [...] > >>That's exactly what my PhD thesis is about. There is nothing specifically >>on >>PIC18F series but Microchip hasn't done much progress in that area since >>their last 0.5-micron approach in PIC16F877A. Thesis covers security and >>code protections in wide range of microcontrollers (PIC, SX, 68HC05, H8, > > who uses 68HC05 (instead of 68HC08) these days? > > Was this a typo or did you really test the '05? > > Oliver > -- > Oliver Betz, Muenchen (oliverbetz.de)