LZ ,你这个STM32F030 的ID确定了吗? 看手册有一个ID 寄存器,但没有说是unique唯一的。
《25.4.1 MCU device ID code
The STM32F0 products integrate an MCU ID code. This ID identifies the ST MCU part
number and the die revision.
This code is accessible by the software debug port (two pins) or by the user software.
DBGMCU_IDCODE
Address: 0x40015800
Only 32-bit access supported. Read-only
Bits 31:16 REV_ID(15:0) Revision identifier
This field indicates the revision of the device. It is read as 0x1000 for Revision 1.0 and
0x2000 for Revision 2.0.
Bits 15:12 Reserved: read 0b0110.
Bits 11:0 DEV_ID(11:0): Device identifier
This field indicates the device ID.
For STM32F030x4 and STM32F030x6 devices, the device ID is 0x444.
For STM32F030x8 devices, the device ID is 0x440.》这是手册上的
LZ ,你这个STM32F030 的ID确定了吗? 看手册有一个ID 寄存器,但没有说是unique唯一的。
《25.4.1 MCU device ID code
The STM32F0 products integrate an MCU ID code. This ID identifies the ST MCU part
number and the die revision.
This code is accessible by the software debug port (two pins) or by the user software.
DBGMCU_IDCODE
Address: 0x40015800
Only 32-bit access supported. Read-only
Bits 31:16 REV_ID(15:0) Revision identifier
This field indicates the revision of the device. It is read as 0x1000 for Revision 1.0 and
0x2000 for Revision 2.0.
Bits 15:12 Reserved: read 0b0110.
Bits 11:0 DEV_ID(11:0): Device identifier
This field indicates the device ID.
For STM32F030x4 and STM32F030x6 devices, the device ID is 0x444.
For STM32F030x8 devices, the device ID is 0x440.》这是手册上的
举报