www.ti.com
System and Peripheral Control Registers
239
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Architecture
2.5.3.29 MasterID Diagnostic Control Register (MSTIDDIAGCTRL)
Figure 2-100. MasterID Diagnostic Control Register (MSTIDDIAGCTRL) (offset = 208h)
31 16
Reserved
R-0
15 12 11 8 7 4 3 0
Reserved DIAG_CMP_VALUE Reserved DIAG_MODE_ENA
R-0 R/WP-0 R-0 R/WP-5h
LEGEND: R/W = Read/Write; R = Read only; WP = Write in privileged mode only; -n = value after reset
Table 2-114. MasterID Diagnostic Control Register (MSTIDDIAGCTRL) Field Descriptions
Bit Field Value Description
31-12 Reserved 0 Reads return 0. Writes have no effect.
11-8 DIAG_CMP_VALUE Diagnostic Compare Value. The value stored in this register is compared against the
programmed master-ID register bits for all accesses. In diagnostic mode, the master-ID
register selection depends on the DIAG_CMP_VALUE instead of the input 4-bit master-ID
generated by the interconnect. Any mismatch will be signaled to the bus master as a bus
error. After the diagnostic mode is enabled in DIAG_MODE_ENA register and a diagnostic
compare value is programmed into the DIAG_CMP_VALUE register, the application must
issue a dummy diagnostic write access to any one of the peripherals to cause a diagnostic
check. For example, if all master-ID protection registers listed from address 0x300-0x5DC
are programmed to block master-ID 5 from write access to the peripherals, then the
application can program the DIAG_CMP_VALUE to 5. The application can use the CPU
(whose master-ID is 0) to issue a dummy write access to any peripheral to cause master-ID
violation during diagnostic mode instead of using the bus master whose master-ID is 5 to
perform this write access.
Ah Read: The master-ID check is enabled.
Write: Enable master-ID check.
Others Read: The master-ID check is disabled.
Write: Disable master-ID check.
7-4 Reserved 0 Reads return 0. Writes have no effect.
3-0 DIAG_MODE_ENA Diagnostic Mode Enable. This is a 4-bit key for enabling Diagnostic Mode. This key must be
programmed with 1010 to enable Diagnostic Mode.
Ah Read: The diagnostic mode is enabled.
Write: Enable diagnostic mode.
Others Read: The diagnostic mode is disabled.
Write: Disable diagnostic mode.