<?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>7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116105/7002-initialization-fails-when-using-debugger</link><description>I have an app where I&amp;#39;m using the AP and STA mode of the 7002. I&amp;#39;m running on a nrf5340. 
 *** Booting nRF Connect SDK v3.5.99-ncs1-1-1-g6dc48c918694 *** [00:00:12.620,269] &amp;lt;inf&amp;gt; main: Starting nrf7002_nrf5340_custom_cpuapp with CPU frequency: 64 MHz</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jan 2025 17:08:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116105/7002-initialization-fails-when-using-debugger" /><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/520605?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 17:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a837c0e-0837-4e90-8cf8-33f9e9675d45</guid><dc:creator>GabrielDS</dc:creator><description>&lt;p&gt;This may have ultimately been related to a shared I/O lines and power sequencing on our first revision of our PCB.&amp;nbsp;&amp;nbsp;So far we&amp;#39;ve not seen it again on our latest rev.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gabriel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/517410?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 09:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63681f45-2e74-4d0b-aae2-232e370907c7</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;
[quote user="GabrielDS"]Q1:&amp;nbsp; Yes, it happens on a range of boards.[/quote]
&lt;p&gt;Do you see this issue if you use for instance the wifi/scan or wifi/sta sample?&lt;/p&gt;
&lt;p&gt;Does the issue only occur on custom hardware, or with the nRF7002dk as well?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="GabrielDS"]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Q2:&amp;nbsp; I&amp;#39;ve been on NCS 2.6.1.&amp;nbsp; I&amp;#39;ve not upgraded for a number of reasons.&lt;/p&gt;[/quote]
&lt;p&gt;Understand that you do not want to upgrade your SDK, but it would be good to get a generic overview of if this is a generic problem seen only on v2.6.x or if it also occurs on newer versions?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you atleast keep your sources up-to-date with the latest minor release, which is v2.6.2.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="GabrielDS"]&lt;p&gt;Q3:&amp;nbsp; I don&amp;#39;t think this is relevant as this hang-up occurs well before main.&lt;/p&gt;
&lt;p&gt;The reason you see the message after the startup message is that it tries for 10 seconds to start the Wi-Fi chip.&amp;nbsp; So the expiration and message show up in the time main runs, but the hang-up is right at power up.&amp;nbsp; I&amp;#39;ve verified this in the debugger.&lt;/p&gt;[/quote]
&lt;p&gt;Do you use a switch or similar to enable the main VDD_WIFI to the nRF7002? If yes, when is this done during initialization (SYS_INIT -&amp;gt; pre-kernel? What prio?) in your end? Do you have a delay afterwards to ensure that the nRF7002 is booted up?&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: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/517304?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 16:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e65eb00c-3e00-48b9-bfa4-a61c6dd0a840</guid><dc:creator>GabrielDS</dc:creator><description>&lt;p&gt;Q1:&amp;nbsp; Yes, it happens on a range of boards.&lt;/p&gt;
&lt;p&gt;Q2:&amp;nbsp; I&amp;#39;ve been on NCS 2.6.1.&amp;nbsp; I&amp;#39;ve not upgraded for a number of reasons.&lt;/p&gt;
&lt;p&gt;Q3:&amp;nbsp; I don&amp;#39;t think this is relevant as this hang-up occurs well before main.&lt;/p&gt;
&lt;p&gt;The reason you see the message after the startup message is that it tries for 10 seconds to start the Wi-Fi chip.&amp;nbsp; So the expiration and message show up in the time main runs, but the hang-up is right at power up.&amp;nbsp; I&amp;#39;ve verified this in the debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/517220?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 13:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ac60552-cb3c-4f84-a9b6-7ddd6685c079</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;I am glad to hear that you have a workaround, but the issue is still present and should be addressed.&lt;/p&gt;
&lt;p&gt;Q1: Are you able to reproduce this with any other sample?&lt;/p&gt;
&lt;p&gt;Q2: Which NCS version are you using, and have you tried this on newer versions?&lt;/p&gt;
&lt;p&gt;Q3: If you are using v2.6.1 or older, could you ensure that there is a 1 second delay in your main before calling any wifi-related API?&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.6.1/samples/wifi/scan/src/main.c#L335"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.6.1/samples/wifi/scan/src/main.c#L335&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: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/517029?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:810ba4bc-82f4-4e8d-a958-c782f46c5e7a</guid><dc:creator>GabrielDS</dc:creator><description>&lt;p&gt;These lines:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[00:00:12.376,525] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_fmac_chg_vif_state: RPU is unresponsive for 10 sec&lt;/span&gt;&lt;br /&gt;&lt;span&gt;[00:00:12.376,586] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_chg_vif_state failed&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Happens very early at startup.&amp;nbsp; Before main or anything else.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My work around has been to set&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_WIFI_IF_AUTO_START&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Then start it up before I need it, using the mechanism in the wifi shutdown example.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It&amp;#39;s a decent enough solution, but I&amp;#39;m confident there is an issue in the library/driver.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Gabriel&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/516940?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 09:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:865f452e-df61-4ca3-b8b2-800757f6e0d8</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 does sound like there is a timing error occurring while you are debugging.&lt;/p&gt;
&lt;p&gt;Are you using the wifi ready library?&lt;/p&gt;
&lt;p&gt;If not, could you try to implement this fix to see if the issue still occurs?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/c6cb467b1935b6774be73a9c307c5a217d823023"&gt;https://github.com/nrfconnect/sdk-nrf/commit/c6cb467b1935b6774be73a9c307c5a217d823023&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: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/516840?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 16:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a42baf-43f2-4759-9839-6d44d42f6276</guid><dc:creator>GabrielDS</dc:creator><description>&lt;p&gt;The problem has risen it&amp;#39;s ugly head again.&lt;/p&gt;
&lt;p&gt;I actually already had the&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;em&gt;gpio_fwd: nrf-gpio-forwarder&amp;nbsp;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;commented out/disabled in my custom board files.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It is blocking my ability to debug wifi.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;If I hit reset on the board, the board comes up just fine.&amp;nbsp; If I attached the debugger (attach or launch), the board resets, and the wifi error above happens.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I&amp;#39;ve tried various gbd resets to try to get attached without resetting the chip.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is there a way to force the wifi chip to reset on power up?&amp;nbsp; I suspect that a push button reset clears everything out, while a debugger attach does not.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Is there a way to force a wifi chip reset on startup?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Can you advise how I might fix the attach mechanism so a reset doesn&amp;#39;t occur to debug?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/509709?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 15:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a453445e-702b-4f65-84ee-91d1e51893bc</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;Could this be due to the P1.05 being default owned by the network core?&lt;/p&gt;
&lt;p&gt;Try adding this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay#L14-L16"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay#L14-L16&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And see if this improves 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: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/509508?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 15:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29f6a554-39bd-4195-b529-49922d53765f</guid><dc:creator>GabrielDS</dc:creator><description>&lt;p&gt;It did do it again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suspect&amp;nbsp;a startup timing issue based on startup speed that the debugger affects.&amp;nbsp; I suspect it has to do with how soon the debugger can stop execution.&amp;nbsp; I do find when I just keep the debugger connected during the flash and reload process, it helps.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gabriel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/509495?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 15:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cdfa336-326d-428f-bfd8-9cc5ddd13821</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Gabriel,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;These should be pull down:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/boards/shields/nrf7002ek/nrf7002ek.overlay#L41-L42"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/boards/shields/nrf7002ek/nrf7002ek.overlay#L41-L42&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not pull-up.&lt;/p&gt;
&lt;p&gt;By setting them to pull-up, they will always have the idle level of &amp;quot;active&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By setting a defined level here, you ensure that the pin is inactive when the nRF7002 is inactive, and vice-versa when nRF7002 is active.&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: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/509268?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 14:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca506538-28f2-4626-a3dd-2b328476fd5e</guid><dc:creator>GabrielDS</dc:creator><description>&lt;p&gt;I expect you mean like this?&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span&gt;/* Wi-Fi Pins used */&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;iovdd-ctrl-gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;15&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_HIGH&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;strong&gt;GPIO_PULL_UP&lt;/strong&gt;&lt;span&gt;)&amp;gt;; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;// nRF7002_IOVDD_CTRL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;bucken-gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_HIGH&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;strong&gt;GPIO_PULL_UP&lt;/strong&gt;&lt;span&gt;)&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;// buck-en&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;host-irq-gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;23&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_HIGH&lt;/span&gt;&lt;span&gt;&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;// HOST_IRQ&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;supply-gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_HIGH&lt;/span&gt;&lt;span&gt;&amp;gt;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;// WiFiPWR_EN&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The GPIO_PULL_UP was not there, I just added it.&amp;nbsp; Can you advise what difference that should make?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The problem went away.&amp;nbsp; I suspect it had to do with the way the debug button got &amp;#39;binded&amp;#39; to a configuration that wasn&amp;#39;t valid.&amp;nbsp; Attach to running target still doesn&amp;#39;t work, but you can close this out for now.&amp;nbsp; If it pops back up, I&amp;#39;ll send you the .dts.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Gabriel&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 7002 Initialization fails when using debugger</title><link>https://devzone.nordicsemi.com/thread/509242?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 13:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2a199bb-cdfb-44a9-9736-4935a1a9ee43</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;
[quote user=""]&lt;p&gt;When using the debugger, these are the first two messages I receive:&lt;/p&gt;
&lt;p&gt;[00:00:12.376,525] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_fmac_chg_vif_state: RPU is unresponsive for 10 sec&lt;br /&gt;[00:00:12.376,586] &amp;lt;err&amp;gt; wifi_nrf: nrf_wifi_if_start_zep: nrf_wifi_fmac_chg_vif_state failed&lt;/p&gt;
&lt;p&gt;However, if when&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_WIFI_NRF700X_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;is set, everything works well.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;When set to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_WIFI_NRF700X_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;it still fails.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It would appear the time it takes to print the log messages, it allows something else to work.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;If I don&amp;#39;t use the debugger at all, it boots and runs fine.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Do you have pull resistors enabled on the&amp;nbsp; iovdd-ctrl-gpios and bucken-gpios in your device tree entry for nrf7002?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share your compiled build/zephyr/zephyr.dts file?&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>