<?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>Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38276/using-nrf52840-dk-to-program-a-second-nrf52840-soc</link><description>Hello, 
 I have an nRF52840 chip ( Holyiot nRF52840 module ) and I want to program the chip using an nRF52840 DK. The Holyiot module is basically an nRF52840 mounted on a PCB. 
 https://www.aliexpress.com/item/holyiot-18010-Nordic-nRF52840-module-Bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Sep 2018 23:00:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38276/using-nrf52840-dk-to-program-a-second-nrf52840-soc" /><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149894?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 23:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c33201c6-acb1-4feb-8320-9c52a18dc320</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Hi, I just realized that there is no need to cut SB40. I was following the attached photo, but it seems that SDWCLK and SDWIO should be the other way around. I am wondering how you could program the holyiot.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/smallusbdongle.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149736?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 06:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9549ee31-64d1-47a6-80e5-31d44522fc6c</guid><dc:creator>David Fogelsong</dc:creator><description>&lt;p&gt;Glad you found your solution.&amp;nbsp; In my case I didn&amp;#39;t have to cut any trace lines, but I guess whatever works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149717?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 00:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f17687-6de6-4acc-b56c-3ad089b989bd</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Thanks @haakonsh.&amp;nbsp; Cutting SB40 indeed worked and I am now able to program the holyiot. Next step is to program with a BLE DFU. &lt;a href="https://devzone.nordicsemi.com/members/whitehare"&gt;David Fogelsong&lt;/a&gt; Any experience/suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149712?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 21:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c048c0d-abe7-4ed0-be73-3d460f48a177</guid><dc:creator>David Fogelsong</dc:creator><description>&lt;p&gt;I just recently successfully programmed an nRF52840 module using the nRF52840-DK: with the two connected all I had to do was drag the .hex file to the JLINK &amp;quot;drive&amp;quot; as usual, and the external module got programmed.&amp;nbsp; Maybe try that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149709?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 20:59:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a1e125-2fd7-4efc-94fd-065c690fc58c</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;The nRFGo Studio suggests to erase/recover or something like that. However, this does not work either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149708?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 20:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a75e800a-39cf-40c7-bc55-b6963f01812d</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Hi, thank you for your time. I didn&amp;#39;t cut SB40 as it is not mentioned here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fhw_debug_out.html"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fhw_debug_out.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I taught when detecting power on VTG, the onboard chip-set will no longer work and JLink is only used for the second device. I will try this too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149696?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 18:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:374012d0-4e35-4d78-95bc-c77d1008f532</guid><dc:creator>David Fogelsong</dc:creator><description>&lt;p&gt;That may be the problem that he&amp;#39;s having.&amp;nbsp; On some new modules you need to erase them first to remove the write protection.&amp;nbsp; After that, you don&amp;#39;t need to anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/149572?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 08:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c52f28fb-3541-46e9-99f0-db5f9756d60d</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I&amp;#39;ve got my hands on the Holyiot module, I&amp;#39;ll see if I can reproduce your issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Update:&lt;br /&gt;&lt;br /&gt;I had no problem connecting to the holyiot module. Most likely you forgot to cut SB40 or use the wrong pin mapping.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I powered the&amp;nbsp;module from a bench top power supply at 3V. On the DK I cut the power supply to the on-board nRF52840 by cutting SB40, connected VTG to DK-VDD and GND Detect to DK-GND. I then connected SWDIO and SWDCLK.&lt;br /&gt;&lt;br /&gt;After connecting the DK to my computer and powering the holyiot module I ran &amp;#39;nrfjprog -f nrf52 -e&amp;#39; and successfully erased the module.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e019e2731f9a4b2a9b1d38cdb75f6bbe/ProgrammingViaDK.jpg" alt=" " /&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e019e2731f9a4b2a9b1d38cdb75f6bbe/Module.jpg" alt=" " /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e019e2731f9a4b2a9b1d38cdb75f6bbe/VTG_2D00_VDD_5F00_GNDdetect_2D00_GND.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148483?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 16:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28fb9370-e210-4412-a8d3-e928ae3cb47e</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Yes, I have. As you can see above, I have connected these 4 pins + GND connect. I have also tried using a separate power source for Holyiot. Nothing changed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148482?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 16:53:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84edf347-4dfa-4778-bf9d-715dcc80e680</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;WhiteHare. I have connected these 4 pins + GND detect. It is not working.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148368?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 09:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65f431d5-62aa-40eb-9001-cb92fd4fbc72</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That is the j-link version that nrfjprog v9.7.3 is built for, therefor I think it is safe to assume it&amp;#39;s not a driver issue.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you read WhiteHare&amp;#39;s reply?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148367?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 09:47:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:781df141-63dc-4ea5-90ce-d925f8b8e468</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You&amp;#39;ll need to connect GND detect to GND as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148286?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 19:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:461d0655-d8b7-498b-9de5-c3bc7afd0c54</guid><dc:creator>David Fogelsong</dc:creator><description>&lt;p&gt;Seems like you should only need to make 4 connections: GND, voltage detect, SWDIO, and SWCLK.&amp;nbsp; Well, at least that&amp;#39;s certainly true for the nRF52832, and I assume (?) the nRF52840 as well.&amp;nbsp; All this assumes you are powering the HolyIOT device with its own separate power source, which you should be.&amp;nbsp; I have successfully programmed nRF52832 HolyIOT modules that way, and I presume the same holds true for the nRF52840?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148280?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 17:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a5d0798-fb02-4f23-93f7-c256c5945fe1</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;This returns:&lt;/p&gt;
&lt;p&gt;nrfjprog version: 9.7.3&lt;br /&gt;JLinkARM.dll version: 6.22g&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148157?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 09:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6dea9a8-bd58-40c1-9a64-eeab729510ce</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Follow up:&lt;br /&gt;&lt;br /&gt;I need you to call nrfjprog --version in order to get the JLink dll version. We have experienced som issues with certain jlink driver version.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/148096?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 19:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9f8a845-764d-4a38-8406-cb0475cd7484</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;Hi, I just tested with&amp;nbsp; nrfjprog -f NRF52 -e --log --program file.hex --chiperase and received the following errors and the attached log file:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1817.log.log"&gt;devzone.nordicsemi.com/.../1817.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/147867?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 23:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd06e754-14dd-47a7-8889-3278ee9010b9</guid><dc:creator>HSh</dc:creator><description>&lt;p&gt;I didn&amp;#39;t check with nrfjprog. Will let you know on Monday.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52840 DK to program a second nRF52840 SoC</title><link>https://devzone.nordicsemi.com/thread/147736?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 09:15:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0c36e9e-f353-4003-b358-a2bfd8b51e65</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;What error message do you get when you call nrfjprog with &amp;#39;-f nrf52 -e&amp;#39;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>