CHAPTER 3 FUNCTIONAL OUTLINE
PRELIMINARY
NEC confidential and Proprietary
101
(1) Transition of trace message
1. Specify whether a trace message is 16 or 64 bytes long by using the J0SZ bit of the MDSOHT register (Section
trace message), and using the J1SZ bit of the MDPOHT register (Path trace message). In the default mode, both
the J0 message size and the J1 message size are 64 bytes.
2. Set a message to a buffer memory. As an example, buffer of J0 is used to transmit a trace message. First, select
the section message buffer by the BSEL bit of the TMBT register. Next, write 00H to offset register (BADR bits of
the TMBT register). Next, write data, one word (32 bits) at a time, to the access register (TMDT). The write
pointer of J0 buffer is automatically incremented by one word each time data is written to it. Therefore, set the
pointer value to (00H) in the first instance only. Subsequently, 64-byte or 16-byte data can be set simply by
repeatedly writing to the access register.
Note
: If TMDT register is accessed by 16-bit access, the lower word (16-bit) is not use. See Figure 3-31.
3. Upon the completion of writing to the highest address of the pointer, incremented each time a write access
occurs, the pointer is automatically returned to 0. The highest address varies with the setting of the message
length.
4. The pointer register (BADR bit of the TMBT register) indicates the pointer value for the word to be written next.
By directly specifying the pointer to be set next in the pointer register, a message can be partly updated.
5. Enable the receive line interface by setting the PENB register, and enable to the section trace message by
setting the CMTMT register.
6. If the transmission command is enabled (by setting the J0STAT bit of the CMTMT register to 1) after data has
been set, the
µ
PD98413 inserts a trace message to the position of the J0 byte in a transmit frame, one byte at a
time, starting from the high-order eight bits of the first word of J0 buffer.
7. If transmit next new trace message, overwrite setting buffer and then enable the transmission command.
Note:
after enable the transmission command, the transmission command register is not return to 0. Therefore, if
transmit next trace message, write 0 to the register, and then write 1 to the register.
Summary of Contents for NEASCOT-P65
Page 4: ...PRELIMINARY NEC confidential and Proprietary 4 MEMO ...
Page 8: ...PRELIMINARY 8 MEMO ...
Page 35: ...PRELIMINARY NEC confidential and Proprietary 35 MEMO ...
Page 135: ...CHAPTER 4 INTERFACES PRELIMINARY NEC confidential and Proprietary 135 ...
Page 166: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 166 5 2 Register summary ...
Page 167: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 167 ...
Page 168: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 168 ...
Page 303: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 303 MEMO ...
Page 317: ...CHAPTER 6 JTAG BOUNDARY SCAN PRELIMINARY NEC confidential and Proprietary 318 MEMO ...