<?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 custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69740/programming-custom-nrf52840-chip</link><description>Hi, 
 We are developing a system with nRF52840 chip and we have to feed the soft device (s140) hex file &amp;amp; our application hex file into custom board which we are developing. Actually, i don&amp;#39;t have any idea on this. So, please let me know the procedure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 11:16:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69740/programming-custom-nrf52840-chip" /><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/303450?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 11:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1ab01cf-3786-4f31-bcef-5b5597f04eea</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can find the pinout for the 20 pin SWD connector here: &lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/interface-description/#swd-and-swo-also-called-swv-compatibility"&gt;https://www.segger.com/products/debug-probes/j-link/technology/interface-description/#swd-and-swo-also-called-swv-compatibility&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Stian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/302681?ContentTypeID=1</link><pubDate>Wed, 31 Mar 2021 09:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:478ea349-dc42-479e-a5f9-08587c828035</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Hope you&amp;#39;re doing well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have one question. Actually, I want to program my custom board via &lt;strong&gt;J-link Flasher PRO&lt;/strong&gt; and My custom board has &lt;strong&gt;SWDIO,SWDCLK,VCC, and GND Headers&lt;/strong&gt; to program the board. The query is, &lt;strong&gt;How do I connect&lt;/strong&gt; my Flasher PRO (which has &lt;strong&gt;20 pin connector&lt;/strong&gt;) to program my custom board (which has &lt;strong&gt;4 PIN header&lt;/strong&gt;). It would also be helpful if you let me know how to use J-link Flasher PRO for programing purpose. Kindly, do the needful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Roshan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/293342?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 13:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16f9c425-1470-48b6-a91f-19f98a363551</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Fine stian, Thanks for the information.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/293309?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 11:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d104f544-469f-4bd1-949e-6c1b7e0f2822</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Yes, that is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/293303?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 11:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4dc1ec3-45ca-4ad6-aa12-6e8f1b736da3</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Ok stian, I will try with the P18 &amp;amp; P19 pins as you have mentioned. But, What if I want to program my custom board? Do I want to connect my custom board SWDIO,SWDCLK pins to P20 pin in DK to program?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/293269?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 09:50:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e6b85c9-ccc5-44fa-8dc7-a88d34d84408</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, the P20 header is only for debug output. You need to connect it to the P18 &amp;quot;Debug in&amp;quot; header on the external DK. The easiest is to use a 10 pin SWD cable from P19 &amp;quot;debug out&amp;quot; to P18 &amp;quot;debug in&amp;quot;, and connect VDD and GND from the main DK to the external supply header on the external DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/293244?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 08:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e072c46c-c484-431d-b283-999472423c5b</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Stian,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was trying to program nRF52840 DK with external (another) nRF52840 DK. I am using the connections as mentioned below,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Main DK of VDD to external DK VDD.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. VTG(pin 3) &amp;amp; VDD(pin 2) are shorted in main DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. SWDIO and SWDCLK of main DK to external DK (SWDIO,SWDCLK)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. GND on main DK from &lt;strong&gt;P1&lt;/strong&gt;&amp;nbsp;-&amp;gt; GND&amp;nbsp;Detect on main DK to &lt;strong&gt;P20&lt;/strong&gt; to GND Detect on external board on &lt;strong&gt;P20.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Above are the connections I made and I am getting error as mentioned below,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. In nRF connect App:&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;&amp;quot;Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode CouldNotOpenDevice (0x4) Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)&amp;quot;.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. In Segger Embedded Studio: &amp;quot;Failed to connect to target.&lt;br /&gt;No idcode detected.&lt;br /&gt;Please check connection and Target Interface Type&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE :&amp;nbsp;&lt;/strong&gt;External DK is not connected to any power source. it&amp;#39;s only connected to VDD of main DK to VDD of external DK.&lt;/p&gt;
&lt;p&gt;Kindly, do the needful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Roshan.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/292274?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 14:19:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d5d6fae-530d-4fb5-b9e2-ed26b4488180</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Ok&amp;nbsp;&lt;span&gt;Stian, we will use&amp;nbsp;&lt;strong&gt;nrfjprog&amp;nbsp;&lt;/strong&gt;to flash our custom board. If anything else, will ping you in the same case. Thanks!!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/292141?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 08:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e1fce35-25cc-4dfa-8c87-d7cfc8c2e554</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Yes, you can use Segger embedded studio, but I would suggest using &lt;strong&gt;nrfjprog&lt;/strong&gt; inside the Command line tools package. It gives you more options.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/292111?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 05:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97c6032b-e197-4935-a003-b780c3804021</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Stian,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can we use segger embedded studio directly to flash our custom nRF chip via nRF52840 SWDIO and the SWDCLK pins&amp;nbsp;?? or we need any separate application to program custom chip?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/286297?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 13:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ec0729e-ffee-4c2f-9797-8b5efc9aeacf</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You will have to ask Segger for the production programmer license/hardware:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/support/technical-support/"&gt;https://www.segger.com/support/technical-support/&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/286266?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 10:57:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de68f654-5f30-462f-a098-35c2cb8138bb</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="4556" url="~/f/nordic-q-a/69740/programming-custom-nrf52840-chip/286232#286232"] The nRF52 DK is not designed to be a high volume production programmer.[/quote]
&lt;p&gt;Ya got it and is that any commercial license we should purchase for programming custom board for nRF52840 IC?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Roshan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/286232?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 08:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7fff252-441e-4270-aae1-39b22954984c</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, It depends on your needs. The nRF52 DK is not designed to be a high volume production programmer.&lt;/p&gt;
&lt;p&gt;You can check out this application note: &lt;a href="https://infocenter.nordicsemi.com/topic/nwp_027/WP/nwp_027/intro.html?cp=16_9"&gt;https://infocenter.nordicsemi.com/topic/nwp_027/WP/nwp_027/intro.html?cp=16_9&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/286222?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 07:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed610f9d-5d92-4e77-a8e0-94aab30fd293</guid><dc:creator>Roshan Prajapati</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;We have &lt;strong&gt;nRF52 DK&lt;/strong&gt; and we will use this method to program our custom board. But,&lt;/p&gt;
&lt;p&gt;Is that &lt;strong&gt;safer way&lt;/strong&gt; to program our custom board for commercial usage &lt;strong&gt;through nRF52 DK&lt;/strong&gt;?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Roshan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programming custom nRF52840 chip</title><link>https://devzone.nordicsemi.com/thread/286043?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 12:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f00182c3-4105-40cc-9b2b-1dc985644020</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, you program the nRF52840 through the SWD bus. You need a debugger that supports the SWD interface. Preferably a JLink debugger. Or, if you have an nRF52 DK you can use the debug out header to program your custom board. You need to connect the debugger to the SWDIO and the SWDCLK pins on your custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>