<?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>External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107722/external-j-link-to-flash-nrf52840-dk-chip</link><description>I am currently using a J-LINK EDU Mini to try and learn how to use an external device to flash the nrf board. I am running into trouble because I have connected my external J-LINK to my debug-in pins on the board, but segger embedded studio/ J-LINK commander</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2024 11:34:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107722/external-j-link-to-flash-nrf52840-dk-chip" /><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/483475?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 11:34:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e85c4b3-2d48-4312-babc-14aac1b30efc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please create a new ticket using the &amp;#39;support+&amp;#39;&amp;nbsp;button next to the search bar to post your question. The error message suggest that you are not passing a valid path to your binary file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/483471?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 11:24:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1e5cad1-f8b3-4e89-a2ed-a86b6b6efcb5</guid><dc:creator>Tan Ho</dc:creator><description>&lt;p&gt;Can anyone know that problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/483140?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 00:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b34248b2-3393-45bf-97e4-5c7908d03977</guid><dc:creator>Tan Ho</dc:creator><description>&lt;p&gt;I am sorry that I post my question on this forum because I cannot find a button to post.&lt;/p&gt;
&lt;p&gt;I also use a J-LINK EDU mini to flash the RAK4631 board. During J-Link Commander, I cannot open file &amp;quot;C:\demo\seggerdemo.bin 0x0&amp;quot; as the video instruction.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/models/j-link-edu-mini/#gallery-2"&gt;www.segger.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How can I open that file?&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/430637.Capture.PNG" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466094?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 16:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4350818b-887f-430f-b487-46789363a957</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Glad to hear you found the problem and thanks for the update. I hadn&amp;#39;t thought of this. The connector on the DK has a slot to prevent incorrect orientation, but it sounds like the connector on the J-Link&amp;nbsp;didn&amp;#39;t have that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466092?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 16:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f485513-09b6-48f7-be9d-cab2313d6f40</guid><dc:creator>Lewy2552</dc:creator><description>&lt;p&gt;Sorry for the spam, I was just updating with each step I found. It works now. Just flipping the way the wire was attached on the J-LINK device was the cause&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466091?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 16:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e64c32b-8cd6-49b6-b133-e088bc03ab29</guid><dc:creator>Lewy2552</dc:creator><description>&lt;p&gt;I decided to flip the way the wire was connected to the jlink and got this error message instead.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Preparing target for download
Executing Reset script TargetInterface.resetAndStop()
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: SYSRESETREQ has confused core.
Failed to power up DAP
Reset: Using fallback: VECTRESET.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.VECTRESET.
Reset: VECTRESET has confused core.
Reset: Using fallback: Reset pin.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Failed to power up DAP
CPU could not be halted
Reset: Core did not halt after reset, trying to disable WDT.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Failed to power up DAP
CPU could not be halted
Reset: Failed. Toggling reset pin and trying reset strategy again.
Failed to power up DAP
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: SYSRESETREQ has confused core.
Failed to power up DAP
Reset: Using fallback: VECTRESET.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.VECTRESET.
Reset: VECTRESET has confused core.
Reset: Using fallback: Reset pin.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Failed to power up DAP
CPU could not be halted
Reset: Core did not halt after reset, trying to disable WDT.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via reset pin
Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).
Reset: Reconnecting and manually halting CPU.
Failed to power up DAP
CPU could not be halted
CPU could not be halted
Failed to halt CPU.
CPU could not be halted
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466089?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 16:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6adf90e-c506-4891-aafb-1c603c063939</guid><dc:creator>Lewy2552</dc:creator><description>&lt;p&gt;Interesting. Yes, I have been able to use the on-board debugger for some time now. This was just a recent thing that I have been trying to learn how to use the external debugger. &lt;br /&gt;&lt;br /&gt;There would not be a driver or anything that I may be missing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466087?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 16:15:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c85b6ee-db69-48d5-bb77-828db4f47f89</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried to replicate your setup, but I have not been able to reproduce the issue.&amp;nbsp;Just to confirm, I assume you are able to program the nRF52840 with the on-board debugger?&lt;/p&gt;
&lt;p&gt;My setup:&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/pastedimage1706199092935v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;J-Link Commander:&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/pastedimage1706198971821v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466084?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 15:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cce62dc6-d550-4e4f-b8fd-b9b3bea23a7e</guid><dc:creator>Lewy2552</dc:creator><description>&lt;p&gt;Just tried that, it is giving me the same message on segger and jlink. Tried with both in default mode and nrf only mode&lt;/p&gt;
&lt;p&gt;&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/3817.swd.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466082?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 15:52:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059d8012-4378-4a29-8570-af7be607e57f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I see now that you selected the JTAG interface in J-Link Commander. However, the nRF chip does not have a JTAG interface. Please use SWD instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/466078?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 15:36:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:782bf3d4-1b9d-4a88-b624-e543cb808c91</guid><dc:creator>Lewy2552</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately it did not seem to do anything rather than turn off the on board LED&amp;#39;s. When I ran segger/J-LINK commander, I got the same pop up message. Additionally, I am still getting the pop up message telling me the J-LINK edu mini should only be used for educational purposes. What is reassuring about the pop up message is that I only get that when the nrf is properly powered. Is there any other ideas by chance?&lt;/p&gt;
&lt;p&gt;Here are the pop up messages and board:&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/2678.segger.png" alt=" " /&gt;&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/8117.commander.png" alt=" " /&gt;&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/4807.board.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/465982?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 12:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb10047-ef1f-4c82-b171-eaeaa3953260</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see anything wrong with your setup (thank you for including the picture). As a test, could you please set the switch shown in the picture below to the &amp;#39;nRF Only&amp;#39; position and try again? This will disconnect the on-board debugger from the nRF target.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External J-LINK to flash nRF52840 DK chip</title><link>https://devzone.nordicsemi.com/thread/465860?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 15:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:019ba292-538e-4393-b9bb-26a37436e4f8</guid><dc:creator>Lewy2552</dc:creator><description>&lt;p&gt;Here is also an image of my connections as I believe this would also be important to see&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/Image-_2800_4_2900_.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>