<?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>TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51100/traceclk-and-cpu-clock</link><description>Hi, 
 I&amp;#39;m running a nRF52832 connected through TRACE port to a Segger J-Trace Pro. 
 Some traces seem to be lost, and Segger support team tells me it is possible as nRF52832 runs @ 64MHz, while the traceport runs @ 16MHz, which can therefore only output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Nov 2019 21:01:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51100/traceclk-and-cpu-clock" /><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/218921?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 21:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc829193-4aad-472c-9070-d0de22a639ca</guid><dc:creator>Guilherme de Paula</dc:creator><description>&lt;p&gt;But this link from Segger says it is fine.&amp;nbsp; Maybe there is a way to make it work.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/Tracing_on_Nordic_Semiconductor_nRF52832"&gt;https://wiki.segger.com/Tracing_on_Nordic_Semiconductor_nRF52832&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/218919?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 20:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90300fe7-0525-49ed-8816-5f69c4e68c74</guid><dc:creator>Guilherme de Paula</dc:creator><description>&lt;p&gt;Wow.&amp;nbsp; This is a big problem for us.&amp;nbsp; The nRF52840 has this limitation too.&amp;nbsp; Our problem is even more complicated, as the J-Trace Pro that we bought are only supported by IAR in &amp;quot;Sampling&amp;quot; mode and not in &amp;quot;Streaming&amp;quot; mode.&amp;nbsp; We are considering switching to SES (Segger Embedded Studio).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/204913?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2019 07:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4937601f-7d26-4c37-bfc7-a1508a60cc17</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Yes, I expect this will be addressed, but I can&amp;#39;t comment on when and how etc.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/204586?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 15:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:503d103b-941e-4992-8fac-722181804d52</guid><dc:creator>eblot</dc:creator><description>&lt;p&gt;Ok.&lt;/p&gt;
&lt;p&gt;Is it something that will be fixed in the next iteration of the nRF52, because the ETM may be used, among other needs, to debug performance issues *without* altering the normal behaviour of the CPU, and it looks like the implementation of the ETM port by Nordic defeats this very purpose. It seems quite paradoxal to me.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/204585?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 07:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e956a9c-38d3-4cba-ae03-063b9f938d10</guid><dc:creator>Kenneth</dc:creator><description>[quote user="eblot0"]Am I correct?[/quote]
&lt;p&gt;Yes, though I expect if you disable cache that should help, s&lt;span&gt;o just call this before&amp;nbsp;ble_stack_init():&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_NVMC-&amp;gt;ICACHECNF = 0x00;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/204584?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 15:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17b50606-fc6d-4bc4-b530-aed75307b479</guid><dc:creator>eblot</dc:creator><description>&lt;p&gt;Ok, so that means there is no way to get a full&amp;nbsp;valid&amp;nbsp;trace output out of nRF52 devices, it all depends on parameters that cannot be tweaked&amp;nbsp;or even guessed. Am I correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TRACECLK and CPU clock</title><link>https://devzone.nordicsemi.com/thread/204583?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 11:06:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ecc0484-b996-4c15-b359-56cc3a3e761d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Afaik:&lt;/p&gt;
&lt;p&gt;1. No, not possible.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2. The speed of the processor will heavily depend on the cache hit/miss, and the flash accessing. In certain cases, where code is being executed from RAM, there can be potentials for trace overflow.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>