<?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>BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19417/bug-in-nrf52_common-ld</link><description>Using GCC 4.8.4, it seems to me, that the nrf52_common.ld shiped with the sdk version 12.2 contains a bug: 
 If an image is defined where the .text data fits into the flash, but where the .data initialization data would lead to an overflow of the flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Aug 2017 14:01:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19417/bug-in-nrf52_common-ld" /><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75354?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2017 14:01:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8503d5a9-9d0c-4389-82eb-1f92e84f7d05</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Dave_couling ,&lt;/p&gt;
&lt;p&gt;Yes, this issue applies to the current SDK versions. The current version of the MDK(8.14.1) does not include this fix. I believe it will be included in the next upcoming version of the MDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75353?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 20:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:061805ec-00bb-47f6-bb81-d68df8308f5f</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Does this bug apply to SDK 12.3.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75355?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2017 07:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f9ce22-5d51-4974-adea-448e1c768d8b</guid><dc:creator>David Garc&amp;#237;a Polo</dc:creator><description>&lt;p&gt;No coding without sleeping.&lt;/p&gt;
&lt;p&gt;{code}
/* Check if text sections + data exceeds FLASH limit */
DataInitFlashUsed = &lt;strong&gt;bss_start&lt;/strong&gt; - &lt;strong&gt;data_start&lt;/strong&gt;;
CodeFlashUsed = __etext;
TotalFlashUsed = CodeFlashUsed + DataInitFlashUsed;
ASSERT(TotalFlashUsed &amp;lt;= LENGTH(FLASH), &amp;quot;region FLASH overflowed with .data and user data&amp;quot;)
{code}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75357?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 15:57:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36a73466-d0a0-42a3-ac24-873afc343213</guid><dc:creator>David Garc&amp;#237;a Polo</dc:creator><description>&lt;p&gt;yes, I had noticed it does not work. thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75356?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 15:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b819876d-4af6-4720-88b6-5b67bccd2979</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;Well, I think my fix would be much more straightforward, but when you fix works as well, then it&amp;#39;s once to me, how this is fixed :-) Anyway: Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75352?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 15:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b969c326-d7d2-4b25-bb43-8d74dd4fc791</guid><dc:creator>David Garc&amp;#237;a Polo</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have checked the problem and you are entirely right. Nevertheless instead of your proposed solution what do you think of an assert? (Adding some spacings on underscores to avoid text formatting)&lt;/p&gt;
&lt;p&gt;{code}
Wrong code, see bellow.
{endcode}&lt;/p&gt;
&lt;p&gt;The symbols used allow for users to add sections after .text (before .ARM.extab) and after .data (before .bss) and still be covered.&lt;/p&gt;
&lt;p&gt;I will modify the linker scripts on a future release if you do not think there is any problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG in nrf52_common.ld?</title><link>https://devzone.nordicsemi.com/thread/75351?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2017 13:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c030464e-a201-40cc-a256-579d2e5579d7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for reporting this. I have reported this bug internally. An answer will be added with the official solution/fix when it’s ready.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>