<?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>mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112343/mcuboot-image-in-the-primary-slot-is-not-valid-unable-to-find-bootable-image</link><description>I followed the course to enable MCUBOOT over BLE it is successful for the project peripheral_lbs but not my application. 
 uart log; 
 
 build log: 
 
 prj.conf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2024 12:10:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112343/mcuboot-image-in-the-primary-slot-is-not-valid-unable-to-find-bootable-image" /><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/492241?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 12:10:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d4201c1-3df4-468e-9972-cb5327d4687a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, you can disable&amp;nbsp;individual features&amp;nbsp;that you don&amp;#39;t need. For instance, coded PHY. The linker will remove sections from the library if it is able to determine that they are not being used.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/491483?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 07:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dbfdeca-ace7-49d1-b196-6dc111a24431</guid><dc:creator>LongQi</dc:creator><description>&lt;p&gt;Does it mean we can not disable the features individually?&amp;nbsp; such as &amp;quot;&lt;span&gt;Coded PHY (Long Range)&amp;quot;, &amp;quot;Connectionless CTE Advertising&amp;quot; and &amp;quot;Connection CTE Response&amp;quot;, we can not disable them if we use multiole, is that so?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/491264?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 09:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46697cb-65ce-4085-9894-2b0f263b03ad</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;As you can see here, there looks to be three alternatives:&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-components-multipleuploadfilemanager/96d16b6a_2D00_4c56_2D00_4e7f_2D00_aca3_2D00_bde7a513a710-106736-complete/pastedimage1719475860367v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So it will depend on if your device is Peripheral, Central or Multirole.&lt;/p&gt;
&lt;p&gt;CONFIG_BT_PERIPHERAL=y =&amp;gt; Peripheral-only SoftDevice Controller&lt;br /&gt;CONFIG_BT_CENTRAL=y =&amp;gt; Central-only SoftDevice Controller&lt;br /&gt;CONFIG_BT_CENTRAL=y and CONFIG_BT_PERIPHERAL=y&amp;nbsp; =&amp;gt; Multirole SoftDevice Controller&lt;/p&gt;
&lt;p&gt;In addition to this, I think &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/optimizing/memory.html#bluetooth"&gt;Bluetooth Memory Optimization&lt;/a&gt; could reduce the space as well.&lt;br /&gt;I suggest you try these tips and see if they reduce the size of NPL. If it does not help, let me know and we will help you look more into this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/491014?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 07:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8a95ff-2275-4a4f-beff-552ccd3c16b7</guid><dc:creator>LongQi</dc:creator><description>&lt;p&gt;how&amp;nbsp;do I disable&amp;nbsp;the features in the &lt;span&gt;SoftDevice Controller&lt;/span&gt;? It seems not mentioned in the document.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/490880?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 12:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:864aebfe-9717-4c8a-8b28-0d4d277dc24d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I think the largest part of this will be the SoftDevice Controller.&lt;br /&gt;The size of this will vary based on the features you use.&lt;br /&gt;See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/README.html#softdevice-controller"&gt;Softdevice Controller docs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/490449?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 02:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abec93b2-332c-4c44-a47c-38d474e10589</guid><dc:creator>LongQi</dc:creator><description>&lt;p&gt;Is there a user guide or whitepaper to optimise NPL? my application only occupies 2%&lt;/p&gt;
&lt;p&gt;&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/pastedimage1719283254403v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/develop/optimizations/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/develop/optimizations/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/test_and_optimize/optimizing/memory.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/test_and_optimize/optimizing/memory.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Are these all available for the optimization?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/490281?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 12:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a563a662-f395-4919-8552-98e38cab7e1b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""] FLASH: 229048 B 232960 B 98.32%[/quote]
&lt;p&gt;There is a known issue that application size must be smaller than 95% when using MCUboot.&lt;/p&gt;
&lt;p&gt;Try to decrease flash space of your app, or add external flash.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mcuboot, Image in the primary slot is not valid, Unable to find bootable image</title><link>https://devzone.nordicsemi.com/thread/489887?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:664ef616-1915-4790-9c36-8527fdfa60e5</guid><dc:creator>LongQi</dc:creator><description>&lt;p&gt;I tried every commit in my repo and it eventually works after I disabled CONFIG_UART_ASYNC_API and removed uart related&amp;nbsp;program.&lt;/p&gt;
&lt;p&gt;May I know what the reason is?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>