Troubleshooting DSTREAM-PT Trace

Troubleshooting problems encountered when capturing DSTREAM-PT trace

Introduction Troubleshooting Steps Platform Configuration RTM Log Analysis Check 1 Check 2 Check 3 Manual delay setting Results Example RTM Log

Example RTM Log

Below is an an example of an RTM log and comments explaining the different parts that will be used by this article (denoted by #).



Port width = 16

# The trace port width in bits being used by the RTM.  In this case, 16 bits.


RTM_STAT = 0x0000ad01

 ->        RTM initial value ready: true

 ->            Initial delay value: 1640 ps

 ->            First connect latch: false

 ->                       RTM lock: false

 -> Trace data half bit time value: 1722 ps


RTM_MEAS_FREQ = 0x80176ff4

# Used in Check 2. The trace clock frequency being used by the RTM.

 ->        Trace frequency: 153598800 Hz

 -> Trace frequency stable: true

# Used in Check 2.  Tells whether the trace clock frequency is stable.


RTM lock not achieved, so outputting alignments and edges:

# Message saying a RTM lock was not made.

RTM_ALIGN_0 = 0xfffffc80

# Used in Check 3.  In this case, there are 22 consecutive bits set.

RTM_ALIGN_90 = 0x011e7ffd

# Used in Check 3.  In this case, there are 13 consecutive bits set.

RTM_P_EDGE = 0x0000ffff

# Used in Check 1.  In this case, there are 16 bits set for a 16 bit trace port width.

RTM_N_EDGE = 0x0000ffff

# Used in Check 1.  In this case, there are 16 bits set for a 16 bit trace port width.



traced         info     (10:21:23.415): CTraceControlCmdProc::Process - command is 262

traced         info     (10:21:23.416): TRC_CMD_STOP

traced         info     (10:21:23.416): Dstream2P32Store::Stop()

traced         warning  (10:21:23.420):


Trace capture has been stopped whilst waiting for the edge and data_eye_valids registers to become valid (equal to 0x0000ffff). The most recent values are:

RTM_P_EDGE = 0x0000ffff

RTM_N_EDGE = 0x0000ffff

RTM_DATA_EYE_VALIDS = 0x00008000

The data eye and delay registers will still be output anyway:


traced         info     (10:21:23.421):


Outputting data eye and delay registers:


RTM_DATA_EYE_VALIDS = 0x00008000

RTM_DATA_EYE_0 = 0x00000000

RTM_DATA_EYE_1 = 0x00000000

RTM_DATA_EYE_2 = 0x00000000

RTM_DATA_EYE_3 = 0x00000000

RTM_DATA_EYE_4 = 0x00000000

RTM_DATA_EYE_5 = 0x00000000

RTM_DATA_EYE_6 = 0x00000000

RTM_DATA_EYE_7 = 0x00000000

RTM_DATA_EYE_8 = 0x00000000

RTM_DATA_EYE_9 = 0x00000000

RTM_DATA_EYE_10 = 0x00000000

RTM_DATA_EYE_11 = 0x00000000

RTM_DATA_EYE_12 = 0x00000000

RTM_DATA_EYE_13 = 0x00000000

RTM_DATA_EYE_14 = 0x00000000

RTM_DATA_EYE_15 = 0x007fffff


RTM_DELAY_0 = 0x00001717

# Used when manually setting trace delays.  In this case, the trace delay is 1886

RTM_DELAY_1 = 0x00001818

# or can use this value which is 1968.

RTM_DELAY_2 = 0x00000000

RTM_DELAY_3 = 0x00000000

RTM_DELAY_4 = 0x00000000

RTM_DELAY_5 = 0x00001f1f

RTM_DELAY_6 = 0x00000000

RTM_DELAY_7 = 0x00001f1f

RTM_DELAY_8 = 0x00001f1f

RTM_DELAY_9 = 0x00001f1f

RTM_DELAY_10 = 0x00001f1f

RTM_DELAY_11 = 0x00001f1f

RTM_DELAY_12 = 0x00001f1f

RTM_DELAY_13 = 0x00001f1f

RTM_DELAY_14 = 0x00001f1f

RTM_DELAY_15 = 0x00000000