Nexus Development Interface (NDI)
Freescale Semiconductor
31-55
PXR40 Microcontroller Reference Manual, Rev. 1
31.14.7.2 Watchpoint Messaging
Enabling watchpoint messaging is done by setting the watchpoint enable bit in the DC1 register. Setting
the individual watchpoint sources is supported through the e200z7 Nexus1 module. The e200z7 Nexus1
module is capable of setting multiple address and/or data watchpoints. Please see the e200z7 Core
Reference Manual for more information on watchpoint initialization.
When these watchpoints occur, a watchpoint event signal from the Nexus1 module causes a message to be
sent to the queue to be messaged out. This message includes the watchpoint number indicating which
watchpoint caused the message.
The occurrence of any of the e200z7 defined watchpoints can be programmed to assert the event out EVTO
pin for one period of the output clock (MCKO).
Watchpoint information is messaged out in the following format:
Figure 31-37. Watchpoint Message Format.
31.14.7.3 Watchpoint Error Message
An error message occurs when a new message cannot be queued due to the message queue being full. The
FIFO discards messages until it has completely emptied the queue. After it is emptied, an error message is
queued. The error encoding indicates the types of messages that attempted to be queued while the FIFO
was being emptied.
If only a watchpoint message attempts to enter the queue while it is being emptied, the error message
incorporates the watchpoint only error encoding (00110). If an OTM and/or program trace and/or data
trace message also attempts to enter the queue while it is being emptied, the error message incorporates
error encoding (01000).
Table 31-29. Watchpoint Source Encoding
Watchpoint Source
(8 bits)
Watchpoint Description
00000001
e200z7 Watchpoint #0 (IAC1 from Nexus1)
00000010
e200z7 Watchpoint #1 (IAC2 from Nexus1)
00000100
e200z7 Watchpoint #2 (IAC3 from Nexus1)
00001000
e200z7 Watchpoint #3 (IAC4 from Nexus1)
00010000
e200z7 Watchpoint #4 (DAC1 from Nexus1)
00100000
e200z7 Watchpoint #5 (DAC2 from Nexus1)
01000000
e200z7 Watchpoint #6 (DCNT1 from Nexus1)
10000000
e200z7 Watchpoint #7 (DCNT2 from Nexus1)
WPHIT
msb
lsb
1
2
SRC
TCODE (001111)
3
6 bits
4 bits
4 bits
Fixed length = 14 bits
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...