Device electronic signature
RM0365
DocID025202 Rev 7
34
Device electronic signature
The device electronic signature is stored in the System memory area of the Flash memory
module, and can be read using the debug interface or by the CPU. It contains factory-
programmed identification and calibration data that allow the user firmware or other external
devices to automatically match to the characteristics of the STM32F302xx microcontroller.
34.1
Unique device ID register (96 bits)
The unique device identifier is ideally suited:
•
for use as serial numbers (for example USB string serial numbers or other end
applications)
•
for use as part of the security keys in order to increase the security of code in Flash
memory while using and combining this unique ID with software cryptographic
primitives and protocols before programming the internal Flash memory
•
to activate secure boot processes, etc.
The 96-bit unique device identifier provides a reference number which is unique for any
device and in any context. These bits cannot be altered by the user.
Base address: 0x1FFF F7AC
Address offset: 0x00
Read only = 0xXXXX XXXX where X is factory-programmed
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
UID[31:16]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
UID[15:0]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits 31:0
UID[31:0]:
X and Y coordinates on the wafer expressed in BCD format