Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] Code read protection in the LPC2194

2005-04-25 by Greg Deuerling

> >I would have thought the Philips LPC2000 flash utility would have
> >a option that sets a protection bit after its done flashing the
> >LPC2194.  The closest thing I've seen is message 2619:
> >http://groups.yahoo.com/group/lpc2000/message/2619
> >Can anyone help me with some pointers?

> That's pretty well the sum total of it.  The flash is read protected
> by having a specific location programmed to a specific value.  I
> suspect everyone who uses it has it in their startup since the
> location is just above the exception vectors.

Hi Robert, thanks for the reply!

As it usually happens, pretty much after I pushed the button to post my
question I looked in the most recent LPC21xx/22xx user guide.  On page 269
there is a VERY short paragraph on Code Read Protection.  This should be
very easy to do with the Keil compiler.  All I should need is:
const unsigned int CodeReadProtect _at_ 0x000001Fc = 0x87654321;

I'll give it a try and see if it works...

Greg Deuerling
Fermi National Accelerator Laboratory
Feynman Computing Center, Room 370, MS 368
P.O.Box 500 Batavia, IL 60510
(630)840-4629     FAX  (630)840-5406
Electronic Systems Engineering Group
Work: egads@...v
Personal: gdeuerling@...

  
________________________________________
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf
Of Robert Adsett
Sent: Monday, April 25, 2005 1:56 PM
To: lpc2000@yahoogroups.com
Subject: Re: [lpc2000] Code read protection in the LPC2194


At 06:19 PM 4/25/05 +0000, gregdeuerling wrote:
>I know the LPC2196 with Bootloader 1.61 or above supports code read
>protection (CRP).  I've searched Philip's site, I've searched the
>LPC2000 Yahoo groups, and I searched the Keil compiler site and have
>not found any REAL info on how to protect the code in my LPC2194 from
>being read out.  Is there any documentation out there on how to do
>this?
>
>I would have thought the Philips LPC2000 flash utility would have a
>option that sets a protection bit after its done flashing the LPC2194.
>
>The closest thing I've seen is message 2619:
>http://groups.yahoo.com/group/lpc2000/message/2619
>
>Can anyone help me with some pointers?

That's pretty well the sum total of it.  The flash is read protected by 
having a specific location programmed to a specific value.  I suspect 
everyone who uses it has it in their startup since the location is just 
above the exception vectors.

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/


________________________________________
Yahoo! Groups Links
• To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
• To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
  
• Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Attachments

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.