<?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>Tracedata</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38731/tracedata</link><description>Hi, 
 I wonder if all Tracedata[n] pins are needed for debug? That would make five IO:s useless for other functions. Or is it possible to use 1-bit mode or something similar? If that is possible, are there any limitations other than data speed?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Oct 2018 06:43:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38731/tracedata" /><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/151108?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 06:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03cdb174-ec85-4962-a940-f79fd796cf71</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;According to Segger the DWT can periodically sample certain memory locations, but apparently the solution is not very flexible. They needed some more time to figure out&amp;nbsp;what the sampling period is, and whether or not this can be connected to the trace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/151023?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 14:49:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a226fc60-e37d-4c97-b9a7-29fadb7e28e3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Sorry for the late reply. Segger confirmed that the ETM can not do memory tracing, only instruction trace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The DWT sounds more promising, but the documentation is a bit unclear regarding it&amp;#39;s capabilities. You can count the number of accesses to a certain memory address, but I am not sure you can also trace the data content as it is changed. I will have to confirm this with Segger also.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/150900?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 08:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aac23f92-5c3c-4e2a-919c-b926eaf787e0</guid><dc:creator>&amp;#214;rjan</dc:creator><description>&lt;p&gt;Found &lt;a href="https://forum.segger.com/index.php/Thread/5558-Ozone-questions/?postID=20540&amp;amp;highlight=ozone%2Blinux#post20540"&gt;this&lt;/a&gt;&amp;nbsp;entry at Segger Forum as per 24&amp;#39;th august 2018. Seems data tracing not yet supported in J-Trace but may be in the pipe. As the 52840 contains a DWT unit, I guess it&amp;#39;s capable of producing CPU memory access traces. Is this correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/150220?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 11:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82bd9033-2bd4-4a02-aa04-9eb570c0f964</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will have to check this with Segger directly. As soon as I hear from them I will update the case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/150087?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 14:01:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6136078-da63-4318-9222-4a1ff93cbeab</guid><dc:creator>&amp;#214;rjan</dc:creator><description>&lt;p&gt;Breaking in with a related question: We are doing instruction trace debugging on nrf52840 with the Segger j-trace module / ozon using the four tracepins + clk. From what we are able to see, only the cpu instructions are traced. We would need also to see traces for memory accesses, i.e address and data info. Are we doing something wrong/looking at the wrong place or is this simply not supported?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/150031?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 11:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95ebffe8-da43-4ab0-8f04-85d0a619d86d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Peter&lt;/p&gt;
&lt;p&gt;For full ETM trace you need all the pins unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With a single data pin you only get ITM, which is not sufficient if you want to do live instruction trace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/149750?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 07:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13c51e99-dbf9-444d-8aef-2e711e8e9643</guid><dc:creator>Pema</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have dedicated trace hardware for this. But for trace functionality, do you need all five signals or does it work with a subset (like clk plus one or two of the tracedata pins)? I want to fulfill the needs of our sw guys, while not letting them occupy too many IO:s... If a subset works, what are the limitations compared with using all tracedata? Speed I guess?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tracedata</title><link>https://devzone.nordicsemi.com/thread/149747?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 07:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f72ec991-ae1f-4203-a0ce-1209d6c3f1de</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Peter&lt;/p&gt;
&lt;p&gt;For regular debugging you only need the SWD pins (SWDIO and SWDCLK), and you are free to use the trace pins for other purposes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Tracedata pins are only&amp;nbsp;required if you want to do a full instruction trace during debugging, but this requires dedicated trace hardware to use (the Segger chip on the development kits are not set up for this).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>