![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827046.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
46 of 1441
4.1 How to read this chapter
This chapter applies to all LPC43xx/LPC43Sxx parts with the following exceptions:.
•
AES keys and AES functions are supported for parts LPC43Sxx only.
•
The following bit must only be set for secure, flashless parts: JTAG_DISABLE in the
OTP memory bank 3, word 0 (bit 31).
•
For flashless parts only: The unique part ID can be read from OTP bank 0, words 0 to
3 at memory location 0x4004 5000. (For parts with on-chip flash, use the ISP/IAP calls
to read the unique part ID.)
Different OTP API functions for programming the OTP banks are available depending on
boot ROM revision. Software library functions are available on LPCWare.com to be used
for programming OTP banks one and two when the OTP API functions are not available in
the ROM.
4.2 Features
•
The OTP memory stores the following information:
–
User programmable are the boot source, the USB vendor and product ID, and the
AES keys.
–
Unused fields can be used to store other data.
•
API support for programming the OTP in Boot ROM provided.
4.3 General description
The OTP memory contains four memory banks of 128 bits each. The first memory bank
(OTP bank 0) is reserved. The other three OTP banks are programmable. In non-secure
parts, OTP banks 1 and 2 are available for general-purpose data. In secure parts, OTP
banks 1 and 2 are used for AES keys. OTP bank 3 contains up to two user programmable
configuration words and two more words for general-purpose use.
UM10503
Chapter 4: LPC43xx/LPC43Sxx One-Time Programmable
(OTP) memory and API
Rev. 2.1 — 10 December 2015
User manual
Table 12.
OTP bank programming API functions available in ROM
OTP API name
Offset
Flashless
parts
LPC4350/
30/20/
10
Parts with
flash;
LPC43xx;
die revision
‘-’
Parts with
flash; die
revision ‘A’
and higher
Secure parts, flashless; LPC43S50/30/
20/10
otp_ProgGP0
0x14
no
no
yes
use AES API aes_ProgramKey1
otp_ProgGP1
0x18
no
no
yes
use AES API aes_ProgramKey2
otp_ProgGP2
0x1C
no
no
yes
no
otp_ProgGP2_0
0x20
yes
yes
yes
yes
otp_ProgGP2_1
0x24
yes
yes
yes
yes
otp_ProgGP2_2
0x28
yes
yes
yes
yes