<?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>.text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121316/text-section-too-large-how-to-reduce-flash-usage-in-nrf52833-ses-sdk</link><description>I am using nRF52833 PCA10100 board. While trying to run sample ble code in segger embedded studio, I am frequently facing this error which says, .text file is larger than specified size. What should I do? The nrf5sdk already have less example code for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jan 2026 08:11:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121316/text-section-too-large-how-to-reduce-flash-usage-in-nrf52833-ses-sdk" /><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/558354?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2026 08:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b87dcf41-20b5-4ec7-b8a5-921c77bce96e</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;&lt;span&gt;Please check&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/89236/build-error/558351"&gt;this thread&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;to have this fixed with a script&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535816?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 14:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d58241da-4ae2-496b-a144-3c660390259b</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;Hi...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Right now, I was able to complete the build. It was the issue in the flash_placement.xml file.not the linker script and the other files. I changed the .text and .rodata values.&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747404265040v1.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535800?ContentTypeID=1</link><pubDate>Fri, 16 May 2025 13:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02eb3fa9-6272-48f4-b88b-28e4507083fd</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When I tried your code some locations issues came even though I placed it in the pca10100 ble_app_blinky folder. So I compared your code with the mine and made changes. This is what happens when I run it.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747401675803v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The problem with linker script is that it changes to the older value as soon as I run the program. That why even when I increase the size of .text and .rodata, it still reset to the previous value and the error persists&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535610?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 13:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46531c67-9558-443f-8785-125fdbc94cb8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;S&lt;span&gt;uryalakshmi,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So did it work ?&amp;nbsp;&lt;br /&gt;I did the compare and implement the changes into the blinky project file. Please try:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/my_5F00_ble_5F00_app_5F00_blinky_5F00_pca10100_5F00_s140.emProject"&gt;devzone.nordicsemi.com/.../my_5F00_ble_5F00_app_5F00_blinky_5F00_pca10100_5F00_s140.emProject&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535459?ContentTypeID=1</link><pubDate>Thu, 15 May 2025 07:18:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0225251b-f7c7-42f4-aa8a-72bfef21ce97</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I actually did run it in Segger and faced the same problem that I mentioned. It&amp;#39;s showing .text section larger than specified. I even tried editing the linker script file but it automatically changes from the value I set to a smaller value. So I wanted to confirm that should I do some more changes before opening in segger.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535346?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 13:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:626b9f71-3c9a-407b-8e5d-b2f575fa8eb7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Why ask me ? You should just go try and test. I am only giving you advice. You need to do the task to check if it works or not.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535307?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 11:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aa50347-c892-425e-b585-b59e99a9df49</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp; I have compared both files and edited the ble_app_blinky_pc10056_S140.emProject...&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747222357609v1.png" alt=" " /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Should I run it in segger now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535263?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 07:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f989ac4a-e0d0-4118-a7a9-f6db0329d129</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;You don&amp;#39;t have to show me completely. It&amp;#39;s your job to look at the difference and try to understand why there is a modification and apply the same modification to the&amp;nbsp;&lt;strong&gt;ble_app_blinky_pca10056_s140.emProject &lt;/strong&gt;to make it work with PCA10100. This way you can convert any project made for PCA10056 to work on PCA10100.&amp;nbsp;&lt;br /&gt;Please use unmodified project file to compare, don&amp;#39;t use modified one.&amp;nbsp;&lt;br /&gt;For example here how it looks when I compare:&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747209434237v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try to modify the&amp;nbsp;&lt;strong&gt;ble_app_blinky_pca10056_s140.emProject &lt;/strong&gt;with the same modification showed in the compare.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535158?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 13:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c70a180f-3e4d-43b6-b302-63b3afb76cdd</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747144349688v1.png" alt=" " /&gt; I got this one... How can I show you all of it completely? I tried open it in notepad&amp;nbsp; a lot of time. It just happened now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535150?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 13:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69209107-e21a-464b-abba-aba42031a8a9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You should use a text editor to open the file&amp;nbsp;&lt;strong&gt;.emProject &lt;/strong&gt;file&lt;br /&gt;For example you can use Notepad to open the files and copy the content then paste the content to the compare tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535115?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 12:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8297222c-2fc3-44ae-8373-cfd67bbc2201</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;How can I compare files? It doesn&amp;#39;t show any software. When I click. It directly opens in segger.&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747137726763v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And I could only compare the code&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747137796653v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It shows they are same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535025?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 07:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7f20f7a-05e3-450c-8cbd-3dcd45acd28b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;No I want you to compare the file. Not opening it with SES.&amp;nbsp;&lt;br /&gt;Please use a text editor to open the file, not SES. Then use a compare tool to compare the 2 files.&amp;nbsp;&lt;br /&gt;You can use online tool, for example&amp;nbsp;&lt;a href="https://text-compare.com/"&gt;https://text-compare.com/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/535000?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 05:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba098c09-ba8d-4f1f-826e-17d52cabacd7</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747111584858v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is the ble_app_uart_pca10056_s140.emProject.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747111690035v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is the ble_app_uart_pca10100_s140.emProject.&lt;/p&gt;
&lt;p&gt;The code for both is same. Only the board definition, target device and the related files changes.&amp;nbsp; I haven&amp;#39;t made the changes. Sir, my main issue is this particular error, which comes when I try to build.&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1747113261138v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/534941?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 14:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a988a81e-288e-421f-ac4f-e1ae39808e77</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Have you compared the&amp;nbsp;&lt;br /&gt;&lt;strong&gt;ble_app_uart_pca10056_s140.emProject&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ble_app_uart_pca10100_s140.emProject&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please show the difference.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please show how you implement these modification into&amp;nbsp;&lt;strong&gt;ble_app_blinky_pca10056_s140.emProject&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/534787?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 04:52:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cd01db8-73dd-489c-960a-4860ff8e0171</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;Hello, Can you please tell me what I should do? There are very less information about this particular PCA board in the internet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/534706?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 15:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ede543f-64c7-47c7-a6f9-6003d12d5147</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;I opened both of them. The code is actually same for both. The difference is only in the preprocessor definition. Rest are all same. I tried building both of them and I see the same error.&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_05_2D00_09-202217.png" /&gt;&lt;/p&gt;
&lt;p&gt;Everytime I am building, I see new error. I have a doubt, even if it&amp;#39;s the memory issue, shouldn&amp;#39;t it occur during flashing. These errors are coming while building itself. I haven&amp;#39;t been able to built any project. Can you tell me step by step how you build and flash the program. Maybe I am making error in steps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/534645?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 11:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25fe4718-22a6-4605-9674-62c8f05e2d11</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My suggestion is to try compare the difference between the&amp;nbsp;&lt;strong&gt;ble_app_uart_pca10056_s140.emProject&lt;/strong&gt; and the&amp;nbsp;&lt;strong&gt;ble_app_uart_pca10100_s140.emProject&lt;/strong&gt; file in the ble_app_uart project so you know what change needed to add to convert the&amp;nbsp;&lt;strong&gt;ble_app_blinky_pca10056_s140.emProject&lt;/strong&gt; to support PCA10100.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use any text compare tool for the job. For example you can use Notepad++ with the compare plug in.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/534640?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 11:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:661d5d5c-3a54-415e-bd5e-a033fef71fde</guid><dc:creator>Suryalakshmi</dc:creator><description>&lt;p&gt;Hi, Thank you for responding. Since normal blinky was not available for PCA10100, I tried with the ble_app_uart itself. There were some error saying unknown type name&amp;#39;_ printf_tag.ptr&amp;#39; which was in this line&lt;/p&gt;
&lt;p&gt;&amp;nbsp;int __putchar(int ch, __printf_tag_ptr tag_ptr)&lt;/p&gt;
&lt;p&gt;So I removed it. After that in &amp;#39;retarget.c &amp;#39; another error came which was for an unterminated #if, I added a #endif to remove the error. After that this error started. I first tried with s140 but then changed to s113 for reducing the size. But still the error persists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: .text section too large – How to reduce flash usage in nRF52833 (SES + SDK)?</title><link>https://devzone.nordicsemi.com/thread/534634?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 11:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a7d658c-8716-4b80-9107-a51fcaedb487</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you managed to run any BLE&amp;nbsp;example made for PCA10100 ? For example the ble_app_uart ? Did you make any modification ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;When I build the ble_app_uart for PCA10100 I have this memory result:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746789736676v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So there still lots of space in the flash and the text area is not occupied much. You may have to double check if there is any wrong configuration.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The flash size of the nRF52833 is limited (512kB) so you may want to consider using S113 softdevice (which is smaller size than S140) if the flash size is not enough.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>