Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | RE: Code read protection in the LPC2194

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Code read protection in the LPC2194 - gregdeuerling - Apr 25 14:19:00 2005


Hello,

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?

Thanks...





(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: Code read protection in the LPC2194 - Robert Adsett - Apr 25 14:55:00 2005


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/




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Code read protection in the LPC2194 - Greg Deuerling - Apr 25 15:20:00 2005

> >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@egad...
Personal: gdeuerling@gdeu...

 
________________________________________
From: lpc2000@lpc2... [mailto:lpc2000@lpc2...] On Behalf
Of Robert Adsett
Sent: Monday, April 25, 2005 1:56 PM
To: lpc2000@lpc2...
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




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Code read protection in the LPC2194 - Stefano Coluccini - Apr 26 5:55:00 2005



Hi all,
I've seen that you talk about flash protection on LPC2194; anyone of you
know if the same is applicable to 2106 as well ? The LPC2194 user manual
say that it depends on the bootloader version so I've thought that it could
be also for the 2106 (the user manual of the 2106 is older ... )

Thanks,
Stefano.




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

RE: Code read protection in the LPC2194 - Robert Adsett - Apr 26 7:19:00 2005

At 11:55 AM 4/26/05 +0200, Stefano Coluccini wrote:
> I've seen that you talk about flash protection on LPC2194; anyone of you
>know if the same is applicable to 2106 as well ? The LPC2194 user manual
>say that it depends on the bootloader version so I've thought that it could
>be also for the 2106 (the user manual of the 2106 is older ... )

No, the 2104/5/6 do not have any read protection. I'm just as happy that
way but others feel differently.

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/




(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )