<?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>NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125017/ncs-startup-time-is-too-long-reaching-1684ms</link><description>Hello everyone, 
 I&amp;#39;ve noticed that when using MCUBoot+External Flash+OpenThread+FOTA over BLE+PWM, the program startup time is extremely long, reaching 1684 milliseconds. As shown in the figure:D0 is VCC, and D1 is the main function executing PWM. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Oct 2025 14:13:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125017/ncs-startup-time-is-too-long-reaching-1684ms" /><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551834?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 14:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9acaa353-f537-4785-a03f-97a6dcfe291e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can verify what signature type is set by going into build/mcuboot/zephyr/.config and checking. It is &amp;quot;CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256&amp;quot; on my side.&lt;/p&gt;
[quote user="Glory"]SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE[/quote]
&lt;p&gt;This will skip verification, but do a full hash of the image:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you sure you want&amp;nbsp;&amp;quot;NONE&amp;quot; selected,&amp;nbsp;as compared to using the default signature check?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551827?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 13:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a46067c-a1d3-45b6-a8c8-fcb23b8b485b</guid><dc:creator>Quay</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Yes,&lt;span&gt;unsetting&amp;nbsp;&lt;/span&gt;SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE indeed reduced the time to 135ms, which is quite significant. However, this prevents the firmware from being verified, potentially leading to irreversible actions. Is it possible to implement verification only during the first firmware transfer after an OTA update?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551819?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 13:03:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b33ddf65-699c-4a14-a2e3-d0d1a3494511</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try unsetting&amp;nbsp;SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE in sysbuild.conf.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551760?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 02:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:735eca43-3b00-4f47-882c-bcbb6f2766d5</guid><dc:creator>Quay</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, after setting up prj.conf and mcuboot.conf, I observed the time reduced to 745ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;# disable CC3XX
CONFIG_HW_CC3XX=n
CONFIG_ENTROPY_CC3XX=n
CONFIG_ENTROPY_NRF5_RNG=y
CONFIG_CC3XX_BACKEND=n&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/imge4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How did you achieve 140ms? Is there any other configuration I haven&amp;#39;t set?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551743?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 15:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b0e37fd-f3b3-47df-aa33-33a3aec0a390</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I also still see a significant delay.&lt;/p&gt;
&lt;p&gt;Could you disable the CC3xx in addition?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s how to set that up:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93192/high-current-400ms-startup-delay-ble-beacon-using-rc-oscillator/392787"&gt;RE: High Current 400ms+ Startup Delay BLE Beacon Using RC Oscillator&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that you need this in both prj.conf and mcuboot.conf.&lt;/p&gt;
&lt;p&gt;I got it down to 140 ms from cold-boot:&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/pastedimage1760627624842v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551709?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 12:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9fc227a-c39c-4087-8f9b-578cb12980b0</guid><dc:creator>Quay</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your prompt reply.I added in both prj.conf and mcuboot.conf&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_SERIAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The startup time has been reduced to 1195 milliseconds, but it&amp;#39;s still far from my target of 100 milliseconds.&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/imge3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551697?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 11:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5da21e56-b44f-4fa4-9c15-65c87efccb72</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to disable SERIAL in all images, including mcuboot, and then check the boot-up time?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also try to switch the 32kHz clock source to internal RC:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS startup time is too long, reaching 1684ms</title><link>https://devzone.nordicsemi.com/thread/551678?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2025 08:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73a370a2-b03d-414c-a3e1-b2b226d3fa3f</guid><dc:creator>Quay</dc:creator><description>&lt;p&gt;Supplement: I&amp;#39;d like to know what causes this long execution time? Is there any information to understand the execution process before the Main function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>