<?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>Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107145/enabling-net_l2_ethernet-causes-wifi_nrf-error</link><description>Hi all, 
 
 I am working on a custom firmware with BLE, WiFi, DFU, , ZBus. I have everything working until I try to add the WiFi. As soon as I set the config NET_L2_ETHERNET I get these errors when booting: 
 [00:00:00.305,969] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_hal_dev_add</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jan 2024 12:21:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107145/enabling-net_l2_ethernet-causes-wifi_nrf-error" /><item><title>RE: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/463344?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 12:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6fdf3d8-6122-4132-9e9c-a8470ee8cd39</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;Q1: Have you tried to enter debug mode to see where it is getting stuck?&lt;/p&gt;
&lt;p&gt;Q2: Can you try to delete your build folder and regenerate the build to see if that could help the scenario?&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: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/463326?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 10:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebb32ab0-b01d-4537-befb-54ed2823de2e</guid><dc:creator>sguitton01</dc:creator><description>&lt;p&gt;well when I increase it to 150k it seems the boot is not happening, I don&amp;#39;t have any logs except&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;*** Booting nRF Connect SDK v2.5.0 ***&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Though I still have RAM :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 776184 B 944 KB 80.30%&lt;br /&gt; RAM: 249600 B 416 KB 58.59%&lt;br /&gt; IDT_LIST: 0 GB 2 KB 0.00%&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you know why?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/463069?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 08:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f0b321-8baf-4f78-b71c-b373488b2263</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Sylvain,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should increase the HEAP_MEM_POOL_SIZE to around 150k. Are you running out of memory in your application?&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: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/462952?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 15:31:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a02491-1d7c-4492-9501-0a2cb0f39127</guid><dc:creator>sguitton01</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was able to remove the rerror by increasing the&amp;nbsp;CONFIG_HEAP_MEM_POOL_SIZE to 95000, though if I increase it more than 100000, I can build and flash but then I only get the :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK v2.5.0 ***&lt;/p&gt;
&lt;p&gt;Do you know why?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Sylvain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/462931?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 14:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:440e9847-b694-4f43-8c60-70baa2ab9c1b</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;wi-fi needs more heap and several sockets:&lt;/p&gt;
&lt;p&gt;CONFIG_POSIX_MAX_FDS=10 # or higher, depending on your overall sockets&lt;/p&gt;
&lt;p&gt;CONFIG_HEAP_MEM_POOL_SIZE=153600&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can have a look at the example profiles listed here, with config suggestions:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf70/developing/constrained.html#usage-profiles"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf70/developing/constrained.html#usage-profiles&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><item><title>RE: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/462913?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 13:46:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:197ef1df-17a9-4bf1-877a-84beaf287022</guid><dc:creator>sguitton01</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;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the quick answer, you will find the boot log and the conf files attached.&lt;br /&gt;Please note that I disabled the DFU on theses conf files.&lt;br /&gt;&lt;br /&gt;For now, I am building for the nrf7002DK.&lt;br /&gt;&lt;br /&gt;Sylvain&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/full-boot-log.txt"&gt;devzone.nordicsemi.com/.../full-boot-log.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/conf_5F00_files.7z"&gt;devzone.nordicsemi.com/.../conf_5F00_files.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling NET_L2_ETHERNET causes wifi_nrf error</title><link>https://devzone.nordicsemi.com/thread/462894?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 13:08:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7602dc-7572-4340-8b62-a55fa12dae89</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;Q1: Can you share the full boot log?&lt;/p&gt;
&lt;p&gt;Q2: Which board do you build for?&lt;/p&gt;
&lt;p&gt;Q3: Can you share your prj configuration(s) ?&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>