<?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>Why ISR executing from MX25 with XiP causes issues when erase is happening but not the other threads executing from flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120870/why-isr-executing-from-mx25-with-xip-causes-issues-when-erase-is-happening-but-not-the-other-threads-executing-from-flash</link><description>I am using XiP with partial code running from MX25. I am facing issue where I am getting hard faults when Erase is happening and at the same time the ISR from XiP region is triggered. 
 But in scenarios where Erase is happening and code executing from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Apr 2025 09:03:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120870/why-isr-executing-from-mx25-with-xip-causes-issues-when-erase-is-happening-but-not-the-other-threads-executing-from-flash" /><item><title>RE: Why ISR executing from MX25 with XiP causes issues when erase is happening but not the other threads executing from flash</title><link>https://devzone.nordicsemi.com/thread/532757?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 09:03:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de926fb-97a5-41b6-abcc-9fd4890b2532</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you elaborate? Do you mean the location of a thread that is executing when the interrupt occurs, or something else?&lt;/p&gt;
&lt;p&gt;Also, can you confirm&amp;nbsp;if moving all ISRs out of the XiP region solved the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why ISR executing from MX25 with XiP causes issues when erase is happening but not the other threads executing from flash</title><link>https://devzone.nordicsemi.com/thread/532341?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 12:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae55ad75-84f6-4d5e-9a6b-4dd5cbe2e5ac</guid><dc:creator>AKO</dc:creator><description>&lt;p&gt;Yeah I have moved the ISRs in internal flash but why I am not seeing the same issue with threads which are executing from XiP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why ISR executing from MX25 with XiP causes issues when erase is happening but not the other threads executing from flash</title><link>https://devzone.nordicsemi.com/thread/532339?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 12:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2219f2-33af-4469-8dcd-ef274ab1133a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do I read this correctly that you have placed the ISR on external flash? I would avoid that, and place the ISR in internal flash. That is for several good reasons, but it includes &lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF5340_Rev1/page/ERR/nRF5340/Rev1/latest/anomaly_340_43.html#anomaly_340_43"&gt;errata 43&lt;/a&gt;, as it is difficult to properly handle this when you have an ISR there that can be triggered at any time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>