<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Trace &amp;quot;timeline&amp;quot; doesn&amp;#39;t make sense</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59250/trace-timeline-doesn-t-make-sense</link><description>I am working on customizing the DFU bootloader (to add encryption). When attempting to use the instruction trace in Ozone to debug, I see a lot of nonsense. One example is shown below. It is obviously in a loop (evidenced by the repeated cycle of function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Aug 2021 13:06:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59250/trace-timeline-doesn-t-make-sense" /><item><title>RE: Trace "timeline" doesn't make sense</title><link>https://devzone.nordicsemi.com/thread/322886?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 13:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc15d16-3722-49a7-a9dc-7fac70f872a2</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Akron"]To clarify, I do not want to trace the softdevice calls that are currently shown as unknown.[/quote]
&lt;p&gt;This is not possible, as we provide the softdevice only as a binary. To filter out certain contents, I would recommend that you ask SEGGER about if that is possible or not.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trace "timeline" doesn't make sense</title><link>https://devzone.nordicsemi.com/thread/322878?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 12:41:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95af1618-dbda-41be-9eff-f6b24d7c90f7</guid><dc:creator>Aris</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am experiencing the same matter. I want to trace my application and&amp;nbsp;validate it by viewing Ozone&amp;#39;s Timeline. However the readings do not make any sense. My view is similar to the one of &lt;a href="https://devzone.nordicsemi.com/members/chris-ergo"&gt;Chris Ergo&lt;/a&gt;. How can I resolve this? Do we have any other updates in the question?&lt;/p&gt;
&lt;p&gt;To clarify, I do not want to trace the softdevice calls that are currently shown as unknown. But I want a clear view of the rest of the application. I do not need to set breakpoint and then continue. My intention is to stop the execution at a specific point and view the Ozone&amp;#39;s timeline.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance,&lt;/p&gt;
&lt;p&gt;Aris.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trace "timeline" doesn't make sense</title><link>https://devzone.nordicsemi.com/thread/241029?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 06:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89a55eea-05f5-4798-ac0e-a5c103f20ccc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Debugging only controls the CPU itself, while the peripherals still run.&lt;/p&gt;
&lt;p&gt;Unfortunately, you cannot break/go with the softdevice enabled, as this will make all events occur at the same time, and the softdevice finds that an event has occurred out-of-order, and it asserts.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trace "timeline" doesn't make sense</title><link>https://devzone.nordicsemi.com/thread/240971?ContentTypeID=1</link><pubDate>Sat, 21 Mar 2020 02:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ae7420a-9f1a-40c0-893e-0b5589bc07a0</guid><dc:creator>Chris Ergo</dc:creator><description>&lt;p&gt;Do you have any update on my question? Right now the trace is so corrupt that it is mostly worthless. Is that the answer: trace is unusable on a system that has a SoftDevice running? Breakpoints are already mostly unusable because the SoftDevice has a timeout that asserts when I hit a breakpoint, so I&amp;#39;m feeling like my hands are tied. I guess I will try good-old printf&amp;#39;s.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trace "timeline" doesn't make sense</title><link>https://devzone.nordicsemi.com/thread/240674?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 14:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2d20ddc-fba9-4885-81eb-dbf78d2bc6e1</guid><dc:creator>Chris Ergo</dc:creator><description>&lt;p&gt;I am not requesting to be able to trace within the SoftDevice. I only want accurate tracing outside the SoftDevice. (I don&amp;#39;t care about the trace in the SoftDevice, but it might be a clue to you that the instruction address there jumps around randomly every instruction.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trace "timeline" doesn't make sense</title><link>https://devzone.nordicsemi.com/thread/240604?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 10:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407364e7-9ef0-46fb-9804-83c54571b19b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;My current hypothesis is that the SoftDevice disables tracing when execution is in it, which has the side effect of instructions being lost for some period of time before and/or after execution is in the SoftDevice.&lt;/p&gt;
&lt;p&gt;Is this true? Is there any way to get a more complete trace?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The softdevice doesn&amp;#39;t disable tracing, its just that your trace debugger does not have the debug symbols to resolve the softdevice functions.&lt;/p&gt;
&lt;p&gt;We distribute the softdevice as a binary, so its not possible to debug the functions at the level that you&amp;#39;re requesting. All calls to the softdevice address area will come up as &amp;quot;unknown&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>