<?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>Secure Bootloader problems with memory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80261/secure-bootloader-problems-with-memory</link><description>Hello, 
 I am using \nRF5_SDK_17.1.0_ddde560\examples\dfu\secure_bootloader\pca10040_s132_ble_debug, but when I bulid the proyect the following error appear: 
 .text is too large to fit in FLASH1 memory segment 
 .dfu_trans is too large to fit in FLASH1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Oct 2021 07:32:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80261/secure-bootloader-problems-with-memory" /><item><title>RE: Secure Bootloader problems with memory</title><link>https://devzone.nordicsemi.com/thread/332482?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 07:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f985edf-adf7-4269-927a-15d8c3f6f9a7</guid><dc:creator>paula2412</dc:creator><description>&lt;p&gt;Thanks Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It works, but I didn&amp;acute;t modify the example, in any case I can build the project now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure Bootloader problems with memory</title><link>https://devzone.nordicsemi.com/thread/332324?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 11:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64848558-fd1a-423a-9f8c-cdb7da47efea</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you made any modifications to the project? The error indicates that the bootloader image is too big to fit into the pre-allocated bootloader region (&lt;span&gt;&lt;a title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=8_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&lt;/span&gt;), which should not happen if you&amp;#39;re building the original SDK project.&lt;/p&gt;
&lt;p&gt;If you actually have modified the project and made the bootloader larger, then the solution will be to allocate more flash to the bootloader by lowering its start address in flash (Note: the address must be aligned to a flash page boundary. I.e. address must be divisible by 0x1000).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bootloader start address setting&amp;nbsp; in Segger Embedded studio&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1633347945947v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>