<?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>Failed to allocate new MPU region</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124655/failed-to-allocate-new-mpu-region</link><description>I am programming with nrf52833,ncs v2.9.0.Based on peripheral_hid_keyboard and cetral hid. 
 I send about 6k hid keys to central via ,while sending,peripheral side 
 But ERR report that 
 How this happend?Do there any ideas to solve this? 
 
 Best regrad</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Oct 2025 16:35:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124655/failed-to-allocate-new-mpu-region" /><item><title>RE: Failed to allocate new MPU region</title><link>https://devzone.nordicsemi.com/thread/552376?ContentTypeID=1</link><pubDate>Fri, 24 Oct 2025 16:35:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:702d365b-f8ee-49f8-94b4-6c51c368e694</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Maybe there are some things you can optimize. See this page:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to allocate new MPU region</title><link>https://devzone.nordicsemi.com/thread/552110?ContentTypeID=1</link><pubDate>Wed, 22 Oct 2025 02:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e7b4533-e714-41e9-bc1a-cca3c2b71349</guid><dc:creator>Martin Evans</dc:creator><description>&lt;p&gt;I tried CONFIG_ASSERT=y then i update firmwire through DEVICE MANAGE APP, But report&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;W: Not enough free space to run swap upgrade
W: required 233472 bytes but only 229376 are available&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Actually flash is 96.55% usage.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1761098405515v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to allocate new MPU region</title><link>https://devzone.nordicsemi.com/thread/551570?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2025 11:30:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:885a0033-efcd-4df1-a9bc-e577603c5607</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The error does not make much sense. I&amp;#39;m suspecting this must be some kind of buffer overflow somewhere in your application.&lt;/p&gt;
&lt;p&gt;I see you have&amp;nbsp;CONFIG_ASSERT=n , please test with&amp;nbsp;CONFIG_ASSERT=y , and see if you can&amp;nbsp;catch&amp;nbsp;where the overflow happens&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to allocate new MPU region</title><link>https://devzone.nordicsemi.com/thread/550994?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 10:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6701b103-3ebc-47f0-9688-8d49eb5bb0da</guid><dc:creator>Martin Evans</dc:creator><description>&lt;p&gt;Sorry for that there are no more log can be post.&lt;br /&gt;This is sure happend after bt_hids_inp_rep_send().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to allocate new MPU region</title><link>https://devzone.nordicsemi.com/thread/550062?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2025 16:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e91c929-a584-4bcc-bc66-b0d969d43697</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Could you post more of the logs?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This happens after you call&amp;nbsp;bt_hids_inp_rep_send() ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>