<?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>program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface</link><description>hi, 
 is it possible to use a j-link programmer like this one in the photo, to program the adafruit nrf52840 board ? is the development procedures will be same as using a nrf52840 dk ? 
 will also use the SES IDE for that ! 
 - if so, is that we need</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2019 13:20:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface" /><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212830?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 13:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f40459a-0c4f-4e0b-a312-0466064f7716</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f601.svg" title="Grin"&gt;&amp;#x1f601;&lt;/span&gt; yes that&amp;#39;s what i think also !&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface/212827"]The only thing to note is that the J-Link on the DK only support 3.3V tagets ...[/quote]
&lt;p&gt;yes , the adafruit boards are 3.3v targets . so it should be fine for our uses !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212827?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 13:13:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ada83dac-9dfe-4e95-8c9a-44d3734b6dae</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You can buy a &lt;em&gt;&lt;strong&gt;very&lt;/strong&gt; &lt;/em&gt;large number of DKs for the price of one J-Link!&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f62e.svg" title="Open mouth"&gt;&amp;#x1f62e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The only thing to note is that the J-Link on the DK only support 3.3V tagets ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212825?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 13:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d55f2622-76c5-44d6-a5e6-796672bf72a8</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;i still don&amp;#39;t have it !&amp;nbsp; thought getting one. but , i&amp;#39;ll try to get a DK instead&amp;nbsp; , it&amp;#39;ll be better !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212824?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 13:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb1da90-3de7-46c3-9926-72a6a62371e8</guid><dc:creator>awneil</dc:creator><description>[quote userid="79816" url="~/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface/212814"]so getting a DK would be far easier then using these boards[/quote]
&lt;p&gt;I would certainly make for a far easier &lt;em&gt;&lt;strong&gt;start&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Once you&amp;#39;ve gained familiarity &amp;amp; experience, it will be easy to move on.&lt;/p&gt;
&lt;p&gt;Note that the J-Link in the DK can be used to program &amp;amp; debug other boards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212822?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 12:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c60fa56-6c71-44b2-9a36-2325f28fe5c2</guid><dc:creator>awneil</dc:creator><description>[quote userid="83772" url="~/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface/212811"]Your JLink[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/abdelali"&gt;abdelali&lt;/a&gt; - it&amp;#39;s not clear if you already have a J-Link, or were just posting the picture for illustration?&lt;/p&gt;
&lt;p&gt;Note that the Nordic DK comes with a built-in J-Link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212814?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 12:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f700654a-0726-45c8-a8f2-20bc6e69d38b</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;thanks a lot&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;&amp;nbsp;for the clarifications , and the link !&lt;/p&gt;
&lt;p&gt;ok, so getting a DK would be far easier then using these boards . we&amp;#39;re using this board cause of it&amp;#39;s small factor , and it easily fits on our prototype , we also don&amp;#39;t need much pins !&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ok , i think will try to get a nrf52840 DK , rebuild the firmware test it then flash it to the adafruit nrf52840 board .&lt;/p&gt;
&lt;p&gt;thanks again .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212812?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 12:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1edac4ea-5e91-476e-b96c-db09be8ff79f</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;thanks a lot &lt;a href="https://devzone.nordicsemi.com/members/jayben"&gt;Jayben&lt;/a&gt; for the guidelines !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212811?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 12:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4357e7f2-a6a6-4e09-88d0-23f3141585d4</guid><dc:creator>Jayben</dc:creator><description>&lt;p&gt;Your board has the standard 10-way 0.05&amp;quot; pitch Cortex Debug Connector, see &lt;a href="http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Your JLink should work fine, but unfortunately it has a 20-way 0.1&amp;quot; pitch connector (see &amp;#39;legacy connector&amp;#39; in that document), so you&amp;#39;ll need an adaptor between the two.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t have one of those, either trawl the Internet, or make one yourself - the easiest way to do that is to get ribbon cables for the two connectors (a 0.05&amp;quot; pitch 10-way to 10-way, and 0.1&amp;quot; pitch 20-way to 20-way), chop both in half, then solder the necessary wires together; you&amp;#39;ll need to heatshrink the connections for mechanical strength. The only signlas you need are SWDCLK, SWDIO, 3.3V supply, and ground.&lt;/p&gt;
&lt;p&gt;To learn more about SWD on the NRF52 (albeit using OpenOCD), see &lt;a href="https://iosoft.blog/arm-gcc-lean-nordic-nrf52/"&gt;https://iosoft.blog/arm-gcc-lean-nordic-nrf52/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: program the adafruit nrf52840 with a j-link programmer using the SWD interface</title><link>https://devzone.nordicsemi.com/thread/212805?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 11:58:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe4025b1-1068-499f-8764-f0478140f66f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;If the board provides access to the SWD pins, then of course you can.&lt;/p&gt;
&lt;p&gt;It probably comes with a Bootloader - so you&amp;#39;d probably want to do a full chip erase first.&lt;/p&gt;
[quote userid="79816" url="~/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface"]is the development procedures&amp;nbsp;will be same as using a nrf52840 dk[/quote]
&lt;p&gt;It&amp;#39;s the same chip. The chip neither knows nor cares what board it is on.&lt;/p&gt;
&lt;p&gt;However, &lt;strong&gt;you&lt;/strong&gt; will have to adapt &lt;em&gt;&lt;strong&gt;your&lt;/strong&gt; &lt;/em&gt;code to account for the different connections &lt;em&gt;outside&lt;/em&gt; the chip.&lt;/p&gt;
&lt;p&gt;These questions suggest that you are not very familiar with this?&lt;/p&gt;
&lt;p&gt;If so, I would &lt;em&gt;&lt;strong&gt;strongly&lt;/strong&gt; &lt;/em&gt;recommend that you &lt;strong&gt;start on a Nordic DK&lt;/strong&gt; - that will be a far easier place to learn &amp;amp; get familiar with the chip and the tools&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52269/my-first-test-with-nrf52840-on-ms04sf7_v1-0-from-minew-dongle/211367#211367"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52269/my-first-test-with-nrf52840-on-ms04sf7_v1-0-from-minew-dongle/211367#211367&lt;/a&gt;&lt;/p&gt;
[quote userid="79816" url="~/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface"]is that we need an adapter or, for the JTAG to SWD ?[/quote]
&lt;p&gt;The nRF52 have SWD only - not JTAG.&lt;/p&gt;
&lt;p&gt;Again, getting a DK will take care of all this for you!&lt;/p&gt;
[quote userid="79816" url="~/f/nordic-q-a/52779/program-the-adafruit-nrf52840-with-a-j-link-programmer-using-the-swd-interface"]there is another version that comes with the SWD [/quote]
&lt;p&gt;Version of what?&lt;/p&gt;
&lt;p&gt;For details about Adafruit products, you will need to contact Adafruit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>