<?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>Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37123/linker-issues-in-the-connectivity-firmware</link><description>Hi, 
 I am trying to build the connectivity firmware for a custom dongle based on the nrf52832. I am getting a section overlap issue when I am trying to build the solution from SES. 
 Steps followed til now: 
 -&amp;gt; Downloaded the latest version of pc-ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Aug 2018 13:40:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37123/linker-issues-in-the-connectivity-firmware" /><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/143048?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 13:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c918b69-60bb-40dd-a9b2-e03c8397ef09</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;Thank you for your help. I replaced the linker in&amp;nbsp;&lt;span&gt;ser_s132v5_hci&amp;nbsp; and it worked. Also, is there any nordic documentation&amp;nbsp;on the flash_placement.xml other than the video in the SES tutorial playlist provided by nordic&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142982?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 10:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677f52e3-878b-46b0-b196-0d6effe1c896</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;This is because you compiled ser_s132_hci, not ser_s132v5_hci as you said earlier. I did not test it with this project. You can move the section further up the file, to make it work with ser_s132_hci as well:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5826.flash_5F00_placement.xml"&gt;devzone.nordicsemi.com/.../5826.flash_5F00_placement.xml&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142979?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 09:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac54cab8-dc90-4fd3-a04f-6cdae8fac96d</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;I tried to build it using the flash_placement.xml you have provided but I got the following error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;1&amp;gt; &amp;quot;C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/ld&amp;quot; -X -eReset_Handler --omagic -defsym=__vfprintf=__vfprintf_long -defsym=__vfscanf=__vfscanf_int -EL --gc-sections &amp;quot;-TG:/pc-ble-driver-master-3.34/sdk/nRF5_SDK_15.0.0_a53641a/examples/connectivity/ble_connectivity/pca10040/ser_s132_hci/ses/Output/ble_connectivity_s132_hci_pca10040 Release/Obj/ble_connectivity_s132_hci_pca10040.ld&amp;quot; -Map Output/Release/Exe/ble_connectivity_s132_hci_pca10040.map -u_vectors -o Output/Release/Exe/ble_connectivity_s132_hci_pca10040.elf --emit-relocs &amp;quot;@G:/pc-ble-driver-master-3.34/sdk/nRF5_SDK_15.0.0_a53641a/examples/connectivity/ble_connectivity/pca10040/ser_s132_hci/ses/Output/ble_connectivity_s132_hci_pca10040 Release/Obj/ble_connectivity_s132_hci_pca10040.ind&amp;quot;
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/ld: error: section .sdh_state_observers overlaps absolute placed section .connectivity_version_info
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/ld: section .connectivity_version_info LMA [0000000000030000,0000000000030017] overlaps section .text LMA [00000000000262f4,0000000000033067]
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/ld: error: section .sdh_state_observers overlaps absolute placed section .connectivity_version_info
Build failed&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Other than using the flash_placement.xml you have provided, do I need to change any other of the build options?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142976?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 09:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67fce81d-124e-4068-9b2c-f6e537eb781c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Seems to be an issue in the flash_placement.xml file.&amp;nbsp;The static placed section&amp;nbsp;connectivity_version_info should be placed into the memory segment &amp;quot;FLASH&amp;quot; instead of in its own memory segment, to avoid that other code have already been placed in this section by the linker. I have attached updated flash_placement.xml file that can be used to successfully compile the project:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-759046deae634764b0e5a5902b35546a/flash_5F00_placement.xml"&gt;devzone.nordicsemi.com/.../flash_5F00_placement.xml&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142851?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 13:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dcb3f37-e4ae-42d9-b9e3-720108822571</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;I installed SES 3.34 and got a fresh copy of the pc-ble-driver and SDK 15. Did the same steps as the first post to setup the SDK. I am still getting a linker error, but the segment it shows is different now but the location is same.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;1&amp;gt; Linking ble_connectivity_s132_hci_pca10040.elf
1&amp;gt; &amp;quot;C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/ld&amp;quot; -X -eReset_Handler --omagic -defsym=__vfprintf=__vfprintf_long -defsym=__vfscanf=__vfscanf_int -EL --gc-sections &amp;quot;-TG:/pc-ble-driver-master-3.34/sdk/nRF5_SDK_15.0.0_a53641a/examples/connectivity/ble_connectivity/pca10040/ser_s132_hci/ses/Output/ble_connectivity_s132_hci_pca10040 Release/Obj/ble_connectivity_s132_hci_pca10040.ld&amp;quot; -Map Output/Release/Exe/ble_connectivity_s132_hci_pca10040.map -u_vectors -o Output/Release/Exe/ble_connectivity_s132_hci_pca10040.elf --emit-relocs &amp;quot;@G:/pc-ble-driver-master-3.34/sdk/nRF5_SDK_15.0.0_a53641a/examples/connectivity/ble_connectivity/pca10040/ser_s132_hci/ses/Output/ble_connectivity_s132_hci_pca10040 Release/Obj/ble_connectivity_s132_hci_pca10040.ind&amp;quot;
1&amp;gt; C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/ld: section .connectivity_version_info LMA [0000000000030000,0000000000030017] overlaps section .text LMA [00000000000262f4,0000000000033067]
Build failed
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142830?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 12:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2191ca10-3887-4420-aa65-72787b4959c3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Ok, might be that Segger changed the location in SES 3.40. The settings looks correct, but could you try with SES v3.34, just to be sure? This is the version that the SDK have been tested with. You might need to make a fresh copy of the SDK and apply the patch one more time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142826?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 12:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a335a61d-470c-4b74-84b9-504caf5f5d8a</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;Under Linker, I can&amp;#39;t find any Section Placement Segments. There are &amp;#39;Section Placement Macros&amp;#39; and &amp;#39;Section Placement File&amp;#39;. There was an option under build, &amp;#39;Memory Segments&amp;#39;, which has the line you spoke of.&lt;/p&gt;
&lt;p&gt;Contents of Build-&amp;gt;Memory Segments&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FLASH RX 0x0 0x80000
RAM RWX 0x20000000 0x10000
connectivity_version_info RX 0x30000 0x18&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Contents of Linker-&amp;gt;Section Placement Macros&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FLASH_PH_START=0x0
FLASH_PH_SIZE=0x80000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x10000
FLASH_START=0x26000
FLASH_SIZE=0x5a000
RAM_START=0x2000b8a8
RAM_SIZE=0x4758&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;These are all under &amp;#39;Common&amp;#39; configuration.&lt;/p&gt;
&lt;p&gt;Which one should I edit?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Linker issues in the connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/142822?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 12:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:238be8e7-6081-4333-ac85-1821810db413</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you check that&amp;nbsp;sdk150_add_sd_v3v5_support.patch:84195 have been applied to the SES project setting.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Project &amp;#39;ble_connectivity_s132_hci_pca10040&amp;#39; Options&lt;/li&gt;
&lt;li&gt;Common configuration&lt;/li&gt;
&lt;li&gt;Linker-&amp;gt;Section Placement Segments&lt;/li&gt;
&lt;li&gt;Check that &amp;quot;&lt;code&gt;connectivity_version_info RX 0x30000 0x18&lt;/code&gt;&amp;quot; is included&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>