<?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>Not able to upload UART SDK on nRF52840 Dongle via nRF Connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75985/not-able-to-upload-uart-sdk-on-nrf52840-dongle-via-nrf-connect</link><description>Hi Nordic Team 
 I&amp;#39;ve applied all the changes recommended on https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial for my nRF52840 Dongle in order to make it work with the examples\peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jun 2021 10:03:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75985/not-able-to-upload-uart-sdk-on-nrf52840-dongle-via-nrf-connect" /><item><title>RE: Not able to upload UART SDK on nRF52840 Dongle via nRF Connect</title><link>https://devzone.nordicsemi.com/thread/314160?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 10:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a81af42c-9981-4bde-a507-baa7767a8600</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The guide is for examples in the regular SDK. These examples are made in such a way that the SoftDevice&amp;nbsp;and the MBR are automatically taken into consideration in the memory layout in BLE samples. When you change the preprocessor definition to&amp;nbsp;&lt;code&gt;BOARD_PCA10059&lt;/code&gt;&lt;span&gt;&amp;nbsp;the memory range of the application is changed so that it does not overlap with either the Softdevice or the MBR.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, the UART example you are looking at does not take the SoftDevice into consideration. You can see this by looking at the address range of the application. I tested this by only changing the preprocessor definition to &lt;code&gt;BOARD_PCA10059&lt;/code&gt;, and nothing else. The address range of the application was&amp;nbsp;0x1000 - 0x2D63. This does leave enough space for the MBR, which according to the specifications requires the memory range 0x0 - 0x1000, but it does not leave room for the SoftDevice. If you look at the memory layout I linked to in my previous reply, you can find the following memory range for nRF52840 with SoftDevice S140:&lt;/span&gt;&lt;/p&gt;
&lt;table height="218" width="323"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Application area (incl. free space)&lt;/td&gt;
&lt;td&gt;0x0002 7000 - 0x000F 8000 (836 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SoftDevice&lt;/td&gt;
&lt;td&gt;0x0000 1000 - 0x0002 7000 (152 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Master Boot Record (MBR)&lt;/td&gt;
&lt;td&gt;0x0000 0000 - 0x0000 1000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The SoftDevice should be before the application area, specifically 0x1000 - 0x27000, which overlaps with the address range I got for the application above. So you must change the start address of the flash to not overlap with the SoftDevice, &lt;span&gt;FLASH_START=0x27000&lt;/span&gt;. Remember to also adjust the size of the flash accordingly.&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: Not able to upload UART SDK on nRF52840 Dongle via nRF Connect</title><link>https://devzone.nordicsemi.com/thread/313694?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 13:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdc9a7fd-ba34-4c7a-b7d1-d0b52fef39d0</guid><dc:creator>Jonny Matuichuk</dc:creator><description>&lt;p&gt;Hi Marte,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I m doing all the changes recommended on the tutorial and I still getting this overlapping. I&amp;#39;ve tried two different ways. One was using the softdevice and another one without that.. Still not working.&lt;/p&gt;
&lt;p&gt;Changing the preprocessor and Linker information to a PCA10059 is not resolving the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to upload UART SDK on nRF52840 Dongle via nRF Connect</title><link>https://devzone.nordicsemi.com/thread/313693?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 13:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f64922-52f3-411e-b711-09a14800ce43</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please make sure that your application does not overlap with the Bootloader and MBR, or the Softdevice. The nRF5 SDK for Thread and Zigbee v4.1.0 uses peripherals, BLE, etc. inherited from nRF5 SDK v16.0.0. The memory layout of the bootloader in v16.0.0 can be found&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader.html?cp=8_5_0_3_5_0_7#lib_bootloader_memory"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Are you trying to use the peripheral UART example unchanged? Since you are using the Thread and Zigbee SDK, be aware that if you want to use both BLE and Thread or Zigbee you must use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/ble_154_multiprotocol.html"&gt;multiprotocol&lt;/a&gt;.&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></channel></rss>