<?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>Access to unit&amp;#39;s IO pins through SWD interface.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44614/access-to-unit-s-io-pins-through-swd-interface</link><description>Hello, 
 I need to get access to nRF51822 pins in order to test them and connected circuits. 
 I have access to SWD interface only. 
 By attempt to read ID register (A2=0, A3=0) the unit returns ACK(001) FAULT and following data: 0x85d88a3b. 
 By attempt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Mar 2019 12:16:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44614/access-to-unit-s-io-pins-through-swd-interface" /><item><title>RE: Access to unit's IO pins through SWD interface.</title><link>https://devzone.nordicsemi.com/thread/175306?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 12:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12c85f2a-3264-4d02-9d7e-756955c98e26</guid><dc:creator>awneil</dc:creator><description>[quote userid="77903" url="~/f/nordic-q-a/44614/access-to-unit-s-io-pins-through-swd-interface/175304"]I don&amp;#39;t really know which registers should be programmed[/quote]
&lt;p&gt;See the &lt;strong&gt;Product Specification&lt;/strong&gt; for register descriptions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to unit's IO pins through SWD interface.</title><link>https://devzone.nordicsemi.com/thread/175304?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 11:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5b848bc-fc5b-4673-b4d6-bbe61a8e8a9c</guid><dc:creator>Leonid.K.</dc:creator><description>&lt;p&gt;OK. Thanks.&lt;/p&gt;
&lt;p&gt;I also have Algocraft WN-8 programmer connected to SWD bus and burning it with customer&amp;#39;s file.&lt;/p&gt;
&lt;p&gt;I can try to get access to peripheral pins of the using it. But I don&amp;#39;t really know which registers should be programmed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to unit's IO pins through SWD interface.</title><link>https://devzone.nordicsemi.com/thread/175176?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2019 12:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9718d2-9747-4a34-b754-7c7f6112fb3f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So you&amp;#39;re basically making your own debug adaptor?&lt;/p&gt;
&lt;p&gt;That&amp;#39;s going to be beyond the scope of the Nordic forum.&lt;/p&gt;
&lt;p&gt;But, as far as the SWD interface goes, Nordic (like any other ARM licensee) has to abide by the standard spec - so look to the documentation from ARM...&lt;/p&gt;
&lt;p&gt;You could also look at the open-source CMSIS-DAP.&lt;/p&gt;
&lt;p&gt;But I would certainly start by using a standard debug probe - eg, JLink - and proving that you can achieve your requirements with that.&lt;/p&gt;
&lt;p&gt;Then look at it&amp;#39;s&amp;nbsp;doing on the wires and, along with the ARM documentation, bas your implementation on that ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to unit's IO pins through SWD interface.</title><link>https://devzone.nordicsemi.com/thread/175165?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2019 05:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d8a067e-7c07-4a21-9334-9cb78a2002df</guid><dc:creator>Leonid.K.</dc:creator><description>&lt;p&gt;I&amp;#39;m using IO pins of Lattice device controlled by JTAG Technologies Provision software by Python code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to unit's IO pins through SWD interface.</title><link>https://devzone.nordicsemi.com/thread/175147?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 22:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b334ea7d-16ac-4800-8e2a-2b641ac5e5f0</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;What are you using to connect to SWD ?&lt;/p&gt;
[quote userid="77903" url="~/f/nordic-q-a/44614/access-to-unit-s-io-pins-through-swd-interface"]Is it possible to get an access to peripheral pins using SWD?[/quote]
&lt;p&gt;I don&amp;#39;t think&amp;nbsp;you can directly, but you can use it to access the registers which control the pins.&lt;/p&gt;
&lt;p&gt;You could also use it to load &amp;amp; run test code (possibly to RAM) ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>