DocID025202 Rev 7
RM0365
Debug support (DBG)
1066
33.6.1
MCU device ID code
The STM32F302xx MCUs integrate an MCU ID code. This ID identifies the ST MCU part-
number and the die revision. It is part of the DBG_MCU component and is mapped on the
external PPB bus (see
). This code is accessible using the
JTAG debug port (4 to 5 pins) or the SW debug port (two pins) or by the user software. It is
even accessible while the MCU is under system reset.
DBGMCU_IDCODE
Address: 0xE004 2000
Only 32-bits access supported. Read-only
This code is read as 0x10000439 for Revision 1.0 of STM32F302x6x8 devices and
0x10000422 for Revision 1.0 of STM32F302xBxC devices.
33.6.2
Boundary scan TAP
JTAG ID code
The TAP of the STM32F302xx BSC (boundary scan) integrates a JTAG ID code equal to
0x06432041.
33.6.3 Cortex-M4
®
F TAP
The TAP of the ARM
®
Cortex-M4
®
F integrates a JTAG ID code. This ID code is the ARM
®
default one and has not been modified. This code is only accessible by the JTAG Debug
Port.
This code is
0x4BA00477
(corresponds to Cortex-M4
®
F r0p1, see
Only the DEV_ID(11:0) should be used for identification by the debugger/programmer tools.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
REV_ID
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
Res
Res
Res
Res
DEV_ID
r
r
r
r
r
r
r
r
r
r
r
r
Bits 31:16
REV_ID[15:0]
Revision identifier
This field indicates the revision of the device. For example, it is read as 0x1000 for Revision
1.
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:0
DEV_ID[11:0]
: Device identifier
This field indicates the device and its revision.
The device ID is 0x439 for STM32F302x6x8 devices, 0x422 for STM32F302xBxC devices
and 0x446 for STM32F302xD/E.