Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

How can I protect my soft on lpc21xx ?

How can I protect my soft on lpc21xx ?

2005-04-18 by Jaromir

Hello,

I cant find any information about protecting software on lpc21xx.
I use lpc21isp or sometimes Philips Flash Utility.

Jaromir
_________________________________________________________________
List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )


[Non-text portions of this message have been removed]

Re: [lpc2000] How can I protect my soft on lpc21xx ?

2005-04-18 by 42Bastian Schick

> I cant find any information about protecting software on lpc21xx.

AFAIK there is no way to disable JTAG permantly. You can make hackers-life 
only
a bit more complicate by disabling JTAG upon boot.

BTW: Please make a new email instead of replying and changing subject as 
this will
screw up threaded views. Thanks.


-- 
42Bastian Schick

Re: [lpc2000] How can I protect my soft on lpc21xx ?

2005-04-18 by Jaromir

But how can I disable reading by bootloader (rs232 on uart0)?

-- 
Jaromir
_________________________________________________________________
List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )


[Non-text portions of this message have been removed]

Re: [lpc2000] How can I protect my soft on lpc21xx ?

2005-04-18 by 42Bastian Schick

Jaromir <jaromir.kajdaniak@...> schrieb am Mon, 18 Apr 2005 
10:28:36 +0200:

>
> But how can I disable reading by bootloader (rs232 on uart0)?

You may replace the boot-loader with your own one is one idea that comes 
to mind.

-- 
42Bastian Schick

Re: How can I protect my soft on lpc21xx ?

2005-04-18 by lpcarmed

Code protect is available on the LPC211x and higher, using bootloader
version 1.61 or higher. Take a look at message 2619. The first
generation 48 pin devices are not protected. One code protect is in,
it kills the JTAG and the read/execute function of the boot loader.

--- In lpc2000@yahoogroups.com, "Jaromir" <jaromir.kajdaniak@z...> wrote:
Show quoted textHide quoted text
> Hello,
> 
> I cant find any information about protecting software on lpc21xx.
> I use lpc21isp or sometimes Philips Flash Utility.
> 
> Jaromir
> _________________________________________________________________
> List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )
> 
> 
> [Non-text portions of this message have been removed]

Re: [lpc2000] How can I protect my soft on lpc21xx ?

2005-04-18 by Robert Adsett

At 08:52 AM 4/18/05 +0200, Jaromir wrote:
>I cant find any information about protecting software on lpc21xx.
>I use lpc21isp or sometimes Philips Flash Utility.

Check the users manual.  There is a flash location (just above the 
exception vectors) that can have a specific value written to it to provide 
read protection. AFAIK it disables JTAG as well but you would have to check 
that.  It is not, however, available on the 2104, 2105 or 2106.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Re: [lpc2000] How can I protect my soft on lpc21xx ?

2005-04-18 by Robert Adsett

At 11:14 AM 4/18/05 +0200, 42Bastian Schick wrote:
>Jaromir <jaromir.kajdaniak@...> schrieb am Mon, 18 Apr 2005
>10:28:36 +0200:
> > But how can I disable reading by bootloader (rs232 on uart0)?
>
>You may replace the boot-loader with your own one is one idea that comes
>to mind.

I haven't heard of anyone doing that.  Wouldn't it be far simpler just to 
enable the protection built-in (unless of course you are using a 2104/5/6)?

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Re: [lpc2000] Re: How can I protect my soft on lpc21xx ?

2005-04-18 by 42Bastian Schick

> Code protect is available on the LPC211x and higher, using bootloader
> version 1.61 or higher. Take a look at message 2619. The first
> generation 48 pin devices are not protected. One code protect is in,
> it kills the JTAG and the read/execute function of the boot loader.

I have a LPC2294 here, which "kill" JTAG, but i can break on reset and 
then can
read the flash.

Ah, maybe, I just think I stop on 0, but actually stop there the second 
time because
my flash does not contain a magic ?!

-- 
42Bastian Schick

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.