<?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>What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10377/what-happens-when-the-text-segment-exceeds-64k-on-a-nrf51-dk</link><description>Hi, 
 Will something interesting happen when the text segment on a nRF51 DK exceeds 64k? I am using Eclipse/gcc for developing, based on the tutorial provided by Nordic. 
 Anything special i need to do regarding compiler or linker flags? 
 regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Nov 2015 15:11:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10377/what-happens-when-the-text-segment-exceeds-64k-on-a-nrf51-dk" /><item><title>RE: What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/thread/38520?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2015 15:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a553c19e-5fcb-444c-9a5b-67559ce87e44</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;I found the error, see: &lt;a href="https://devzone.nordicsemi.com/question/57789/sudden-error-with-j-link-rtt-viewer-warning-sent-15-of-89-bytes/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/thread/38519?ContentTypeID=1</link><pubDate>Sat, 21 Nov 2015 08:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dde51c5-b3eb-4cbb-9772-24db57d5e4e3</guid><dc:creator>Elm</dc:creator><description>&lt;p&gt;I am well aware of 8 bit processors; I grew up programming an IMSAI 8080 (!). And I am aware that the ARM has larger address space. But I am sufficiently unfamiliar with it to be afraid that there is something (e.g. 16 bit JUMPs) that can cause problems. (I once tried programming an 8088, it was horrible.)&lt;/p&gt;
&lt;p&gt;regards,
Elm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/thread/38518?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2015 15:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9f9847f-49ff-4ad1-a70f-2244bf98f9fd</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Don&amp;#39;t be silly - it&amp;#39;s obviously going to be an 80&lt;strong&gt;52&lt;/strong&gt;...&lt;/p&gt;
&lt;p&gt;;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/thread/38517?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2015 15:24:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f704650-50eb-4571-a244-0335cd105c4c</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Damn  .. don&amp;#39;t tell me the nRF52 is a 6&lt;em&gt;5&lt;/em&gt;0&lt;em&gt;2&lt;/em&gt; then ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/thread/38516?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2015 15:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e925e6c-e59f-4f69-93e0-8c9c203c5ed2</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I guess (s)he&amp;#39;s thinking that the nRF&lt;strong&gt;51&lt;/strong&gt; is an 80&lt;strong&gt;51&lt;/strong&gt; ... ?&lt;/p&gt;
&lt;p&gt;(or some other 8-bit processor - where 64K &lt;em&gt;is&lt;/em&gt; a Big Deal).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What happens when the text segment exceeds 64k on a nRF51 DK?</title><link>https://devzone.nordicsemi.com/thread/38515?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2015 15:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5e440f8-ecea-4f9f-9224-41089fef42ba</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No. As long as your code fits into available flash (and the linker would tell you if it didn&amp;#39;t) 64kB has no meaning at all. Some of the ARM standard (ie not long-call) calls can&amp;#39;t go over 4Mb, but that&amp;#39;s not going to be a problem for the nrf51, nrf52 or quite a few versions more.&lt;/p&gt;
&lt;p&gt;What problem were you expecting with 64kB of text?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>