<?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>Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113532/manual-reflash-of-nrf-52840-dongle---failed-to-power-up-dap</link><description>I&amp;#39;m trying to reflash the dongle with the &amp;quot;connectivity firmware&amp;quot;. I previously used nRF Connect to do that, but with the latest version, the bootloader got somehow corrupted (it proposed to update the bootloader, i clicked no, then the device was no</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2024 08:42:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113532/manual-reflash-of-nrf-52840-dongle---failed-to-power-up-dap" /><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/499327?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 08:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d140e75c-5179-4044-b1a4-137fde9cbbf5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is a good point. For some reason I thoght it had the same limitation as J-Link Lite. Then there should be no problem using the J-Link Edu out of the box as long as you connect VTref to VDD out (or configure&amp;nbsp;VTREF of the probe to 1.8V).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/499316?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 08:14:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:325c6065-b5fd-467d-8d5b-e2331b912b20</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;What I don&amp;#39;t understand is that according to the J-Link EDU datasheet&amp;nbsp;&lt;a id="" href="https://www.segger.com/products/debug-probes/j-link/models/j-link-edu/"&gt;https://www.segger.com/products/debug-probes/j-link/models/j-link-edu/&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;/p&gt;
&lt;table class="table"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th scope="row"&gt;Target interface voltage (V&lt;sub&gt;IF&lt;/sub&gt;)&lt;/th&gt;
&lt;td&gt;
&lt;p&gt;1.2V ... 5V&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So it should work with the default 1.8V. And I verified it, because i saw the RST Pin on the J-Link EDU at 1.8V (Always HIGH until a RST is needed then it is pulled down, right ?). In this case, why the PRO is needed ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/499311?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 08:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abbaa00a-5527-4844-9cfc-2503ec41a2dc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. If you are not able to get the&amp;nbsp;J-Link PRO working, and alternative could be to power the dongle with 3V as explained under &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dongle/page/UG/nrf52840_Dongle/hw_power_ext_reg_source.html"&gt;External regulated source&lt;/a&gt;, and use the&amp;nbsp;J-Link EDU you have which is working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/499231?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 13:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c720951-fdb9-4ef6-a4e5-71a037681dd6</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;Hi Einar,&lt;br /&gt;&lt;br /&gt;Sorry for the delay.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I just realized that I got timeout error &amp;quot;could not connect to target&amp;quot; with J-Link PRO and not with the J-Link EDU (I tried to flash other chip which worked previously and got timeout error with PRO model)&lt;br /&gt;&lt;br /&gt;So I may have an issue with t he J-Link PRO on my computer but that&amp;#39;s weird, i need to investigate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496939?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 10:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4bf22ef-529c-409b-bd4d-0674e5a009af</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The reset pin&amp;nbsp;is available on the P1 pad (and the SW1 button). You do not need a reset pin in order to program or debug, though.&lt;/p&gt;
&lt;p&gt;Can you double check and show which pins you are using on the dongle as well and double check that you are using the correct ones (I would suggest soldering on a pin header on P1)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496906?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 07:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b77f2684-0ae5-4d43-a278-89c007947845</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes it uses 1.8V. I see it on the pin output of the J-Trace PRO. Decreasing SWD frequency to 1 kHz does nothing.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For reference, these pins are connected on the J-Trace :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722842160487v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;VTref on VDD OUT&lt;/p&gt;
&lt;p&gt;SWDIO on SWDIO&lt;/p&gt;
&lt;p&gt;SWCLK on SWCLCK&lt;/p&gt;
&lt;p&gt;GND on GND&lt;/p&gt;
&lt;p&gt;From times to times i try to connect the RESET pin on the reset pin located in the P1 Pad below (this is the only reset pin, right ?) but it changes nothing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496772?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 08:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2059784d-3c63-496e-932a-0ca5615c8a94</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you. I upload the file here for reference:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/31364.log.log"&gt;devzone.nordicsemi.com/.../31364.log.log&lt;/a&gt; (you can also upload fiels by drag-and-drop or by selecting Insert -&amp;gt; Image/video/file.&lt;/p&gt;
&lt;p&gt;The log shows that the debugger is not able to communicate with the nRF for some reason. Have you verified that it use 1.8V signals? Also, can you verify the connections? If there are still problems, you could try to lower the SWD frequency by using the clockspeed option with nrfjprog (for instance&amp;nbsp;--clockspeed 500 to use 500 kHz) and see if that makes a difference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496676?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 15:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:415e03e3-5e8f-4478-a51a-3db64ac70c70</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;Ohhh OK I didn&amp;#39;t understand that log file was generated on the filesystem ! Here&amp;#39;s the extract :&amp;nbsp;&lt;a id="pasteurl" href="https://privatebin.net/?5c84dbf07f5adf3c#ACVzqRK8AVJ2FNvwAh5Wt9jB4e4ZDBXBJGSzFsGyS2z1" rel="nofollow"&gt;https://privatebin.net/?5c84dbf07f5adf3c#ACVzqRK8AVJ2FNvwAh5Wt9jB4e4ZDBXBJGSzFsGyS2z1&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496615?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 12:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e042f9c-c5e6-4a95-8102-6809b2b813c0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That makes sense. Can you upload the generated log file? As you did not specify a path after --log you should find a file named &amp;quot;log.log&amp;quot; in the folder where you called nrfjprog from.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496600?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 11:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf3b42c4-7947-411b-bd4d-bd3243cd8883</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;The debug probe i&amp;#39;m using is the jLink pro right now :&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722512090631v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;You are right VDD OUT is 1.8V, so REG0 is at its default value so i guess IUCR has been erased.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The output of &amp;quot;nrfjprog --recover -f NRF52 --log&amp;quot; is :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722512146640v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;It searchs for 10 seconds (hence the 10 000ms timeout) and then timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496569?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 08:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b879ca0-86c8-4ce6-8ecf-799ee307975e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="TE_Leo"]Is there any specfic configuration to enable on the probe ? Or is it plug and play.&amp;nbsp;[/quote]
&lt;p&gt;You can configure VDD manually, but if you connect VDD (which I suspect is 1.8V on your dongle at this point) to the J-Link, it should automatically juse that voltage for SWD. For this you can use the VDD OUT connection on the dongle (see the &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dongle/page/UG/nrf52840_Dongle/hw_drawings.html"&gt;hardware drawing&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Can you run nrfjprog with debug logging (--log) and upload the log here? I suspect there are still problems communicating with the nRF via SWD as you get -21, but perhaps the log will tell us more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496440?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 14:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0553724-bcb1-40dc-98d9-6ae337e8f09c</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;Ok after using the jlink pro, the result are the same, i&amp;#39;ve got timeout error. Is there any specfic configuration to enable on the probe ? Or is it plug and play.&amp;nbsp;&lt;br /&gt;Error msg is the same on nrf COnnect programmer &amp;quot;TIME_OUT&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496430?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 13:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40855c45-57ac-4a26-9f94-dfa2b61392a2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The dongle is always powered by 5V (USB VBUS), but internally the output of the high voltage regulator REG0 is used. And after a full chip erase this will be 1.8 V. And the J-Link EDU only support 3.3V (though 3V will work fine). 1.8 V will not though. So&amp;nbsp;you either need to &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dongle/page/UG/nrf52840_Dongle/hw_power_ext_reg_source.html"&gt;power the dongle externally while recovering&lt;/a&gt; (power it with 3V) or use another debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496429?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 13:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cd9a772-dd23-4f31-8272-33062a3244e7</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;You right the VDD OUT is 1.8V so i guess the IUCR has been erased.&lt;br /&gt;&lt;br /&gt;Iborrowed a Jlink PRO from a colleague, and the output of the same command i posted above is as follow :&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722433038958v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496425?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 13:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:782178e9-7f8d-407a-9b80-5285b0f796b5</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;I&amp;#39;m powering up the Dongle through an external alimentation with 5V on VBUS.&lt;br /&gt;I&amp;#39;m using Jlink EDU&amp;nbsp;&lt;a id="" href="https://www.segger.com/products/debug-probes/j-link/models/j-link-edu/"&gt;https://www.segger.com/products/debug-probes/j-link/models/j-link-edu/&lt;/a&gt;&amp;nbsp;and i connected its VTREF to the dongle VDD_OUT&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Is the problem related to this debug probe ? Like mentionned inside the tutorial you linked, the probe does not adapt its SWD voltage level ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496423?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 12:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2591707-3a0e-439e-9eda-4c81f761c953</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which type of debugger are you using? If you are using something like the nRF DKs as debugger those are fixed to 3V, and that can be problematic if you have done a full erase of a donge, as that will also erase the high voltage regulator configuration in the UICR, making it use 1.8V as VDD, making the SWD signal voltage also 1.8 V. If that is the case, please refer to the&amp;nbsp;&lt;em&gt;Recover after an accidental UICR erase&lt;/em&gt; section in the &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496356?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 08:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce95657a-47c4-4098-81df-d26c16af554f</guid><dc:creator>TE_Leo</dc:creator><description>&lt;p&gt;Thanks for your answer.&lt;br /&gt;&lt;br /&gt;I used nrfjprog and here&amp;#39;s the output of the command &amp;quot;nrfjprog --recover -f NRF52&amp;quot; :&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1722414223083v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With or without the reset line connected. By the way, to re-flash the reset line is not needed, right ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Manual reflash of nRF 52840 Dongle - Failed to power up DAP</title><link>https://devzone.nordicsemi.com/thread/496275?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 15:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1d53eb1-adcc-4c8c-9d2d-90d536547b08</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Connect the RESET line too and let nrfjprog &amp;quot;recover&amp;quot; the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>