<?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>Eliminating trace functionality during debug</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46751/eliminating-trace-functionality-during-debug</link><description>Hi, 
 I&amp;#39;m using custom board with the nrf42840 and I need to use p1.09 as a GPIO. 
 How can I do this in a debugging mode (using the PCA10056 as a jlink)? Can I get a code example? 
 Thanks, 
 Daniel</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 May 2019 12:16:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46751/eliminating-trace-functionality-during-debug" /><item><title>RE: Eliminating trace functionality during debug</title><link>https://devzone.nordicsemi.com/thread/184885?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 12:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca689daf-0399-45a5-9e77-ac80f882db0a</guid><dc:creator>Daniel Reisfeld</dc:creator><description>&lt;p&gt;Thanks Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eliminating trace functionality during debug</title><link>https://devzone.nordicsemi.com/thread/184852?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 11:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0727ed34-c1af-4a01-9513-7932c50e3080</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Daniel&lt;/p&gt;
&lt;p&gt;The TRACE pins should work as GPIOs in debug mode by default in our examples. Have you tested this before making any changes? When setting the TRACEMUX to 0, you should only set bits 16 and 17. The rest of the TRACECONFIG register should be left as is.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eliminating trace functionality during debug</title><link>https://devzone.nordicsemi.com/thread/184701?ContentTypeID=1</link><pubDate>Wed, 01 May 2019 13:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52fd17bb-0510-4a27-aae7-19fa0b8b9c88</guid><dc:creator>Daniel Reisfeld</dc:creator><description>&lt;p&gt;Simon thanks,&lt;/p&gt;
&lt;p&gt;I tried NRF_CLOCK-&amp;gt;TRACECONFIG = 0; It crashes the program. Can you kindly elaborate how to do it right?&lt;/p&gt;
&lt;p&gt;Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Eliminating trace functionality during debug</title><link>https://devzone.nordicsemi.com/thread/184448?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 07:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7732d76-3d94-42ac-b1e6-98ab39dada61</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Daniel&lt;/p&gt;
&lt;p&gt;The&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;TRACEDATA1-4 pins will be ordinary GPIOs&amp;nbsp;&lt;/span&gt;as long as the TRACECONFIG-&amp;gt;TRACEMUX field is set to 0, i.e. GPIOs multiplexed onto all trace-pins.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>