STC8A8K64D4 Series Manual
-
7.4 Unique ID number and important parameter (CHIPID) stored in
read-only special function register
Some STC8A8K64D4 series microcontrollers have built-in 32-byte read-only special function register CHIPID. The content
in CHIPID can only be read by the user program and cannot be modified. Using the data in CHIPID to encrypt user programs is the
optimal solution officially recommended by STC.
Related registers
Globally Unique ID Number (0th byte)
Globally Unique ID Number (1st byte)
Globally Unique ID Number (2nd byte)
Globally Unique ID Number (3rd byte)
Globally Unique ID Number (4th byte)
Globally Unique ID Number (5th byte)
Globally Unique ID Number (6th byte)
Internal 1.19V reference signal source (high byte)
Internal 1.19V reference signal source (low byte)
32K Power-down wake-up timer frequency(high byte)
32K Power-down wake-up timer frequency (low byte)
IRC parameter of 22.1184MHz (27M band)
IRC parameter of 24MHz (27M band)
IRC parameter of 20MHz (27M band)
IRC parameter of 27MHz (27M band)
IRC parameter of 30MHz (27M band)
IRC parameter of 33.1776MHz (27M band)
IRC parameter of 35MHz (44M band)
IRC parameter of 36.864MHz(44M band)
IRC parameter of 40MHz(44M band)
IRC parameter of 45MHz(44M band)
VRTRIM parameter of 6M band
VRTRIM parameter of 10M band
VRTRIM parameter of 27M band
VRTRIM parameter of 44M band
User program space end address (high byte)
7.4.1 Interpretation of Global Unique ID Number in CHIP
Globally Unique ID Number (0th byte)
Globally Unique ID Number (1st byte)
Globally Unique ID Number (2nd byte)
Globally Unique ID Number (3rd byte)
Globally Unique ID Number (4th byte)
Globally Unique ID Number (5th byte)
Globally Unique ID Number (6th byte)
[CHIPID0, CHIPID1]: 16-bit MCU ID, which is used to distinguish different MCU models (higher bit first).
The commonly used MCU IDs of STC8A8K64D4 series are shown in the following table:
[CHIPID2, CHIPID3]: 16-bit test machine number (higher bit first).
[CHIPID4, CHIPID5, CHIPID6]: 24-bit test serial number (higher bit first).