Electronic Signature (Esig); Esig-Related Registers List; Flash Capacity Register (Esig_Flacap); Uid Register - WCH CH32V003 Series Reference Manual

Table of Contents

Advertisement

CH32V003 Reference Manual
Chapter 15 Electronic Signature (ESIG)
The electronic signature contains the chip identification information: the flash memory area capacity and a
unique identifier. It is burned into the system storage area of the memory module by the manufacturer at the
factory and can be read by SWD (SDI) or application code.
15.1 Functional description
Flash capacity: Indicates the current size of the chip that can be used by user applications.
Unique identification: 96-bit binary code, unique to any microcontroller, the user can only read access cannot
be modified. This unique identification information can be used as a microcontroller (product) security
password, encryption and decryption keys, product serial numbers, etc., to improve system security
mechanisms or to indicate the identity information.
All the above can be read accessed by 8/16/32 bit by the user.
15.2 Register description
Name
R16_ESIG_FLACAP
R32_ESIG_UNIID1
R32_ESIG_UNIID2
R32_ESIG_UNIID3

15.2.1 Flash capacity register (ESIG_FLACAP)

15
14
13
12
Bit
Name
[15:0]
F_SIZE
15.2.2 UID register (ESIG_UNIID1)
31
30
29
28
15
14
13
12
Bit
Name
[31:0]
U_ID[31:0]
15.2.3 UID register (ESIG_UNIID2)
31
30
29
28
15
14
13
12
V1.3
Table 15-1 ESIG-related registers list
Access Address
0x1FFFF7E0
Flash capacity register
0x1FFFF7E8

UID register 1

0x1FFFF7EC
UID register 2
0x1FFFF7F0
UID register 3
11
10
9
8
F_SIZE[15:0]
Access
Flash capacity in Kbyte.
RO
Example: 0x0080 = 128 K bytes
27
26
25
24
U_ID[31:16]
11
10
9
8
U_ID[15:0]
Access
RO
The 0-31 digits of UID.
27
26
25
24
U_ID[63:48]
11
10
9
8
U_ID[47:32]
Description
7
6
5
Description
23
22
21
7
6
5
Description
23
22
21
7
6
5
165
http://wch.cn
Reset value
0xXXXX
0xXXXXXXXX
0xXXXXXXXX
0xXXXXXXXX
4
3
2
1
Reset value
X
20
19
18
17
4
3
2
1
Reset value
X
20
19
18
17
4
3
2
1
0
16
0
16
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents