6.1.1 Get Device ID

The code is equivalent to reading a word at the address DSUEXT.DID (0x41000118) (DSU_DID register). The value is read from the DSUEXT range. This register is always accessible, even on protected devices.

Note:
  1. It is recommended that only the lower 16 bits of this register be used to identify the device.
  2. The DSUEXT range starts at offset 0x0100. There are no restrictions when accessing DSU registers from the CPU. However, it is recommended that the user code running on the CPU access DSU registers in the internal address range only (0x0-0xFF).
Table 6-1. Reference
Stepmem_ap primitive
Read DSU DID registerReadD32(DSUEXT.DID)