<?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>nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface</link><description>Hello, 
 I am working on a low power sensor logging project using the nRF7002dk. So far, I have updated the main loop in the wifi/sta sample and in place of the: 
 k_sleep(K_FOREVER); 
 I have added: 
 status = net_mgmt(NET_REQUEST_WIFI_DISCONNECT, iface</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2023 11:19:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface" /><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/459899?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 11:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c95173d-0209-461d-bb8c-448d19a34efc</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you add &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_LOG_MODE_IMMEDIATE"&gt;CONFIG_LOG_MODE_IMMEDIATE&lt;/a&gt;=y to your configuration and provide obtained log file?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/459316?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2023 09:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54eb8563-5fa6-4a68-ad90-747da57e615f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for providing the latest version of your project. I have forwarded your file to our developers who will continue looking into it. I will get back to you when I get new information.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/459196?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 13:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b14fa7bd-c5bc-4084-be27-0066c32fc8d7</guid><dc:creator>bcornell</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have uploaded my&amp;nbsp;latest test code here: &lt;a id="" title="https://dl.defelsko.com/downloads/nordic_test_dec_6.zip" href="https://dl.defelsko.com/downloads/nordic_test_dec_6.zip"&gt;https://dl.defelsko.com/downloads/nordic_test_dec_6.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is the same code as I provided in October, but with the additional debug output you have requested since then.&lt;/p&gt;
&lt;p&gt;Thank You&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/459132?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2023 10:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a75e68f1-d985-4549-a26d-369f8de20bd4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you share your latest code with us? I can make this ticket private if your code contains any private or sensitive information you would not want to share publicly. Please let me know first if you want that I make this ticket private.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/458401?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 20:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05c47d9b-f11d-43ef-8657-03334567d4c4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;This is just a short update. Our developers are still looking into the issue. I will get back to you when I get new information.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/457779?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 09:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3b36dc2-5ae8-4e48-8196-79af6b25c85d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for the log. We will look into it. I will get back to you as soon as I have some update, hopefully by the end of the week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/457698?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 20:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03e9681-025f-4a81-bb1f-bfb85e9f5274</guid><dc:creator>bcornell</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We rebased again. The behavior is the same:&amp;nbsp;&lt;a id="" href="https://dl.defelsko.com/downloads/nordic_log_nov27.txt"&gt;https://dl.defelsko.com/downloads/nordic_log_nov27.txt&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: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/457278?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 09:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e647a3-e1ca-4b46-9991-5ea3650688e2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;For addressing scanning failures, there is this&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/13215"&gt;pull request&lt;/a&gt;&amp;nbsp;available. If you still observe any issues, please collect the log and send it to us. For the purpose of debugging, you can&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf70/developing/debugging.html#enable-debug-features"&gt;enable debug features&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/457007?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 16:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4cba7dd-2130-4dcd-98e9-a364770d9ed7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Your log shows scan timeout&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;err&amp;gt; wpa_supp: wpa_drv_zep_get_scan_results2: Timed out waiting for scan results&lt;/pre&gt;&lt;br /&gt;followed by the scan failures.&lt;br /&gt;&lt;br /&gt;Our developers will look into these issues. I will get back to you when I get some relevant information.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456925?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 13:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba30a9ec-2537-4bab-9c6b-c91721414f85</guid><dc:creator>bcornell</dc:creator><description>[quote userid="111786" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/456876"]Which error did you get? Can you show the error? How long did it take for error to appear?[/quote]
&lt;p&gt;The complete logs are here:&lt;/p&gt;
[quote userid="126110" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/456762"]&lt;p&gt;We have uploaded this mornings log here: &lt;a id="" href="https://dl.defelsko.com/downloads/nordic_logs_nov21.zip"&gt;https://dl.defelsko.com/downloads/nordic_logs_nov21.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;You will see that after about 2 hours, there is an endless stream of &lt;em&gt;State: SCANNING&lt;/em&gt; messages as indicated on Nov 20th.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456876?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 10:51:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0db4bb6-3fde-48c5-be5a-ca704a161e15</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="bcornell"]It appears that our issues&amp;nbsp;may be related to timing. We tested yesterday without the very verbose dump_rpu_stats function you previously provided. When we added the logging you requested and re-enabled the&amp;nbsp;dump_rpu_stats function, the error took significantly longer to occur.[/quote]
&lt;p&gt;Thank you for the update. &lt;br /&gt;&lt;br /&gt;Which error did you get? Can you show the error? How long did it take for error to appear?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456762?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 16:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51758946-59e4-48d7-a067-1f7e668ce2ec</guid><dc:creator>bcornell</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It appears that our issues&amp;nbsp;may be related to timing. We tested yesterday without the very verbose dump_rpu_stats function you previously provided. When we added the logging you requested and re-enabled the&amp;nbsp;dump_rpu_stats function, the error took significantly longer to occur.&lt;/p&gt;
&lt;p&gt;We have uploaded this mornings log here: &lt;a id="" href="https://dl.defelsko.com/downloads/nordic_logs_nov21.zip"&gt;https://dl.defelsko.com/downloads/nordic_logs_nov21.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is the result of running the&amp;nbsp;same project that I have been running, but with&amp;nbsp;&lt;span&gt;CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y and the latest&amp;nbsp;version of NCS from github.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456674?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 12:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5ef6e11-e825-4a4c-8a07-3da0d00825b1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you please add CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y to your configuration and provide full log (from very beginning) when using Wi-Fi 6?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456662?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 12:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8d0d918-2cac-44cf-b6bb-c354dd88929d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="bcornell"]I have rebased using the latest development branch and the behavior has changed. After 15 minutes, on wifi 6, I get an endless stream of State:Scanning messages[/quote]
&lt;p&gt;This is unexpected. I have asked internally about this.&amp;nbsp;&lt;/p&gt;
[quote user="bcornell"]Could you elaborate on how you tested? Our use case seems like an extremely basic test case:&lt;br /&gt;* connect to wifi&lt;br /&gt;*&amp;nbsp;get http end point&lt;br /&gt;* disconnect from wifi&lt;br /&gt;* power off wifi&lt;br /&gt;* wait for period of time&lt;br /&gt;* power on wifi&lt;br /&gt;* repeat[/quote]
&lt;p&gt;For wi-fi shell test, we used the following repeating sequence:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;net iface up
wifi scan
wifi connect
wifi status
net ping
net stats
wifi disconnect
net iface down&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456550?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 21:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d270204-eb7b-4083-ba53-bdbb4fc8cacd</guid><dc:creator>bcornell</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for getting back to me.&lt;/p&gt;
&lt;p&gt;I have rebased using the latest development branch and the behavior has changed. After 15 minutes, on wifi 6, I get an endless stream of State:Scanning messages&lt;br /&gt;[2023-11-20 14:12:16] [02:34:24.108,917] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:16] [02:34:24.409,057] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:16] [02:34:24.409,088] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:16] [02:34:24.709,197] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:16] [02:34:24.709,228] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:16] [02:34:25.009,338] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:16] [02:34:25.009,368] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:17] [02:34:25.309,478] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:17] [02:34:25.309,509] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:17] [02:34:25.610,168] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:17] [02:34:25.610,198] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:17] [02:34:25.910,339] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:17] [02:34:25.910,369] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:17] [02:34:26.210,479] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:17] [02:34:26.210,510] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:18] [02:34:26.510,620] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:18] [02:34:26.510,650] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;br /&gt;[2023-11-20 14:12:18] [02:34:26.810,791] &amp;lt;inf&amp;gt; sta: ==================&lt;br /&gt;[2023-11-20 14:12:18] [02:34:26.810,821] &amp;lt;inf&amp;gt; sta: State: SCANNING&lt;/p&gt;
&lt;p&gt;I tested multiple times today and the issue was very repeatable.&lt;/p&gt;
&lt;p&gt;What are we doing wrong? Other customers must be using the nrf7002. In our testing, the drivers are completely unstable.&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/456386"]With regard to your Wi-Fi 4 issue, we have done some testing using wi-fi shell sample and there were no issues on our side.[/quote]
&lt;p&gt;Could you elaborate on how you tested? Our use case seems like an extremely basic test case:&lt;br /&gt;* connect to wifi&lt;br /&gt;*&amp;nbsp;get http end point&lt;br /&gt;* disconnect from wifi&lt;br /&gt;* power off wifi&lt;br /&gt;* wait for period of time&lt;br /&gt;* power on wifi&lt;br /&gt;* repeat&lt;br /&gt;Do you have any suggestions on how to&amp;nbsp;prove that this mode of operation is possible for extended periods of time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/456386?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 12:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fb0f40a-e257-475a-ab1d-7e1b532a51be</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am sorry for delayed reply. I was out of the office.&lt;br /&gt;&lt;br /&gt;With regard to your Wi-Fi 4 issue, we have done some testing using wi-fi shell sample and there were no issues on our side.&lt;br /&gt;&lt;br /&gt;Regarding Wi-Fi 6 problems, you could try the following pull requests -&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/12998"&gt;data vs control path races&lt;/a&gt;&amp;nbsp;(which should resolve the Wi-Fi crash)&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/13019"&gt;nrf70 patch update&lt;/a&gt;&amp;nbsp;(for resolving data stall). As Wi-Fi 6 data stall (no IP) fix has been merged into the newest NCS, you could also try to checkout the latest NCS.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453900?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 08:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fce3f9aa-ddb4-4636-80c8-0d7702842a3a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for providing additional files.&amp;nbsp;&lt;br /&gt;We will continue looking into your reported issues. I expect to get back to you with new information during next week.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453846?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 20:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2ab3618-b137-42f5-8110-5de7f047f88f</guid><dc:creator>bcornell</dc:creator><description>[quote userid="111786" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/453796"]For further debugging we would need sniffer trace of wi-fi 4 communication. Could you provide it?&lt;br /&gt;[/quote]
&lt;p&gt;Here ( &lt;a href="https://dl.defelsko.com/downloads/nordic_logs_nov2.zip"&gt;dl.defelsko.com/.../nordic_logs_nov2.zip&lt;/a&gt; ) is the Wireshark capture and log output from a test I ran today. The&amp;nbsp;board main loop stopped about 5 minutes before I noticed and stopped the Wireshark capture. The code I ran is&amp;nbsp;the same as yesterday so the ELF file is available in that download if needed.&lt;/p&gt;
&lt;p&gt;The only device on the &amp;quot;dlink&amp;quot; network during testing was the Nordic development board.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453798?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 15:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea360c74-2ba7-4525-bbbc-28c68d7d132c</guid><dc:creator>bcornell</dc:creator><description>[quote userid="111786" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/453796"]&lt;p&gt;Based on your comment, is it correct that OK/FAIL is not coming from your internal server?&amp;nbsp;&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;&lt;blockquote class="quote"&gt;&lt;div class="quote-user"&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;That is correct.&amp;nbsp;&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/453796"]For further debugging we would need sniffer trace of wi-fi 4 communication. Could you provide it?&lt;br /&gt;[/quote]
&lt;p&gt;I will work on gathering that today and will provide the sniffer trace and console logs once they are available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453796?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 15:09:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cc9bccb-3e30-455f-b6a4-8ed172e9e3fe</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="bcornell"]I do not know what the criterion for OK/FAIL are. That is why I posted in the DevZone asking for help. I assume they come from somewhere in your driver code or is a message being passed through from the modem?[/quote]
&lt;p&gt;Based on your comment, is it correct that OK/FAIL is not coming from your internal server?&amp;nbsp;&lt;/p&gt;
[quote user="bcornell"]Has any progress been made on the initial WiFi 6 issue where an MPU fault occurs when you disconnect &amp;amp; bring the interface down while to obtain an IP address? Based on the logs, it appears that the problem there is that once I give up waiting for an IP and try to disconnect and bring the interface down, the MPU fault occurs. I assume that is related to background processing not being cleaned up?&amp;nbsp;[/quote]
&lt;p&gt;This is still work in progress.&lt;/p&gt;
[quote user="dejans"]Could you provide sniffer trace for Wi-Fi 4 communication?[/quote]
&lt;p&gt;For further debugging we would need sniffer trace of wi-fi 4 communication. Could you provide it?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453790?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 14:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:801607c2-acc1-4aa7-bf68-cdb1347b6559</guid><dc:creator>bcornell</dc:creator><description>[quote userid="111786" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/453753"]In wi-fi 4 case, what is the criterion for OK/FAIL? Are OK and FAIL status codes from httpbin.org?&lt;br /&gt;[/quote]
&lt;p&gt;We are not using&amp;nbsp;&lt;span&gt;httpbin.org as I mentioned previously:&lt;/span&gt;&lt;/p&gt;
[quote userid="126110" url="~/f/nordic-q-a/104499/nrf7002dk-nrf5340-bus-fault-after-shutting-down-interface/453323"]I&amp;#39;ve specified the address of an internal test server which posts a PHP endpoint which just returns the posted data.[/quote]
&lt;p&gt;&lt;span&gt;I added httpbin.org to the code provided so that you could see how the http post code functions. You will likely need a PHP endpoint on your own server to test this, I found that httpbin.org appears to have DoS protections that prevent this test from working continuously.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;I do not know what the criterion for OK/FAIL are. That is why I posted in the DevZone asking for help. I assume they come from somewhere in your driver code or is a message being passed through from the modem?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;Has any progress been made on the initial WiFi 6 issue where an MPU fault occurs when you disconnect &amp;amp; bring the interface down while to obtain an IP address? Based on the logs, it appears that the problem there is that once I give up waiting for an IP and try to disconnect and bring the interface down, the MPU fault occurs. I assume that is related to background processing not being cleaned up?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453753?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 13:50:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70ee2d38-d046-4ab3-8b3e-e1d6c8d7291f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide sniffer trace for Wi-Fi 4 communication?&lt;br /&gt;&lt;br /&gt;In wi-fi 4 case, what is the criterion for OK/FAIL? Are OK and FAIL status codes from httpbin.org?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453641?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 09:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e12722-f274-4399-9155-5c399089c128</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for testing and for providing required files.&lt;br /&gt;We will look into it. I will get back to you with new information as soon as possible.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453579?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 20:35:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd1dccc7-2258-46bc-b45c-dad278f7a714</guid><dc:creator>bcornell</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have tested the changes you provided, they made no difference to the behavior. They all appear to be related to adding more debug output.&lt;/p&gt;
&lt;p&gt;I tested with both access points and have uploaded my elf files and logs here: &lt;a href="https://dl.defelsko.com/downloads/nordic_logs_nov1.zip"&gt;dl.defelsko.com/.../nordic_logs_nov1.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF7002dk nrf5340 bus fault after shutting down interface</title><link>https://devzone.nordicsemi.com/thread/453439?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 08:37:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16558178-3494-4966-a44f-6946c6800cb4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you try to use possible fix given below?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;---
 overlay-debug.conf | 14 ++++++++++++++
 prj.conf           |  4 ++++
 src/main.c         |  7 +++++++
 3 files changed, 25 insertions(+)
 create mode 100644 overlay-debug.conf

diff --git a/overlay-debug.conf b/overlay-debug.conf
new file mode 100644
index 0000000..dd83de0
--- /dev/null
+++ b/overlay-debug.conf
@@ -0,0 +1,14 @@
+CONFIG_SHELL=y
+CONFIG_SHELL_BACKEND_SERIAL=y
+CONFIG_SHELL_STACK_SIZE=4096
+CONFIG_NET_SHELL=y
+CONFIG_SHELL_GETOPT=y
+CONFIG_SHELL_CMDS_RESIZE=n
+CONFIG_NRF700X_UTIL=y
+CONFIG_NET_L2_WIFI_SHELL=y
+CONFIG_NET_STATISTICS=y
+CONFIG_NET_STATISTICS_WIFI=y
+CONFIG_NET_STATISTICS_USER_API=y
+CONFIG_SYS_HEAP_RUNTIME_STATS=y
+# Enable for debugging connection issues
+# CONFIG_WPA_SUPP_LOG_LEVEL_DBG=y
diff --git a/prj.conf b/prj.conf
index 9b91578..32695f2 100644
--- a/prj.conf
+++ b/prj.conf
@@ -107,3 +107,7 @@ CONFIG_NET_HTTP_LOG_LEVEL_DBG=y
 CONFIG_THREAD_NAME=y
 
 CONFIG_RESET_ON_FATAL_ERROR=n
+
+
+# debugging
+CONFIG_SHELL_STACK_SIZE=4096
diff --git a/src/main.c b/src/main.c
index d9bcfe7..a3a76aa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -416,6 +416,12 @@ int wifi_poweron(struct net_if *iface)
 
 //~ #define BT_LE_ADV_CONN_DEF BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE, 0x0640, 0x0680, NULL)
 
+void dump_rpu_stats(void)
+{
+	shell_execute_cmd(shell_backend_uart_get_ptr(), &amp;quot;wifi_util tx_stats 0&amp;quot;);
+	shell_execute_cmd(shell_backend_uart_get_ptr(), &amp;quot;wifi_util rpu_stats all&amp;quot;);
+}
+
 int main(void)
 {
 	//volatile unsigned int *myPointer = (volatile unsigned int *) 0x5002B500;
@@ -505,6 +511,7 @@ int main(void)
 			while (!have_ip) {
 				attempt++;		
 				printf(&amp;quot;%d\n&amp;quot;,attempt);
+				dump_rpu_stats();
 				if (attempt==200) {
 					printf(&amp;quot;No ip.\n&amp;quot;);
 					err=-99;
-- 
&lt;/pre&gt;&lt;br /&gt;Please make sure that you build with overlay-debug.conf by providing extra argument&amp;nbsp; &amp;nbsp; -DOVERLAY_CONFIG=overlay-debug.conf. If the issue is still present, please provide full logs, and elf files.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>