<?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 re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91019/how-to-re-program-my-nrf52840-dongle-with-nrf-connect-sdk</link><description>Hi, I&amp;#39;m new to the NRF Connect SDK, as well as nRF Connect for Desktop. 
 
 I have a nRF52840 Dongle and a nRF52840DK. 
 
 The nRF52840DK worked well. But I could not program the nRF52840 Dongle. 
 
 I tried to connect it with the J-Link USB. But after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Sep 2022 09:35:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91019/how-to-re-program-my-nrf52840-dongle-with-nrf-connect-sdk" /><item><title>RE: How to re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/384525?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 09:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce37c68-df79-4c93-baf0-c417fa9f26fa</guid><dc:creator>binhla</dc:creator><description>&lt;p&gt;&lt;span&gt;Dears, I had done bring back the Dongle with &amp;quot;Revert to production bootloader&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Many thanks.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was not able to use the DK, but a Jlink could make it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;First, cut the SB2,&amp;nbsp;soldered the SB1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Second, connected the Dongle with the Jlink as the photo.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Dongle ============ Jlink&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;VDD OUT ---------------&amp;gt; 3.3V&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;GND ----------------------&amp;gt; 3.3V&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SWDCLK ----------------&amp;gt; TCK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SWDIO--------------------&amp;gt; TMS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1662369973009v1.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Third, connect the Jlink to the computer. Using the&amp;nbsp;&lt;span&gt;nRF Connect Programmer, flash the&amp;nbsp;graviton_bootloader in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4034.pca10059_5F00_bootloader.zip"&gt;pca10059_bootloader.zip&lt;/a&gt;,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Four, cut the SB1, soldered the SB2&lt;/span&gt;&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/384509?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 08:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9607e1d6-00ae-4f0d-afc6-2cf31cc12141</guid><dc:creator>binhla</dc:creator><description>&lt;p&gt;Sorry for late repy, I was stuck on other.&lt;/p&gt;
&lt;p&gt;I am folowing the &amp;quot;Recover after an accidental UICR erase&amp;quot; guide.&lt;/p&gt;
&lt;p&gt;I use the nrf52840DK to program, but&amp;nbsp;I can not see the Dongle on&amp;nbsp;nRF Connect Programmer&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/pastedimage1662366700212v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;This is how I connect the Dongle to the DK.&lt;/p&gt;
&lt;p&gt;The SB2 is cutted and the SB1 is connected.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1662366979301v2.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/384157?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 13:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e231d9-5043-478c-8c40-0e942f76bc99</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Were you able to program the dongle? Please let us know where you get stuck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/382965?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 21:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24fc029c-c84e-4cbe-8562-0205b91bae06</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Sorry for the delay.&lt;/p&gt;
&lt;p&gt;It is not clear to me exactly how you deleted some of the contents or all of the contents of your dongle.&lt;/p&gt;
&lt;p&gt;When you are attempting to program the dongle, which steps are you following? Have you tried the steps in the section &amp;quot;Program application using nRF Connect Programmer&amp;quot; in the &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt;. Are you able to follow these steps? If this way to program the dongle does not work, where does it fail? &lt;/p&gt;
&lt;p&gt;Are you able to see or select the Dongle in Programmer? Could you please take a screenshot from Programmer?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Building Blinky for the dongle using nRF Connect SDK and VS Code:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You might already have done this, however, here are a few things to check:&lt;/p&gt;
&lt;p&gt;When you built the Blinky sample with nRF Connect SDK, did you remember to select the correct board when you added the Build Configuration?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661287710638v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Your application might currently be configured for the DK. If so, you could either change to the dongle, or add another configuration:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661287671001v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After you have built your application for the &lt;em&gt;nrf52840dongle_nrf52840&lt;/em&gt;, you may find the .hex to program here:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661288038063v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Program zephyr.hex to the dongle using the steps in &amp;quot;Program application using nRF Connect Programmer&amp;quot; in the &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Regarding your questions:&lt;/strong&gt;&lt;/p&gt;
[quote user="binhla"]If i already had erased the Dongle, will it work if I only flash the Blink example?[/quote]
&lt;p&gt;This depends which way you erased the dongle. I will get back to you on this if any of the other steps mentioned are not working. &lt;/p&gt;
[quote user="binhla"]Can you provide an image that can be programed into the Dongle so it will return to the original state?[/quote]
&lt;p&gt;Here is the image: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4034.pca10059_5F00_bootloader.zip"&gt;pca10059_bootloader.zip&lt;/a&gt;. Please see the section &amp;quot;Revert to production bootloader&amp;quot; in the mentioned tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/381967?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 10:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fef82135-f58f-4e8b-b416-e039ca64431f</guid><dc:creator>binhla</dc:creator><description>&lt;p&gt;Thank you for your promp response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will check it.&lt;/p&gt;
&lt;p&gt;If i already had erased the Dongle, will it work if I only flash the Blink example?&lt;/p&gt;
&lt;p&gt;Will the COM driver be available again?&lt;/p&gt;
&lt;p&gt;Can you provide an image that can be programed into the Dongle so it will return to the original state?&lt;/p&gt;
&lt;div id="eJOY__extension_root" class="eJOY__extension_root_class"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to re program my nRF52840 dongle with NRF Connect SDK?</title><link>https://devzone.nordicsemi.com/thread/381818?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2022 14:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381ef376-62c8-4685-bc31-7d1c5ac21de4</guid><dc:creator>helsing</dc:creator><description>[quote user=""]I&amp;#39;m new to the NRF Connect SDK, as well as nRF Connect for Desktop[/quote]
&lt;p&gt;Nordic has a lately launched &lt;a href="https://academy.nordicsemi.com/"&gt;DevCademy&lt;/a&gt; that is aimed towards getting started as well as learning new skills. Check out&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;nRF Connect SDK Fundamentals&lt;/a&gt;. The &lt;a href="https://academy.nordicsemi.com/topic/exercise-2-1/"&gt;nRF52840 DK is covered&lt;/a&gt; by this guide.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Programming the nRF52840 Dongle:&lt;/p&gt;
[quote user=""]the Dongle seem not able to work.[/quote]
&lt;p&gt;This is could be due to the UCIR being deleted.&lt;/p&gt;
[quote user=""]Does&amp;nbsp;the Dongle need a special boot image?[/quote]
&lt;p&gt;The J-link Lite supports only a target voltage of 3.3 V while the GPIO voltage (REG0) is by default 1.8 V on the nRF52840. A solution is to use a debugger that is able to program down to 1.8 V volt. Other solutions are suggested in our &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;dongle programming tutorial&lt;/a&gt;. See the section &lt;em&gt;Recover after an accidental UICR erase&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]And It should be kind if there is a Guide for programming the&amp;nbsp;NRF Connect SDK output .hex file into direct SOCs, not to the DK or Dongle boards.[/quote]
&lt;p&gt;This &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/common/ncp_programming_dk.html"&gt;section from the nRF Connect Programmer documentation&lt;/a&gt; covers custom boards(even though the section headline only mentions DKs and the nRF51 Dongle. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>