<?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>Programming with external j-link</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113448/programming-with-external-j-link</link><description>Hello, I have a few questions about sending code via J-Link. We are doing our project on vscode with 2.6 sdk. When working with nrf5340dk, flash via vscode was enough. However, we will need to send code to the cards we will design via external j-link</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Aug 2024 00:22:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113448/programming-with-external-j-link" /><item><title>RE: Programming with external j-link</title><link>https://devzone.nordicsemi.com/thread/498739?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 00:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8a59a31-f1a4-4aef-8ef6-c8001306373c</guid><dc:creator>PjGlasso</dc:creator><description>&lt;p&gt;Hi there,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use the nRF52840_DK and the JLink (7.94e) the SWD connection to a Xiao nRF52840 BLE Sense MCU&lt;/p&gt;
&lt;p&gt;I power the target on first&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I power on the nRF52840_DK&amp;nbsp; making sure the 4 wires are connected to P20 from the swd on Xiao expansion board&lt;/p&gt;
&lt;p&gt;I open the Nrf_connect for Desktops , Click programer and select the DK as the source.&lt;/p&gt;
&lt;p&gt;the status window will tell you which driver and DLL is loaded, depending on the settings it may open and start a read attempt automatically . I know by the Revision and Product family ID in the top right window.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/DK_5F00_JLINK_5F00_EXT_5F00_rev2_5F00_layout.png" /&gt;&lt;/p&gt;
&lt;p&gt;When I turn everything off and leave the power off on the target custom board, The DK reads its internal SOC (Rev 3) when powered up.&lt;/p&gt;
&lt;p&gt;&lt;img style="height:223px;max-height:223px;max-width:408px;" alt=" " height="223" src="https://devzone.nordicsemi.com/resized-image/__size/816x446/__key/communityserver-discussions-components-files/4/No-Softdevice.png" width="407" /&gt;&lt;/p&gt;
&lt;p&gt;both boards are running the Nordic_Blinky_LBS code, built for two different board targets. I only had to add the button &amp;quot;D1&amp;quot; to my custom board device tree as b1 , &lt;strong&gt;&lt;span style="color:#ff0000;"&gt;The Kconfig file options generates a uf2 file build for dragging and dropping to the custom target&lt;/span&gt;&lt;/strong&gt;. works really well.&lt;/p&gt;
&lt;p&gt;you can use the other file types as well with the programmer app and Jlink&amp;nbsp;&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;p&gt;GL :-) PJ&lt;/p&gt;
&lt;p&gt;here is the setup.&lt;/p&gt;
&lt;p&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/WIN_5F00_20240812_5F00_18_5F00_54_5F00_57_5F00_Pro.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming with external j-link</title><link>https://devzone.nordicsemi.com/thread/495832?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 13:38:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee8055b7-1946-4c0e-8a08-965f9a48af3d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;We&amp;#39;ll continue in the ongoing case. Closing this as a duplicate.&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>