Without further ado, just look at the following
The above are two unique codes of STM8S103. As can be seen from the figure, the key point is that the first 4 bytes are different. If the batch number behind is the same batch of goods, it is consistent.
//The following reading is suitable for STM8S103
unsigned char Read_UniqueID_Byte(unsigned char offset)
{
unsigned char id_byte;
id_byte = *(unsigned char*)(0x4865+offset); //ID base address is 0x4865
return id_byte;
}
Previous article:STM8S103 1 segment .bss size overflow (67) error handling
Next article:STM8S programming method by address increment
- Popular Resources
- Popular amplifiers
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
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- 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
- Exploring the RF Front End of Massive MIMO Systems (Semiconductor Technology Perspective and Manufacturer Perspective)
- Xunwei-i.MX6ULL Development Board-Network Test Method (I)
- Popular Science Sharing - Detailed Explanation of the Working Principles of Starlink Satellites (Episode 5)
- [CC1352P Evaluation] Continue to tinker with SDK examples
- GD32E231 analog IIC driver LIS2DW12
- Common Signs and Causes of PCB Failure
- i.MX8M Mini Development Board - Multi-core Heterogeneous CPU with Low Power Consumption
- [TI millimeter wave radar review] + unboxing photos + environment
- Hey guys, why is the ROOM so big in this PCB?
- Super box designed by myself