In order to read the captured states of the RSTM logger, do we continually read register 0xbf? How many states are captured? What happens once we've read the 'n' captured states? Do we read the same sequence of states again?
Thanks, John
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In order to read the captured states of the RSTM logger, do we continually read register 0xbf? How many states are captured? What happens once we've read the 'n' captured states? Do we read the same sequence of states again?
Thanks, John
Hi John,
The RTSM logger is cleared after reading. You can refer to the "get_sm_trace()" function in toccoa_c0.py of the DS160PT801 Python API for example code using the RTSM logger.
If the logger is set to capture the "first n-states" it will capture up to 16 digital states as they occur and then freeze, or stop accumulated digital states.
If the logger is set to capture the "last n-states" the logger will capture up to 16 states and it will continually overwrite itself as new states occur. In order to read the logger you should manually freeze the RTSM state machine so it stops acquiring new states.
After you have read the logger you may need to unfreeze the RTSM so it will continue to operate, and then it will begin accumulating digital statuses again from the RTSM state machine as they occur.
This RTSM logger feature is typically used during in-depth debugging sessions. If you need help debugging an issue with the retimer, let me know.
Regards,
Nicholaus
Hi John,
Do you have any other questions about the retimer?
Thanks,
Nicholaus