<?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>Can&amp;#39;t flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47164/can-t-flash-nrf52840-dongle-with-nrf-connect-programmer</link><description>Dear Nordic Team, 
 I can not flash my nRF52840 USB dongle with the nRF Connect Programmer application. 
 The window looks like this: 
 
 
 Erase / Read / Write functions on the right are greyed out. 
 
 As you can see the hex file contains a software</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 May 2019 12:22:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47164/can-t-flash-nrf52840-dongle-with-nrf-connect-programmer" /><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/188261?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 12:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2c24c9e-119b-4866-86e2-b81dbee7b059</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>[quote user="sonus89"]How can I set this parameter if I use ARMGCC instead of SEGGER emStudio?[/quote]
&lt;p&gt;&amp;nbsp;See &lt;a href="https://devzone.nordicsemi.com/nordic/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/188256?ContentTypeID=1</link><pubDate>Tue, 21 May 2019 12:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637edbdf-343e-4ab2-8216-9b3855a7e68e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;That&amp;#39;s weird. I have opened the ble_app_blinky for pca10059 (the 52840 dongle) (path:&amp;nbsp;nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_blinky\pca10059\s140\ses) &amp;amp; I receive a code &amp;amp; a debug section:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6461097b056c4b37ab895261990cbaab/pastedimage1558441044932v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I am using v4.12 of SES. It should also appear in newer versions of SES AFAIK. Beware that the dongle does not have an unboard debugger, as it does not have the Segger J-Link chip like the DKs have. If you want to debug, you&amp;#39;ll need to do this via a JLINK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/187059?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 16:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cff1eddf-ee59-4948-a988-9bcacc47e195</guid><dc:creator>sonus89</dc:creator><description>&lt;p&gt;Thanks very much! Now I can compile and upload all my project using ARMGCC + nRF Connect.&lt;br /&gt;The issue with SEGGER emStudio is that I simply don&amp;#39;t have a DEBUG section ( no Linker options! ) in the emStudio.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My Project options look like this:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557849608992v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is only &amp;#39;Code&amp;#39; section. I thought this is because of the license. Maybe I&amp;#39;m wrong.&lt;br /&gt;&lt;br /&gt;Thanks anyways!&amp;nbsp;&lt;br /&gt;You answer was super useful!! I think the softdevice location should be part of the Dongle Programming Tutorial to help others as well!&lt;br /&gt;&lt;br /&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/187058?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 15:56:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91b359dd-cc91-4fa6-8291-dea4dc3a1919</guid><dc:creator>awneil</dc:creator><description>[quote userid="76177" url="~/f/nordic-q-a/47164/can-t-flash-nrf52840-dongle-with-nrf-connect-programmer/187055"]1. where to find the softdevice hex &lt;br /&gt;2. what is the softdevice ID of the nRF52840 dongle[/quote]
&lt;p&gt;Neither of these is specific to the Dongle - they relate to the SoftDevice itself, irrespective of what board is used.&lt;/p&gt;
&lt;p&gt;The SoftDevice hex files are under&amp;nbsp;&lt;strong&gt;components\softdevice&lt;/strong&gt; in the SDK folder tree&lt;/p&gt;
[quote userid="76177" url="~/f/nordic-q-a/47164/can-t-flash-nrf52840-dongle-with-nrf-connect-programmer/187055"]I can&amp;#39;t use SEGGER Embedded Studio because I can simply not get a license[/quote]
&lt;p&gt;You don&amp;#39;t actually need one - just click &amp;#39;Continue&amp;#39; on the licence nag screen and it will all work!&lt;/p&gt;
&lt;p&gt;You know that you are &lt;em&gt;entitled&lt;/em&gt; to a licence, so there&amp;#39;s no problem there - it&amp;#39;s just Segger&amp;#39;s administrative ineptitude!&lt;/p&gt;
[quote userid="76177" url="~/f/nordic-q-a/47164/can-t-flash-nrf52840-dongle-with-nrf-connect-programmer/187055"]There is a folder called hex here:&lt;br /&gt;... \NRFSDK\examples\ble_peripheral\ble_app_blinky\hex\&lt;br /&gt;That folder contains HEX files. Are these the &amp;quot;SoftDevice&amp;quot; files ?[/quote]
&lt;p&gt;No - they are the pre-built hex files just for the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/187056?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 15:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a51aa9-9c77-4f00-8758-0c55b1a3e486</guid><dc:creator>sonus89</dc:creator><description>&lt;p&gt;I forgot to mention one question:&lt;br /&gt;The dongle programming tutorial says that the compiled &lt;br /&gt;HEX files FLASH_START parameter should be 0x1000&lt;br /&gt;&lt;br /&gt;How can I set this parameter if I use ARMGCC instead of SEGGER emStudio?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/187055?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 15:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cc9b70b-89dd-45dd-85c8-34f90453b722</guid><dc:creator>sonus89</dc:creator><description>&lt;p&gt;Unfortunately the dongle programming tutorial does not contain any information about &lt;br /&gt;1. where to find the softdevice hex &lt;br /&gt;2. what is the softdevice ID of the nRF52840 dongle&lt;br /&gt;&lt;br /&gt;I looked up the NRFSDK but no file or folder is named SoftDevice. :-(&lt;br /&gt;&lt;br /&gt;The dongle programming tutorial however says:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;For BLE examples the SoftDevice and MBR is already present, so the only thing you need to do is to update the Preprocessor Definitions&amp;quot;&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t use SEGGER Embedded Studio because I can simply not get a license and they don&amp;#39;t answer my e-mail thus I use armgcc instead which examples already have preprocessor definitions in the makefiles.&lt;br /&gt;&lt;br /&gt;There is a folder called hex here:&lt;br /&gt;... \NRFSDK\examples\ble_peripheral\ble_app_blinky\hex\&lt;br /&gt;That folder contains HEX files. Are these the &amp;quot;SoftDevice&amp;quot; files ?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/186938?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 11:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8da851e-58af-4ea4-a8d4-92b8d22c34a4</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>[quote user="sonus89"]Does it already contain a softdevice? ( MBR, Bootloader...etc. is the softdevice? )[/quote]
&lt;p&gt;&amp;nbsp;I believe the dongle comes pre-shipped with the MBR &amp;amp; bootloader. The MBR is never updated &amp;amp; it&amp;#39;s main purpose is to facilitate safe bootloader updates. Not sure it comes shipped with anything else. The softdevice is our version of the Bluetooth stack &amp;amp; is separate from both the MBR &amp;amp; the bootloader.&lt;/p&gt;
[quote user="sonus89"]If not: The only way to flash my dongle without a special hardware ( J-Link ) is with nrfutil or can I also use nRF Connect application for this purpose?[/quote]
&lt;p&gt;I would highly recommend flashing examples with the nRF Connect for Desktop Programmer application.&lt;/p&gt;
[quote user="sonus89"]&amp;nbsp;I am able to compile source code for the dongle with armgcc and SEGGER emStudio but the upload is extremely difficult. The dongle programming tutorial is also obsolete ( none of the URLs work in it )[/quote]
&lt;p&gt;&amp;nbsp;The dongle programming tutorial might have some links that are not working, but it is still &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;very useful&lt;/a&gt;. If you are using an example that requires the softdevice, remember to drag &amp;amp; drop the softdevice in addition to the application when programming via the Programmer app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/186640?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 10:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:074a84f4-377c-4962-b2a7-75ee173dda0d</guid><dc:creator>sonus89</dc:creator><description>&lt;p&gt;Thank you very much for the information!&lt;br /&gt;It was very useful! :-)&lt;br /&gt;My dongle is brand new.&amp;nbsp;&lt;br /&gt;Does it already contain a softdevice? ( MBR, Bootloader...etc. is the softdevice? )&lt;br /&gt;If not: The only way to flash my dongle without a special hardware ( J-Link ) is with nrfutil or can I also use nRF Connect application for this purpose?&lt;br /&gt;&amp;nbsp;I am able to compile source code for the dongle with armgcc and SEGGER emStudio but the upload is extremely difficult. The dongle programming tutorial is also obsolete ( none of the URLs work in it )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/186627?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55443562-d853-4f4e-a2a5-afd1fe71bae9</guid><dc:creator>awneil</dc:creator><description>[quote userid="76177" url="~/f/nordic-q-a/47164/can-t-flash-nrf52840-dongle-with-nrf-connect-programmer/186531"]What do you mean by &amp;quot;separate J-Link&amp;quot;[/quote]
&lt;p&gt;One of these:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557740600642v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/"&gt;https://www.segger.com/products/debug-probes/j-link/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is a standard tool for &lt;em&gt;&lt;strong&gt;any&lt;/strong&gt; &lt;/em&gt;form of microcontroller development - giving you access to program and debug your target.&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/bjorn-kvaale"&gt;Bjørn Kvaale&lt;/a&gt; says, the Nordic DKs come with this functionality built in.&lt;/p&gt;
&lt;p&gt;I would strongly suggest that you get a DK for learning &amp;amp; gaining familiarity with the product &amp;amp; the tools -&amp;nbsp;See:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47187/sparkfun-nrf52832-breakout-board-programming-without-nrf52-dk-through-serial-beefy-3-bootloader-and-arduino-ide-for-2-4-ghz-radio-communication-to-nrf24l01/186590#186590"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47187/sparkfun-nrf52832-breakout-board-programming-without-nrf52-dk-through-serial-beefy-3-bootloader-and-arduino-ide-for-2-4-ghz-radio-communication-to-nrf24l01/186590#186590&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47156/use-nrf52-for-smartwatch-spi/186567#186567"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47156/use-nrf52-for-smartwatch-spi/186567#186567&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(Other brands of debug probe are available)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/186550?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 06:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12ba645-0a5c-4b70-a90b-991747170242</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;A Segger J-Link is a component used to be able to flash nRF51/2 devices. The DKs (development kits) have an integrated Segger J-Link, while the dongle does not have this. Most likely, you have forgotten to upload the softdevice to the Programmer application. As soon as you upload the softdevice, in addition to the HRS application, you should be able to click on the Write button to program the 52840 dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/186531?ContentTypeID=1</link><pubDate>Sun, 12 May 2019 21:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eecc5c2-faaa-4ff9-b341-318512b5a362</guid><dc:creator>sonus89</dc:creator><description>&lt;p&gt;I don&amp;#39;t really understand. Sorry.&lt;br /&gt;What do you mean by &amp;quot;separate J-Link&amp;quot; ?&lt;br /&gt;What is a DK ?&lt;br /&gt;Can you please give a more detailed description?&lt;br /&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nRF52840 dongle with nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/186513?ContentTypeID=1</link><pubDate>Sat, 11 May 2019 21:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a4dc706-b5a5-4a1e-8247-e8e5f4c7bf10</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The dongle doesn&amp;#39;t have a J-Link on it - so you need a separate J-Link (possibly the one on a DK)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>