Unique device identifiers are suitable for:
● Used as a serial number (e.g. USB string serial number or other terminal applications)
● Use the unique ID as a security key when used in conjunction with software encryption primitives and protocols before programming the internal Flash to increase the security of the code in the Flash
● Activate the secure bootstrap process, etc.
The 96-bit unique device identifier provides a reference number that is unique to any device and any context. These bits can never be changed by the user.
The 96-bit unique device identifier can also be read in different ways such as single byte/half word/word, and then concatenated using a custom algorithm.
Base address: 0x1FFF7A10
typedef struct
{
uint32_t id[3];
}ChipID;
ChipID Get_ChipID(void)
{
ChipID chipid = {0};
chipid.id[0] = *(__I uint32_t *)(0x1FFF7A10 + 0x00);
chipid.id[1] = *(__I uint32_t *)(0x1FFF7A10 + 0x04);
chipid.id[2] = *(__I uint32_t *)(0x1FFF7A10 + 0x08);
return chipid;
}
Previous article:STM32F4 C++ package library GPIO
Next article:STM32F4(BUZZ)
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Wireless technology comparison (ZigBee, UWB, Wi-Fi, Bluetooth, NFC)
- TouchGFX design" + online battery status monitoring
- MicroPyhton-NodeMcuEsp8266, driving ultrasonic detector-buzzer-OLED screen
- CH543: 12V PD power management MCU
- T6963C does not display the problem
- [Telink's new generation of low-power, high-performance multi-protocol wireless kit B91 review] Home Assistant installation
- [Telink's new generation of low-power, high-performance, multi-protocol wireless kit B91 review] Run the Zigbee gateway
- [Repost] Detailed description of the five key points of MOS tube drive circuit
- How to achieve 0.125ns dynamic delay
- TSMC's 5nm wafer cost price exposed, Apple A14 and Huawei Kirin 9000 are destined to be expensive