Receiving Trace Message - NEC UPD98413 User Manual

Table of Contents

Advertisement

3.6.2 Receiving Trace Message

The µ PD98413 has two 64-byte buffers (Accepted and Captured buffer) for each of J0 and J1 that store received
trace messages. Accepted buffer is able to access by the Management Interface, but Captured buffer is not. When
µ PD98413 is received a new message, it is stored in Captured buffer, and then if Accepted buffer is not locked, the
received message is stored in Accepted buffer. Accepted buffer is able to lock, because if a message that is stored in
the Accepted buffer is not finished to read by the CPU, the read massage value is differ from received message value.
While the message stored to Accepted buffer, a new message is stored to the Captured buffer. The µ PD98413 also
has one 64-byte buffer storing expected trace message for each of J0 and J1.
Classificati
Register and Bit of Section
on
trace message
Section (J0)
Mode
MDSOHR
register
J0SZ bit
MDSOHR
register
J0SYNC bit
Buffer
BSEL bit
select
BTYP bit
TMBR
BADR bit
register
Buffer lock
J0LOCK bit
CMTMR
register
Buffer
BDAT bit
Access
register
TMDR
register
TIM
J0PTN bit
detecting
pattern
J0M bit
setting
J0PTN
J1PTN
register
CHAPTER 3 FUNCTIONAL OUTLINE
Table 3-20 Register and bits related trace message receive
R/W
Path (J1)
MDPOHR
R/W
register
J1SZ bit
MDPOHR
R/W
register
J1SYNC bit
BSEL bit
R/W
BTYP bit
R/W
BADR bit
R/W
J1LOCK bit
R/W
BDAT bit
R/W
J1PTN bit
R/W
J1M bit
R/W
PRELIMINARY
Outline
Selection of 16- or 64-byte length
Specifies whether set synchronization pattern is at the
beginning or end of message
Selection of J0 buffer or J1 buffer
Selection of Accepted buffer or Expected buffer
Set the offset address of the trace message buffer
Indicated and sets to lock the Accepted buffer of the trace
message.
Access to Expected Buffer or Accepted buffer,
Which to Access is setting by buffer select register
(TMBT).
Set the synchronous pattern of J0/J1 massage
Set the mask value of the synchronous pattern.
NEC confidential and Proprietary
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Neascot-p65

Table of Contents