<?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>How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72818/how-to-download-firmware-nrf52832-to-the-other-nrf52832</link><description>Hi. 
 
 I am going to make my own PCB with nrf52832. 
 Before making it, I have to check debugging through P20 in nrf52832 DK. 
 
 I have two nrf52832 DKs with SDK17.0.0. 
 I will call first nrf52832 No1, and the other No2 for understanding. 
 So, I connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Mar 2021 13:48:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72818/how-to-download-firmware-nrf52832-to-the-other-nrf52832" /><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/302152?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 13:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5435c7d2-4114-40e3-b85f-41ae2d9713bb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Sorry for the slow response. I tested the same connections, and I am also not able to program the external board. Getting the same error.&lt;/p&gt;
&lt;p&gt;Programming through the 10 pin debug out/debug in connectors (P18/P19) work fine though. I see that P20 and P19 connectors have different inputs to the on-board debugger chip. It is possible that P20 can only be used for Debug output, and not input. The P18 connector is connected directly to the SWD lines of the nRF52832, without going through the J-Link debugger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you create your own&amp;nbsp; custom board, you will not face this issue, as you will not have the on-board debug chip and the SWD pins will go directly to the nRF52832 chip. If you want to test with the DK, you need to get a &amp;quot;breakout cable&amp;quot; for use with P18 connector.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/301242?ContentTypeID=1</link><pubDate>Mon, 22 Mar 2021 14:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e5e87bc-fd12-4547-915f-01468c7a2230</guid><dc:creator>ENENER</dc:creator><description>&lt;p&gt;hI Jorgen&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you tell me more advise?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300366?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 11:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23f33791-7e36-48f7-ba8d-9ef20c64dc8e</guid><dc:creator>ENENER</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/20210317_5F00_203005.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300361?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 11:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd17299-cbf5-47de-a024-3b8e47c3fa6f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I still think there is some issue with how board No2 is powered. Can you post an image showing how everything is connected, and how the board is powered? (Not a schematic, and actual image of your physical setup and connections)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300349?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 10:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25c30c18-158e-4dbb-a5bd-dae56d2ff62e</guid><dc:creator>ENENER</dc:creator><description>&lt;p&gt;I tried the way that you told me.&lt;/p&gt;
&lt;p&gt;But there is still error message. &lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;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;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300327?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 09:35:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e996883c-c897-458d-9566-1ee20098e10b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Try connecting GND from one board to GND on the other instead of connecting the &amp;quot;GND Detect&amp;quot; pins together. These pins are connected to the interface MCU only, so there may be different ground levels on the boards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300256?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 00:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f70a7295-f3b2-4041-886d-d36b046c9e5a</guid><dc:creator>ENENER</dc:creator><description>&lt;p&gt;&lt;span&gt;It is powered through the J2 USB port?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;- yes, But It was not successful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I tried applying 3.3 DC Voltage to VDD on No2 DK. Also the voltage level of VTG on No1 was 3.3v same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However it was not successful too.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300239?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 20:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c5430c4-b248-49fb-92cc-12402d297165</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Normally, this kind of error comes from the external board not being powered correctly, or some issues with the connections. What is the voltage level of VTG, and what is the input voltage of DK No2? It is powered through the J2 USB port?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300159?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 13:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72675312-5568-4db9-bbbc-5f65b42dc312</guid><dc:creator>ENENER</dc:creator><description>&lt;p&gt;I have tested this a few minutes ago. But it still works wrong.&lt;/p&gt;
&lt;p&gt;I am able to program not No2 but No1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I got error message like this &amp;quot;&lt;span&gt;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; in nRF Connect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I solve this?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300153?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 13:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9fa9f32-3a06-414c-a889-8c4c1db84429</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What exactly do you mean by &amp;quot;&lt;span&gt;But, the nRF Connect still only see No1&amp;quot;? As I mention, nRF Connect will only show the COM port and serial number of the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/interf_mcu.html"&gt;Interface MCU/J-Link debugger chip&lt;/a&gt;. You select the serial number of DK No1 in nRF Connect and it will program No1 or No2 based on if VTG is connected to VDD of the external board or not. Have you tested this? Are you not able to program the external board?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As a test, you can flash a blinky application to the No1 DK, then perform an erase operation from nRF Connect programmer after connecting VTG. If DK No1 still blinks, the programmer have programmed No2.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300100?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 11:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:006e7a5e-12ab-4636-b5cd-ab7e4eab4477</guid><dc:creator>ENENER</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I applied No2 to USB Power by&amp;nbsp;&lt;span&gt;Auxiliary battery.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I connected VDD, SWDIO, SWCLK and GND on No2.&lt;/p&gt;
&lt;p&gt;And, VTG, SWDIO, SWCLK and GND on No1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But, the nRF Connect still only see No1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you know what&amp;#39;s problem? Do I have to use other application than nRF Connect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to download firmware nrf52832 to the other nrf52832?</title><link>https://devzone.nordicsemi.com/thread/300048?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 09:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e44c394a-0eed-436d-89f9-2833ed02c9c0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In order for the debugger on DK No1 to detect that an external board is connected, you need to connect VDD from the external board to VTG pin. If the debug chip detects voltage on this pin, the external board will be programmed, else the on-board nRF52 chip on DK No1 will be programmed.&lt;/p&gt;
&lt;p&gt;If DK No2 is powered externally, there is no need to connect VDD_NRF together.&lt;/p&gt;
&lt;p&gt;When programming from the nRF Connect application (or nrfjprog), you will only see the debugger on DK No1, it is not possible to select from the application which nRF52 chip should be programmed, this is decided solely from the state of the VTG pin.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>