This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armdbg trace report not generating ITM data properly

Hello,

I am trying to use `trace report` command in armdbg to export ITM data. (From armds 2023.0 installation)

I tried:

trace report SOURCE=CSITM_0 FILE=TRACE_ITM.txt DECODERS=P0:Text PORTS=0

TRACE_ITM.txt contents:

    UNKNOWN (101 bytes)

When I try the same thing in the armds GUI (using same DTSL, same elf file and almsot quite similar debug steps), with the following event viewer setting I get UNKOWN (108 bytes).

Now if I activate the show live decode console checkbox, and do a "debug from entry point" and run and halt, I can see my printf being shown on the Live Decode console but Events console still shows same  message, just maybe with a different size.

Obviously trace report in armdbg generates Events Console like output and that's why I can't rely on Live Decode.

Regards

Amir

Parents
  • Hi Stephen,

    Thank you for your response.

    I am using a custom platform implementing SSE-200 M33 cores (SoC-400). One other observation is that if I put my hello world printf inside a infinite while loop, I can see it being printed in the Events Consol. Alongside some OVERFLOW messages. Which tells me that my data transfer rate is slow! But still I don't understand why something is showing up in the Live Decode and not in the Events.

    Sure, I will raise a ticket there.

    Regards

    Amir

Reply
  • Hi Stephen,

    Thank you for your response.

    I am using a custom platform implementing SSE-200 M33 cores (SoC-400). One other observation is that if I put my hello world printf inside a infinite while loop, I can see it being printed in the Events Consol. Alongside some OVERFLOW messages. Which tells me that my data transfer rate is slow! But still I don't understand why something is showing up in the Live Decode and not in the Events.

    Sure, I will raise a ticket there.

    Regards

    Amir

Children
No data