<?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>nRF5340 XIP crash in debug build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127246/nrf5340-xip-crash-in-debug-build</link><description>Hi Nordic Team, 
 When using the nRF5340 with XIP enabled, a release build with -Os runs perfectly, but a debug build with -Og crashes on the first function located in the XIP, nrf_wifi_fmac_dev_add_zep() . We are using NCS 3.2.3. We made sure the wifi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Mar 2026 07:03:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127246/nrf5340-xip-crash-in-debug-build" /><item><title>RE: nRF5340 XIP crash in debug build</title><link>https://devzone.nordicsemi.com/thread/562506?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 07:03:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12002b8a-c430-4e84-9000-9ef45773b0bb</guid><dc:creator>NV0</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I have tried manually&amp;nbsp;changing the CMakeLists, basically to the same code as in the patch. This has solved my issue.&lt;/p&gt;
&lt;p&gt;Thanks, Niels&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 XIP crash in debug build</title><link>https://devzone.nordicsemi.com/thread/562481?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2026 19:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:405fc9a3-fb33-4603-913c-c5752ea0b526</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Niels,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to enable that anomaly workaround? &amp;nbsp;If not, please try the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Configured the APP CPU to 64MHz (default, unless clock divider is configured to 1 to get 128MHz).&lt;/li&gt;
&lt;li&gt;Try the patch &lt;a title="https://github.com/zephyrproject-rtos/zephyr/pull/92053" href="https://github.com/zephyrproject-rtos/zephyr/pull/92053" rel="noopener noreferrer" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/92053&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 XIP crash in debug build</title><link>https://devzone.nordicsemi.com/thread/562435?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2026 13:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e44a96e-132d-465c-b9e7-9b9b1eb5ebc8</guid><dc:creator>NV0</dc:creator><description>&lt;p&gt;Hi Nordic Team,&lt;/p&gt;
&lt;p&gt;The error seems to be caused by not using the errata 159 fix for the nrf5340. The file zephyr/modules/nrf_wifi/bus/CMakeLists.txt explicitely disables the workaround for this errate, when the nrf70x series wifi chip is used.&lt;/p&gt;
&lt;p&gt;Both&amp;nbsp;CONFIG_NRF70_BUSLIB and&amp;nbsp;CONFIG_NORDIC_QSPI_NOR are set, leading to the errate workaround being disabled, even when using regular spi for the nrf70.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>