Table 486. Gtmdi_Mcsa_Wpc And Gtmdi_Mcsb_Wpc Field Descriptions - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

RM0400

Table 486. GTMDI_MCSA_WPC and GTMDI_MCSB_WPC field descriptions

Field
Halt/Watchpoint on Active Channel. The HACH field selects which type of MCS RAM access
generates a watchpoint or halt. Combining this field with HWO gives GTMDI the capability of
monitoring channel activity as well as accesses to specific addresses or data.
25–24
00 Match on Instruction Fetch
HACH
01 Match on Data Read
10 Match on Data Write
11 Match on Data Read or Write
Watchpoint Message Control. The WMC Watchpoint Message Control bit controls the watchpoint
message sent through the Message Data bus. If this bit is asserted it enables MCSA/B Watchpoints
22
to generate a watchpoint message. This bit is written by the JTAG interface but can also be
controlled at SoC level with dedicated Start/Stop signals inputs to GTMDI.
WMC
0 Watchpoint Messages disabled
1 Watchpoint Messages enabled
Halt/Watchpoint Data Mask Enable. The HME field selects which data bytes are used for hardware
halt/watchpoint generation when comparing to HWD register. This register field is only meaningful if
HWO bit field is [x1], otherwise the data comparison is disabled independent of HME value.
19–16
0000 All bytes of data compared
HME
xxx1 Least significant byte of data masked out
xx1x Second least significant byte of data masked out
x1xx Second most significant byte of data masked out
1xxx Most significant byte of data masked out
Halt/Watchpoint Operand. The HWO field selects if address and/or data matching is done.
Registers WPA and WPD are used for address and data comparison, respectively. If address is not
15–14
compared WPA is not use. If data is not compared then WPD is not used.
HWO
00 Comparison Disabled for address or data
x1 Compare data with HWD field
1x Compare address with HWA field
EVTO Control. The EOC bit controls the indication on the EVTO output. See
8
Figure
437,
EOC
0 Indicates Watchpoint 2 occurrence
1 Indicates Watchpoint 1 occurrence
Halt Enable. The HEN Halt Enable bit controls if the MCSA/B Watchpoint is enabled to HALT the
GTM IP module. If this bit is set and watchpoint occurs on the MCSA/B a Halt signal is generated to
7
the GTM IP which enters debug state.
HEN
0 Disables Halt GTM
1 Enables Halt GTM
Start/Stop input signal selection. Selects the Start/Stop input that is used to control the watchpoint
messages. These signals are actually a pair of signals.
5–4
00 SHARED_WPT_ST[0]
STSEL
01 SHARED_WPT_ST[1]
10 SHARED_WPT_ST[2]
11 SHARED_WPT_ST[3]
Figure 438
and
Figure 439
DocID027809 Rev 4
GTM Development Interface (GTMDI)
Description
for definition about watchpoint 1 and 2.
Figure
436,
921/2058
960

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Questions and answers

Table of Contents