EmbeddedRelated.com
Forums

Flash write/erase security for LPC23xx/24xx

Started by torben1962 February 24, 2009
Hi,

NXP has made a flash write/erase security library which makes it
possible protect a LPC23xx flash sector from being changed. This
protection is irreversible in the remaining CPU lifetime:

http://www.standardics.nxp.com/support/documents/microcontrollers/zip/
write.erase.secure.lpc2364.lpc2366.lpc2368.lpc2378.lpc2468.lpc2478.zip

Our problem is that this library is developed for gnu and ADS C-
compilers only. We have invested rather much into Keil uVision3 and
intend to develop a library for this compiler.

The write/erase protection is obtained by programming the "Index
sector" in for the flash, which is a part of the "flash ip hardware".
This feature is not published and I have contacted Paul Seerden from
NXP, which informed us that NXP will not disclose these information
for LPC23xx/24xx.

I have found a document for LPC2915/17/19 describing someting about
the flash "Index sector":

http://www.mt-
system.ru/documents/File/NXP_Philips/user.manual.lpc2915.lpc2917.lpc29
19.pdf

I guess this is OK for general understandings of the feature, but
when it comes to specific details we need the correct documents for
LPC2378 in order to make this feature ourselves.

Do anybody have some information regarding this flash "index sector"
feature for LPC23xx and if possible the source code for gnu or ADS
compilers, so we could develope/translate to a library for Keil
uVision3 ?

Kind regards
Torben W. Hansen
INS - R&D

An Engineer's Guide to the LPC2100 Series