<?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>WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123612/wifi-not-able-to-connect-due-to-mcuboot</link><description>Hello, I am working on a custom board with my own custom project/application. I have recently done porting from ncs v2.7.0 to v3.0.2 - I was able to initialise the wifi driver and get it connected to the given credentials(ssid and password) with Mcuboot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Aug 2025 10:21:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123612/wifi-not-able-to-connect-due-to-mcuboot" /><item><title>RE: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545346?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 10:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f34793ee-c4dd-4f2c-9640-27ec74214111</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 use any other unused GPIO for that purpose.&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: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545345?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 10:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4631787d-4ad6-41c6-adc6-e45edd216bed</guid><dc:creator>Aarnav</dc:creator><description>&lt;p&gt;Hey Hakon,&lt;br /&gt;&lt;br /&gt;After disabling the UART1, I was able to connect to the wifi! &lt;br /&gt;But in the case if I want to do serial DFU through this UART in future, is there any way to do that?&lt;br /&gt;&lt;br /&gt;Thanks a lot for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545306?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 06:49:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e04f55-e0fa-46cb-8bef-6af4530d7f6d</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;It looks like you have a pin conflict with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;iovdd-ctrl-gpios = &amp;lt;&amp;amp;gpio1 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)&amp;gt;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and uart1:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	uart1_default: uart1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 1, 14)&amp;gt;;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 1, 15)&amp;gt;;
			bias-pull-up;
		};
	};&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: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545253?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 15:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7051407f-759d-4d4d-afd2-d129233cf002</guid><dc:creator>Aarnav</dc:creator><description>&lt;p&gt;I disabled spi4 and uart0(for which I also&amp;nbsp;set CONFIG_UART_CONSOLE=n in mcuboot.conf) in mcuboot.overlay but still the same error.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I have attached the build/mcuboot folder. Please have a look.&lt;br /&gt;Also out of curiosity, explain what you meant by ths statement: &amp;quot;&lt;span&gt;Without seeing the build artifacts for mcuboot, it is hard to state what is enabled&amp;quot;?&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0066.mcuboot.zip"&gt;devzone.nordicsemi.com/.../0066.mcuboot.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545250?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 14:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a077f64e-ceda-453b-ab50-5ff9ddb35a18</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Without seeing the build artifacts for mcuboot, it is hard to state what is enabled, but I do see that you should explicitly disable these in mcuboot.overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 { status = &amp;quot;disabled&amp;quot;; };
&amp;amp;spi4 { status = &amp;quot;disabled&amp;quot;; };&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you still have issues, please share the .zip&amp;#39;ed build/mcuboot folder.&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: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545247?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 14:34:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5025c27-7a4f-4fd5-9ee7-af39ff811d77</guid><dc:creator>Aarnav</dc:creator><description>&lt;p&gt;The folder you asked includes the folllowing files:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0652.mcuboot.conf"&gt;devzone.nordicsemi.com/.../0652.mcuboot.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5432.mcuboot.overlay"&gt;devzone.nordicsemi.com/.../5432.mcuboot.overlay&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, I had the wifi driver init problem when you suggested me this and it worked. So it is already present.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545245?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 14:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25231016-d7dd-42fc-b9eb-16cab629e1c1</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;What&amp;nbsp;does your sysbuild/mcuboot folder include?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please share these application specific files (if present). There shall be atleast one entry to disable gpio_fwd, due to your CSN pin being P1.05.&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: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545244?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 14:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a5cb4d1-c209-448a-819b-3290b1ae3ed3</guid><dc:creator>Aarnav</dc:creator><description>&lt;p&gt;Just these 2 lines are relevant, rest come from my application logic which are as follows:&lt;br /&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/Screenshot-from-2025_2D00_08_2D00_11-19_2D00_47_2D00_36.png" /&gt;&lt;br /&gt;&lt;br /&gt;CONFIG_HEAP_MEM_POOL_SIZE=15600 is set but anyway it&amp;nbsp;gets set to&amp;nbsp;41440 as&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_IGNORE_MIN is set to n.&lt;br /&gt;&lt;br /&gt;In the setup without MCUBOOT, I set CONFIG_NET_BUF_FIXED_DATA_SIZE=y and also all the prj.conf including the heap allocation options were exactly same except the mcuboot options. &lt;br /&gt;&lt;br /&gt;Definitely I can have it variable if needed but what I meant was that is not an issue in my understanding, let me know if I&amp;#39;m wrong.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545236?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 14:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecc97326-1963-4835-9b9d-7ab6a39eedf7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;There must be more than these two lines that are printed?&lt;/p&gt;
&lt;p&gt;&amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_wpa_supp_scan_abort: nrf_wifi_wpa_supp_scan_abort: Timedout waiting for scan abort response, ret = -11&lt;br /&gt;&amp;lt;err&amp;gt; wifi_interface: wifi_mgmt_event_handler: WIFI connect failed (-116 - Unknown)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your prj.conf, this is too low:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_HEAP_MEM_POOL_SIZE=15600&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This should be higher to accommodate for a higher number of returned SSID&amp;#39;s. Our samples use around 40k, but you can also adjust&amp;nbsp;CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT if you want to limit the amount of returned SSID&amp;#39;s.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, instead of using a fixed size for the net stack (CONFIG_NET_BUF_FIXED_DATA_SIZE=y), you can instead try the option&amp;nbsp;CONFIG_NET_BUF_VARIABLE_DATA_SIZE, which will help you if you&amp;#39;re running out of RAM.&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: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545227?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 13:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a38e1e3f-6486-48b8-909b-2a4be5272cbd</guid><dc:creator>Aarnav</dc:creator><description>&lt;p&gt;Hey Hakon,&lt;br /&gt;&lt;br /&gt;This is all I have wrt the logs. Let me know if you need any specific info. &lt;br /&gt;Also I&amp;nbsp;tried what you said and still facing the same error &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WiFi not able to connect due to MCUBOOT</title><link>https://devzone.nordicsemi.com/thread/545223?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 13:36:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b10e30df-097c-4c2a-aa64-9bf3f887b1b6</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;Can you please share your full log?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;These should be present in your configuration to ensure that TFM logging is disabled:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicDeveloperAcademy/wifi-fund/blob/main/l5/l5_e1_sol/boards/nrf7002dk_nrf5340_cpuapp_ns.conf#L1-L3"&gt;https://github.com/NordicDeveloperAcademy/wifi-fund/blob/main/l5/l5_e1_sol/boards/nrf7002dk_nrf5340_cpuapp_ns.conf#L1-L3&lt;/a&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></channel></rss>