[SOLVED] Jscope RTT time stamp

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Jscope RTT time stamp

    Hello forum users,

    I would like to use timestamp with Jscope in RTT mode. It is not clear to me what should be written in this variable and there are no examples. Is it constant, is it some incremental value?
    In my case I prepare data in 2ms interrupt. What value should I write to timestamp at each interrupt such that time relation in Jscope is displayed correctly? Thank you.

    rum
  • Hello,

    Thank you for reaching out.

    The timestamp value in J-Scope is interpreted in microseconds (µs).

    To display the correct timestamps with J-Scope, you should start with a timestamp of 0 and increase it by 2000 (2ms) each time you send data.

    Best regards,
    Simon
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hello,

    We have expanded our J-Scope documentation with an example on how to use J-Scope with RTT and timestamps:
    Example Project

    Best regards,
    Simon
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.