RM0367
34
Device electronic signature
This section applies to all STM32L0x3 devices, unless otherwise specified.
The electronic signature is stored in the System memory area in the Flash memory module,
and can be read using the JTAG/SWD or the CPU. It contains factory-programmed
identification data that allow the user firmware or other external devices to automatically
match its interface to the characteristics of the STM32L0x3 microcontroller.
34.1
Memory size register
34.1.1
Flash size register
Base address: 0x1FF8 007C
Read only = 0xXXXX where X is factory-programmed
15
14
13
r
r
r
Bits 15:0 F_SIZE: Flash memory size
The value stored in this field indicates the Flash memory size of the device expressed in
Kbytes.
Example: 0x0040 = 64 Kbytes.
34.2
Unique device ID registers (96 bits)
The unique device identifier is ideally suited:
•
for use as serial numbers
•
for use as 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 can never be altered by the user.
The 96-bit unique device identifier can also be read in single bytes/half-words/words in
different ways and then be concatenated using a custom algorithm.
12
11
10
9
r
r
r
r
8
7
6
F_SIZE
r
r
r
RM0367 Rev 7
Device electronic signature
5
4
3
2
r
r
r
r
1
0
r
r
971/1043
972
Need help?
Do you have a question about the STM32L0x3 and is the answer not in the manual?