Data Trace with Jtrace PRO and Ozone on ARM R5 core!

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

    • Data Trace with Jtrace PRO and Ozone on ARM R5 core!

      New

      Hi.
      My setup has ARM R5 core with JTrace PRO and ozone debugger. It has 4 Trace data pins and 1 pin for trace clock (totally 5 pins).

      I am trying to evaluate/explore the data trace part of it, but observing that the data sampling is happening at approx. 500Hz (2 msecs) on the ozone timeline view (In the first attachment, in timeline view you can observe this ). I’m just incrementing and decrementing two counters (global variables).
      Observed the same result (data sampling of 500 Hz) when clock is running at 40 MHz or 80 MHz.
      Observed the same result (data sampling of 500 Hz) when selecting 10Khz (no changes with any rate) sampling setting on OZONE .


      Please help me with this!

      Thanks,
      Prashanth
      Images
      • Data_Trace_Ozonw.PNG

        97.01 kB, 1,365×729, viewed 7 times
      • Test_SMPU.PNG

        107.35 kB, 1,366×736, viewed 10 times
    • New

      Hello Prashanth,

      Thank you for your inquiry.
      Please note that the data trace that you refer here to is independent from the 5 pin trace that you use for instruction tracing.
      Instead it uses the debug interface and HSS.
      segger.com/products/debug-prob…#data-acquisition-via-hss
      Just for awareness.

      How do you detect the 500 Hz sampling frequency? From the screenshots it is not apparent.
      If you refer to unexpected timeline values, make sure that under trace settings the correct CPU clock speed is set.
      Otherwise the x-axis on the timeline will be wrong.

      To see the actual data samples open the Data Sampling window under View->Data Sampling and then open the Samples tab.
      There you should see data samples approximately at the frequency that you have set as the sampling frequency.
      Can you confirm?

      Best regards,
      Nino
      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.
    • New

      Hi Nino,
      Thanks for your reply!
      I understand that the 5 pin trace are not responsible for the data tracing. So how can we enable data tracing on Ozone then?
      Is 5 pin trace only used for instruction and cycle accurate traces?

      On the other things, I increased JTAG interface speed to 25 Mhz (from 4Mhz earlier) , but am still able to see data trace going up to approx 2Khz only. Please find the attachment of all the settings, clock and sampling window as well.
      Sampling Frequency on the Data sampling window has NO effect.
      Images
      • Data_Sampling_Ozone.PNG

        21.03 kB, 843×437, viewed 2 times
      • JLink_Settings_Ozone.PNG

        15.94 kB, 386×434, viewed 2 times
      • Trace_Settings_Ozone.PNG

        10.29 kB, 380×492, viewed 3 times
    • New

      Hello,

      prashanth.prakash wrote:

      So how can we enable data tracing on Ozone then?
      It is not supported. Data tracing is only supported by a hand full of Cortex-A and -R devices and would require a 16 bit trace interface to avoid overflows.
      As our customers typically do not want to waste so many pins for just debugging we do not provide a trace probe for such interface and feature.

      prashanth.prakash wrote:

      Is 5 pin trace only used for instruction and cycle accurate traces?
      Correct.


      prashanth.prakash wrote:

      Sampling Frequency on the Data sampling window has NO effect.
      Ok I see. This is reproducible. We will look into this and fix it.

      Best regards,
      Nino
      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.
    • New

      Hello Prashanth,

      data trace via the trace pins is not supported by either J-Trace Pro nor Ozone.
      Currently there are no plans to add support for this for the existing trace probes.

      Best regards,
      Nino
      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.