Yahoo Groups archive

Lpc2000

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

Message

Re: Flash Security

2004-09-15 by Pete

Hi ya,
Well im not an expert (yet) using the philips chips but there 
certainly is a way to protect the onboard flash from being ripped 
off using jtag or similar.

I have you need to have the LATER silicon version (with the latest 
boot loader code in it 1.61) then there is a feature whereby once u 
program the device you can set a flag which this locks the onboard 
flash and prevents the code being read out of the JTAG or similar 
headers. The only way to unlock this mode (apparaently) is to do a 
full chip erase and write which would obviously loose your original 
program and thus protect it.
 
This code read protection feature requires Bootloader revision 1.61 
and by writing 0x87654321 to location 0x000001fc code read rotection 
is enabled.

once this is enabled, the following jtag external memory boot and 
ISP commands are dispabled:
read memory, write to ram, go, copy ram to flash.

In application programming is not affected.

therefore the idea is to develop your system, then when you are 
happy with the code write the special value to the regsiater and it 
is locked,.... but is there a way around it???? - perhaps! but not 
looked into it in that much detail yet...

hope this helps,

kind regards

pete

--- In lpc2000@yahoogroups.com, George Powell <georgelpowell@y...> 
wrote:
> Interesting point. The only reasonably sure way I know is to 
download programs into ram and run them. Unfortunately I only know a 
few Motorola chips that do this and the Philips chips don't do this. 
You need a battery too.
>  
> We live in an age of terrorism and part of the problem may be the 
government making certain requirements of chip manufacturers that 
can be exploited by groups with sophisticated equipment. There may 
even be a back door key to steal the ram too.
>  
> My designs have been quadruply ripped of in China so if you find a 
way to provide adequate protection, I for one would like to know. I 
am not a security expert, just a victim.
>  
> George Powell
>  
>  
> 
>  
> 
> funes_armando <funes_armando@y...> wrote:
> Hi all, 
> 
> Can somebody tell me how the lpc2104 protection against flash 
memory 
> reading is?.
> 
> If my competitor is doing reverse engineering on my products, can 
he 
> read the lpc2104 flash memory entering it into ISP mode?
> 
> Thank you very much
> 
> Armando
> 
> 
> 
> Yahoo! Groups SponsorADVERTISEMENT
> 
> 
> ---------------------------------
> 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. 
> 
> 
> 		
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> 
> [Non-text portions of this message have been removed]

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.