<?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>`Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13831/could-not-power-up-debug-power-domain-with-nrfjproj-on-nrf52</link><description>Hi, 
 I&amp;#39;m trying to use the nRF52832DK to flash a Rigado BMD-300 module (nRF52) - I&amp;#39;ve connected SWDIO, SWCLK, GND and voltage sense to P20. 
 It seems that because the protection bit comes set, you have to use --recover , and I did that but I get the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 May 2016 11:35:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13831/could-not-power-up-debug-power-domain-with-nrfjproj-on-nrf52" /><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52850?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 11:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c342eaa-aef0-4e87-8f37-2b8fcec870dd</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Ok, this is resolved now. RST had got connected to some unpowered hardware that was pulling it low. RigDFU (flashed initially) ignored RST (I think it&amp;#39;s a bit that is set somewhere) and worked fine, but when doing &lt;code&gt;--recover&lt;/code&gt;that got changed, RST was used, and the whole module became totally unresponsive until I cut the offending trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52849?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 15:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12989170-930b-4b96-bc5a-3591f977e256</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Thanks for your help with this - I&amp;#39;m still hitting the same problems I&amp;#39;m afraid. I&amp;#39;m not entirely sure but I may not have ever got it going - it&amp;#39;s possible that I just ended up programming the on-board NRF52 by mistake!  Running &lt;code&gt;connect&lt;/code&gt; in &lt;code&gt;JLinkExe&lt;/code&gt; gives &lt;code&gt;Found SWD-DP with ID 0x2BA01477&lt;/code&gt; but then &lt;code&gt;Could not power-up debug power domain.&lt;/code&gt;. I soldered up a whole new board, and the first &lt;code&gt;nrfjproj --family NRF52 --recover&lt;/code&gt; definitely worked, but after that I&amp;#39;m getting no response. If you could have a go with a BMD-300 and see if you have any luck, it&amp;#39;d be hugely appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52852?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 13:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7552bf28-4d42-4e78-a03e-4e91c994a6f4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;If you read the schematic for the PCA10040 .. you end up none the wiser. At some point SWDIO and SWDCLK from the nrf52 must go to the ATSAM chip, however according to the names of the connections, they don&amp;#39;t. SWDCLK and SWDIO only go to the debug in connector, everything else is either EXT SWDIO or SH SWDIO etc and so I actually don&amp;#39;t know how the nrf&amp;#39;s SWDCLK and SWDIO are connected to the segger chip in the usual course of things.&lt;/p&gt;
&lt;p&gt;you should still use&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;--family NRF52 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;on your commands however. It definitely sets the segger up differently and if it thinks it&amp;#39;s talking to an nRF51, it&amp;#39;s not always going to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52851?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 13:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9861634f-ceb7-4575-9c67-53c412421108</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Fixed this. There&amp;#39;s a very helpful description of pins here: &lt;a href="https://devzone.nordicsemi.com/question/3863/pinout-of-p3-swd-on-pca10004-and-pca10005/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically P20 is for debugging shields. It seems like it should work, but for some reason it didn&amp;#39;t in my case&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;P20 is not a 0.1&amp;quot; version of 0.05&amp;quot; - the SWDIOs and SWCLKs are totally different&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So you might need to use P19 (the 0.05&amp;quot; version).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; It is possible that P20 would work. I had managed to accidentally connect the NRST pin to a chip that was pulling it low - which I believe caused the connection errors. By default the bootloader has flags set to ignore NRST, but when you do &lt;code&gt;--recover&lt;/code&gt; it removes those flags, NRST is used, and then the chip becomes basically unusable until NRST is left to go high.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52847?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 12:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a667d1a9-71e5-4aef-baae-c6a0b4105bca</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I don&amp;#39;t remember the memory protection bit being set on my BMD-300s, but they were engineering samples, perhaps it changed for the production release. I have to solder some up this week, will find out.&lt;/p&gt;
&lt;p&gt;So you have SWDCLK, SWDIO, 3.3V and GND connected, check them again just to be sure? How about going straight to JLink(Exe), get the latest segger JLink tools to make sure they&amp;#39;re new enough, get connected&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;JLinkExe -if swd -device nrf52 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See if you can at least get connected and have the JLink tell you what voltage it reads and whether it gets enough from the DAP to identify the chip. I wonder if the debug protection is enabled (didn&amp;#39;t think RIgado did that), in which case you&amp;#39;d need to get into the second debug port and reset the entire chip, which is what I assume &amp;#39;recover&amp;#39; does.&lt;/p&gt;
&lt;p&gt;I just noticed that your log file says NRF51822, I think you need to tell it you&amp;#39;re an nRF52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52846?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 11:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:078efb26-004f-4f44-8eb2-7f41655edfb7</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;It seems to have done something, because the Rigado bootloader isn&amp;#39;t there any more. It can also detect the chip&amp;#39;s serial number over SWD (0x2BA01477) and fails if I remove my device&amp;#39;s battery so the chip must have power on it. To be honest I can find very little documentation on what I should be using and how to connect it. I&amp;#39;m using P20 because it can be connected with 0.1&amp;quot; leads and it actually had some documentation that showed SWDIO and SWCLK which is what I knew I needed. So how should I be connecting a target device to it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: `Could not power-up debug power domain.` with nrfjproj on nRF52</title><link>https://devzone.nordicsemi.com/thread/52848?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 10:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4c9455d-1de2-477a-8834-922719a78e68</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It has done nothing, it just tried to open dlls to be able to communicate with segger chip, then it tried to detect the power of the nrf chip and it sensed there is no power. So it bails out.  I am not sure if the segger chips gets power from P20, why are you not using normal debug port P18 if you have the DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>