[SOLVED] ITM output in release version

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

  • [SOLVED] ITM output in release version

    I have a strange problem where ITM is not shown in the release version of program in the ses console. My configuration seems the same for both debug and release.

    Before I start disecting config file.

    Is ITM supported in release version? I dont see why it would be disabled. ?(
  • Hello,

    Thank you for your inquiry.
    In release build configs usually code optimization is enabled for the compiler.
    Depending on how and where your ITM prinf calls are written and how aggressive the compiler optimizes it is possible that it will simply throw the printf calls out.

    Try experimenting with the different optimization levels. There are also "tricks" in C which can be applied so the compiler won't throw certain code away. For that there are multiple different guides in the internet.

    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.