<?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>Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70436/cannot-program-nrf52840-dongle-with-nrf-connect-sdk-hex-files</link><description>Hi there, 
 I recently purchased some nRF52840 Dongles for evaluation. 
 I installed the nRF Connect SDK v1.4.1 and attempted to build a few of the sample projects using the SES(Nordic Edition) v.5.10b and v5.30a, targeting the nRF52840. I was able to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2021 14:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70436/cannot-program-nrf52840-dongle-with-nrf-connect-sdk-hex-files" /><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289818?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 14:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:440bb913-a3b0-4b2e-82a7-69cf72314ddc</guid><dc:creator>LukeT</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thank you for this additional information. I&amp;#39;ll give it a try and report back if.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Luke&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289801?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 14:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dac7f3dd-fa28-4ef7-8ed7-f33162d7bc34</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That guide is for the nRF5 SDK, so it won&amp;#39;t be similar as working with NCS. Are you trying to flash as described in that guide, using the bootloader from the nRF5 SDK? If so, you shouldn&amp;#39;t be able to flash any of the NCS examples.&lt;/p&gt;
&lt;p&gt;Instead, you should follow&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.1/zephyr/boards/arm/nrf52840dongle_nrf52840/doc/index.html#programming-and-debugging"&gt;this guide for programming the nRF52840 Dongle in NCS&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re correct that in most of the examples in the nRF5 SDK the only change to be made is to change&amp;nbsp;the flash and RAM memory layout, and that selecting the correct board in NCS should handle this. However, another issue that might arise is that there are things that are not supported on the dongle that might be a part of the samples in NCS, such as using printk, which you can read about in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70228/how-do-i-use-printk-with-nrf52840-dongle-using-ncs-zephyr-the-nrf-sdk-has-the-nrf_log_backend_usb_enabled-option-that-could-be-used-the-ncs-does-not-have-any-examples"&gt;this case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please let me know whether using the guide I linked for programming the dongle fixes your issue or not.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289494?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 15:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:515eda7a-f93b-4196-8bad-7f87841a8420</guid><dc:creator>LukeT</dc:creator><description>&lt;p&gt;Hi Marte, thank you for your response and pointing that out.&lt;/p&gt;
&lt;p&gt;I had assumed (based on the information provided &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;here&lt;/a&gt;)&amp;nbsp; that the most of the SDK projects could be adapted to work on the nRF5280 dongle by adjusting the memory layout? As I mentioned previously, I don&amp;#39;t have the options to set these via the linker and precompiler in the SES(Nordic edition), so I assumed that by selecting the Board Name in the &amp;quot;Open nRF Connect SDK Project&amp;quot; widget, this gets abstracted away and the memory layout is auto configured.&lt;/p&gt;
&lt;p&gt;Luke&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289331?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 06:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8674050a-7ffa-4cd0-a0e8-b661a20e67da</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you checked whether the examples you are having an issue with is supported on the nRF52840 Dongle? You can see supported boards under the &amp;quot;requirements&amp;quot; part in the documentation of the example, like&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/samples/bluetooth/central_uart/README.html#requirements"&gt;here&lt;/a&gt;. If the dongle is not on the list of supported boards, we cannot guarantee that the example will work out of the box on the dongle.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289291?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 17:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fbc3b1f-398b-4108-8b65-1fea8b7019fc</guid><dc:creator>LukeT</dc:creator><description>&lt;p&gt;Will mark this as resolved by verifying my suggested answer.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d also like to point out that even selecting the correct boardname this didn&amp;#39;t fix the issue for all of the sample SDK projects, so there still seems to be an offset issue with the address range of the application in the Hex file output.&lt;/p&gt;
&lt;p&gt;Luke&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289038?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 23:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee0d745e-7014-485d-932b-4e3db6a109d4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6131._5F00_Verify_2D00_answer_2D00_nordic_5F00_2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289037?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 23:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b29a964f-1dcf-47da-ba50-6fdc9e9d7362</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;There&amp;#39;s a little &amp;quot;padlock&amp;quot; icon on your projects:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1610579818269v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I guess that means they are somehow locked or write-protected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/289004?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 16:57:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f958a8a-806a-45a3-86a5-9e3b409223a6</guid><dc:creator>LukeT</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;Seems like i didn&amp;#39;t have the correct boardname when configuring the SDK project.&lt;/p&gt;
&lt;p&gt;Was selecting the &amp;#39;Thingy&amp;#39;, not the Dongle.&lt;/p&gt;
&lt;p&gt;Luke&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/288994?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 16:03:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d91ffdc-6462-40fc-8229-3f19ae1e5dd8</guid><dc:creator>LukeT</dc:creator><description>&lt;p&gt;Hi awneil,&lt;/p&gt;
&lt;p&gt;Thank you for your response.&lt;/p&gt;
&lt;p&gt;It seems that&amp;nbsp; only the Solution allows me to access the options menu. If i try select a specific project under the solution, it&amp;#39;s greyed out. I&amp;#39;m not sure if this is specific to the Nordic edition of the SES.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1610553518448v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, for the build configuration, Common is selected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nRF52840 Dongle with nRF Connect SDK HEX files</title><link>https://devzone.nordicsemi.com/thread/288985?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 15:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e5846b0-6d9f-4125-a8ff-510771b9fb02</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I would recommend the Dev Kit rather than Dongles for getting started.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="98859" url="~/f/nordic-q-a/70436/cannot-program-nrf52840-dongle-with-nrf-connect-sdk-hex-files"]&lt;p&gt;when using the SES Nordic edition i do not have any linker or pre-compiler options available in the Project Options.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Are you sure you&amp;#39;re looking at the &lt;strong&gt;Project&lt;/strong&gt; options - not the Solution options?&lt;/p&gt;
&lt;p&gt;You also need to be sure to select the correct Configuration - most things are set in the Common configuration&lt;/p&gt;
&lt;p&gt;(Solution is a level above Project)&lt;/p&gt;
&lt;p&gt;SES online documentation:&amp;nbsp;&lt;a href="https://studio.segger.com/"&gt;https://studio.segger.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;User Manual download:&amp;nbsp;&lt;a href="https://www.segger.com/downloads/embedded-studio/EmbeddedStudio_Manual"&gt;https://www.segger.com/downloads/embedded-studio/EmbeddedStudio_Manual&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>