<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>nRF52840 Dongle Programming Tutorial</title><link>/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><description>This tutorial demonstrates how to adapt and program SDK example applications to the nRF52840 dongle using USB DFU. It also describes how to program the dongle via Serial Wire Debug (SWD) using an external debugger.</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Fri, 22 Apr 2022 09:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user106971</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;hy, can i use NRF52833 DK for development and put result to nrf52840 dongle? is that posible or not?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Mon, 04 Oct 2021 12:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user83646</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;More Info on the Trigger library? With what little I have found I don&amp;#39;t even know where to start.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Fri, 27 Aug 2021 10:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user83646</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If I use the nRF52840 DK as an external debugger to program the dongle, will I be able to get log output in the same manner I do when running the code on the DK? I have a situation where my code runs fine on the DK but does not properly reset when run on the dongle so I am in a situation where I am forced to do code development on the dongle to find out why it fails on the dongle but runs fine on the DK.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Thu, 26 Aug 2021 15:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user83646</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;One challenge I have is that a program that I developed on the DK works fine but when run on the dongle it fails after a call NVIC_SystemReset(). So I am in a desperate need of debugging the dongle, since the DK does not provide a perfect simulation of the dongle. &lt;strong&gt;Is there any tutorial for those who are stuck in my situation,&lt;/strong&gt; an app that works fine&amp;nbsp; on the DK does not work on the dongle.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Wed, 11 Aug 2021 08:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user106881</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Not exactly a simple workflow - how about a nice GUI to do this ? We don&amp;#39;t all have time to learn a toolchain to this level so a GUI to do it for us is the way forward.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Fri, 06 Aug 2021 13:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user103684</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi, I&amp;#39;ll like to test sniffer on a dongle nrf52840, I will download the hex file (sniffer_nrf52840dongle_nrf52840_7cc811f.hex) with programmer, but he give me an error: &amp;quot;Nordic DFU Trigger Interface was not found. Please physically reset device.&amp;quot; Do you know what I did wrong ?&lt;img src="/resized-image/__size/320x240/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-f373bf5a-5dfd-473e-8bdd-f152f3732a56/error_5F00_sniffer_5F00_download.png" alt=" " /&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Thu, 10 Jun 2021 19:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user83646</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;I have a Segger ES project using SoftDevice 7.2.0 running on the nRF52840 DK. However, when I try to follow the instructions here for programming the dongle using nRFConnect its an endless loop of failure. I always end up with a dongle that&amp;#39;s dead or in flashing reset mode (because I have to press the reset button). If I then pull the dongle and reinsert it, it does nothing. No flashing lite of any kind - unless I press the reset button again. If I do that, I once again see the correct memory layout in nRFConnect and the dongle continues to flash red. If I unplug it and plug it back in, it is dead again until I press the reset button. I can try and reflash forever in this endless cycle which is clearly pretty stupid. This dongle did work before I started this cycle. I had programmed it for the pc-ble-driver. The nrfProgrammer has likely destroyed my dongle.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Fri, 14 May 2021 07:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user103879</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Mon, 10 May 2021 11:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user103278</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;&amp;nbsp;I have&amp;nbsp;nrf52840 dongle that already has a hex file and need to overwrite that firmware with new firmware using new .hex file, found that to do sectorial erase we need a debugger that I cannot get now and want to program this dongle with new firmware without erasing it&amp;#39;s bootloader and required stuff for programming a dongle.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Mon, 07 Dec 2020 19:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user83646</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I have written a program on the PC using the pc-ble-driver and the nrf52480 dongle. What I would like to do is port the program to run on the dongle instead of the PC. Would this be possible and if so, would it be a big change?&amp;nbsp;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Sun, 18 Oct 2020 13:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user88530</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello, I tried to follow the article with instruction using the nRF5SDK 17.0.2; however, when I try to use the nRF programmer to upload the converted application, it displayed the memory mapping has conflicts.&lt;br /&gt;I have to follow the memory mapping of ble_app_blinky_pca10059_s140 example to get it to work:&lt;br /&gt;FLASH_PH_START=0x0&lt;/p&gt;
&lt;p&gt;FLASH_PH_SIZE=0x100000&lt;/p&gt;
&lt;p&gt;RAM_PH_START=0x20000000&lt;/p&gt;
&lt;p&gt;RAM_PH_SIZE=0x40000&lt;/p&gt;
&lt;p&gt;FLASH_START=0x27000&lt;/p&gt;
&lt;p&gt;FLASH_SIZE=0xd9000&lt;/p&gt;
&lt;p&gt;RAM_START=0x20002300&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x3dd00&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Thu, 09 Jul 2020 23:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user91679</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Are there any getting-started with software development for the same board? Please help?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Wed, 24 Jun 2020 07:35:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user76676</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi, I have an application in my nRF52840 Dongle. I would like to read the whole package from nrf connect. Can I know how do I save the file that I have read.&amp;nbsp;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Thu, 30 Apr 2020 16:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user24493</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;What are the options on powering it? Besides the USB. Is it possible to power it by a 3V coincell? Or 2xAAA maybe?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF52840 Dongle Programming Tutorial</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial</link><pubDate>Mon, 20 Jan 2020 19:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f373bf5a-5dfd-473e-8bdd-f152f3732a56</guid><dc:creator>user86970</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Hello Einar, I tried modifying blinky example PCA10056 to PCA10059 following the tutorial (changed preprocessor, changed linker, built with Segger, and programmed with nRF connect) but could not get it to work, where native blinky example PCA10059 does not have any issue. Would you be able to suggest anything I could have missed?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1223&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>