# No TRACE output in Target mode

**URL:** <https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659>\
**Category:** Development tools\
**Created:** [September 14, 2010, 10:01pm UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659 "2010-09-14T22:01:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cory\_johannsen](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@cory\_johannsen](https://forum.sierrawireless.com/u/cory_johannsen)\
**Post date:** [September 14, 2010, 10:01pm UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659/1 "2010-09-14T22:01:22Z")

</div>

I have been unable to obtain TRACE output when running my applicaiton in Target mode (compiled with [Target]\_ARM\_ELF\_GCC\_Debug build configuration). I can send output to the Terminal Console window with adl\_atSendResponse, but the same exact message, sent using TRACE() never appears in the Trace view in Developer Studio.

I have also tried connecting to receive the TRACE output using TMT, but I never receive any message. Again, console output functions, TRACE does not.

Is this a know problem? Is there a work-around?

---

<div class="post-metadata">

**Author:** ![cory\_johannsen](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@cory\_johannsen](https://forum.sierrawireless.com/u/cory_johannsen)\
**Post date:** [September 15, 2010, 4:14pm UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659/2 "2010-09-15T16:14:41Z")

</div>

I got TRACE flowing using TMT, by forcing a target init after I boot my application. Good enough for now.

However, not that I am getting trace output, my console is fileld with these types of messages:

Trace HWL 1 Unable to find the string of the remote trace in the file (ID = 7642)  
Trace SIM 1 Unable to find the string of the remote trace in the file (ID = 43737)  
Trace 1 Unable to find the string of the remote trace in the file (ID = 35826)

My application trace statements come through cleanly, but the system messages do not. Is there a way to fix this?

Cory

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 15, 2010, 6:06pm UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659/3 "2010-09-15T18:06:45Z")

</div>

> [@cory\_johannsen](#):
>
> I got TRACE flowing using TMT, by forcing a target init after I boot my application.

That is normal behaviour - without doing the ‘Init Target’ you will not get any TRACEs.

It is the ‘Init Target’ that lets the target know that it is connected to TMT, and tells it to enable the TRACE output.

> [@](#):
>
> My application trace statements come through cleanly, but the system messages do not

Wavecom didn’t normally release the decode for the “system” messages to customers.  
Dunno if SiWi now have a different policy on this…

---

<div class="post-metadata">

**Author:** ![cory\_johannsen](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@cory\_johannsen](https://forum.sierrawireless.com/u/cory_johannsen)\
**Post date:** [September 15, 2010, 7:01pm UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659/4 "2010-09-15T19:01:39Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > My application trace statements come through cleanly, but the system messages do not
> 
> Wavecom didn’t normally release the decode for the “system” messages to customers.  
> Dunno if SiWi now have a different policy on this…

Ok, that’s no problem then, I will ignore them. I would like to configure TMT to hide them, so that I only see the SYS messages I want (that is where my applicaiton TRACE output is showing up). Is there a way to configure TMT to hide unwated messages that is persistent across launches?

Cory

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 15, 2010, 7:28pm UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659/5 "2010-09-15T19:28:54Z")

</div>

> [@cory\_johannsen](#):
>
> I would like to configure TMT to hide them

Check that they’re disabled in Trace \> Set Diagnose Levels, but TMT always shows a few of them - I think they’re considered “special cases”, and can’t be disabled.

---

<div class="post-metadata">

**Author:** ![BenFT01](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@BenFT01](https://forum.sierrawireless.com/u/BenFT01)\
**Post date:** [September 16, 2010, 8:47am UTC](https://forum.sierrawireless.com/t/no-trace-output-in-target-mode/4659/6 "2010-09-16T08:47:03Z")

</div>

In TMT don’t forget to load a valid workspace otherwise TMT can’t decode the trace messages from the error codes resulting in messages like you have seen.
