832
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
peripheral enters the debugging state after the kernel stops:
Timer peripheral: the timer counter stops and debugs;
I2C peripheral: the SMBUS of I2C keeps the state and carries out debugging;
WWDG/IWDG peripheral: WWDG/IWDG counter clock stops and debugs;
CAN peripheral: the CAN interface receiving register stops counting and debugs.
DBG registers
29.4.1
DBG register overview
These peripheral registers must be operated as words (32 bits). The base address of the register is 0xE004 2000.
Table 29-2 DBG register overview
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
000h
DBG_ID
S
R
AM
[3:0]
Reserved
DE
V_
NU
M
_L
[3:0]
F
L
ASH[
3:0]
DE
V_N
UM
_H[
3:0]
DE
V_N
UM
_M
[3:0]
R
E
V_N
UM
_H[
3:0]
R
E
V_N
UM
_L
[3:0]
Reset Value
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
004h
DBG_CTRL
Reserved
C
AN
2_S
T
OP
T
IM
7_S
T
OP
T
IM
6_S
T
OP
T
IM
5_S
T
OP
T
IM
8_S
T
OP
I2C
2S
M
B
US_T
IM
E
OU
T
I2C
1S
M
B
US_T
IM
E
OU
T
C
AN
1_S
T
OP
T
IM
4_S
T
OP
T
IM
3_S
T
OP
T
IM
2_S
T
OP
T
IM
1_S
T
OP
W
W
DG
_S
T
OP
IW
DG
_S
T
OP
R
es
er
ve
d
S
T
DB
Y
S
T
OP
S
L
E
E
P
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
29.4.2
ID register (DBG_ID)
Address offset: 0x04
Only 32-bit access is supported, and fixed values cannot be modified
Bit field
Name
Description
31:28
SRAM[3:0]
SRAM capacity.
The chip SRAM capacity is (SRAM[3:0] + 1) * 16KB
27:24
Reserved
Reserved, must keep the reset value.
23:20
DEV_NUM_L[3:0]
Lower 4 digits of device model.
Device model consists of 12 bits, including high, medium and low, representing the