DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
481 of 571
NXP Semiconductors
UM10316
Chapter 28: LPC29xx Flash/EEPROM
register to ‘1’ (see
) before the Reset Timer times out.
If the counter has
expired before the SEC_DIS is set, the JTAG will remain locked
. The counter runs off
OSC1M, and the counter register is 1024 bits.
The SEC_STA register can be monitored to determine the current status of JTAG security.
The DIC_FID register bit 31 indicates the state of security for the LPC29xx regardless of
the override in the SEC_DIS register.
2.6.4 Flash memory sector protection
Sector protection is a feature for setting sectors to Read-Only. It is possible to enable this
feature for each individual sector. Once it has been enabled it is no longer possible to
write (erase/burn) to the sector. This feature can be used, for example, to prevent a boot
sector from being replaced.
For every sector in flash memory there is a corresponding flash-word in the index sector
that defines whether it is secured or not.
sector flash-words and sectors in flash memory.
To protect a sector, set the FS_ISS bit. It is necessary to program the appropriate flash
word in the index sector page number associated with the flash sector (see
). Program the Flash-Word address with 0x0 to enable sector protection.
decoding of the flash-word is listed:
Table 412. Index sector flash-words
Flash Memory
Address Range
Index Sector
Page #
Flash Memory
Sector #
Flash-Word
Address
(FS_ISS bit set)
0x2000 0000 -
0x2000 1FFF
6
11
0x2000 0CB0
0x2000 2000 -
0x2000 3FFF
6
12
0x2000 0CC0
0x2000 4000 -
0x2000 5FFF
6
13
0x2000 0CD0
0x2000 6000 -
0x2000 7FFF
6
14
0x2000 0CE0
0x2000 8000 -
0x2000 9FFF
6
15
0x2000 0CF0
0x2000 A000 -
0x2000 BFFF
7
16
0x2000 0E00
0x2000 C000 -
0x2000 DFFF
7
17
0x2000 0E10
0x2000 E000 -
0x2000 FFFF
7
18
0x2000 0E20
0x2001 0000 -
0x2001 FFFF
6
0
0x2000 0C00
0x2002 0000 -
0x2002 FFFF
6
1
0x2000 0C10
0x2003 0000 -
0x2003 FFFF
6
2
0x2000 0C20
0x2004 0000 -
0x2004 FFFF
6
3
0x2000 0C30
0x2005 0000 -
0x2005 FFFF
6
4
0x2000 0C40
0x2006 0000 -
0x2006 FFFF
6
5
0x2000 0C50
0x2007 0000 -
0x2007 FFFF
6
6
0x2000 0C60
Only for LPC2919/01, LPC2929, and LPC2939
0x2008 0000 -
0x2008 FFFF
6
7
0x2000 0C70
0x2009 0000 -
0x2009 FFFF
6
8
0x2000 0C80
0x200A 0000 -
0x200A FFFF
6
9
0x2000 0C90
0x200B 0000 -
0x200B FFFF
6
10
0x2000 0CA0