1017
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Debugging Instructions
3
TRSM
z Timing Chart
Note Trace Memory has a ring structure. Data is stored to the end of the Trace Memory area and then wraps to
the beginning of the area, ending just before the first valid data sample.
Precaution
TRSM(045) is processed as NOP(000) when data tracing is not being performed or when the sampling
interval set in the parameters of data tracing is not set to sample on TRSM(045) instruction execution.
Do not turn the Sampling Start Bit (A508.15) ON or OFF from the program. This bit must be turned ON
and OFF from a Peripheral Device.
When a TRSM instruction is used between JMP and JME and the JMP condition is OFF, the TRSM
instruction will not be executed.
Sampling
Operated from Peripheral Device
(Sampling Start Bit: A508.15)
Trace Start Bit: A508.14
Trace Busy Flag: A508.13
Trace Completed Flag: A508.12
Trace Trigger Monitor Flag: A508.11
Example: word data
Trace Memory
See note.
Valid from here on
Delay
setting
Valid
samples
Trace ends when
Trace Memory is full.
: Execution of TRSM(045)