<?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>ncs writing flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106682/ncs-writing-flash</link><description>Hi all, 
 I am using ncs v2.2.0 
 Encountered an error while writing flash 
 Every time I write to this address(0x00010c0c), there is an error, please check the log</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 16 Dec 2023 01:43:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106682/ncs-writing-flash" /><item><title>RE: ncs writing flash</title><link>https://devzone.nordicsemi.com/thread/460644?ContentTypeID=1</link><pubDate>Sat, 16 Dec 2023 01:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aa4e347-10cd-4c97-a5c6-bb1fbb6924af</guid><dc:creator>huangtao</dc:creator><description>&lt;p&gt;I found the problem，I called this function repeatedly(flash_img_init)，causing an exception when writing to flash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs writing flash</title><link>https://devzone.nordicsemi.com/thread/460544?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 12:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6782176f-ac3b-4201-811a-20f8fcebf761</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;Have you set &amp;quot;CONFIG_MPU_ALLOW_FLASH_WRITE=y&amp;quot; in your project?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, that address offset seems quite low. Are you certain that you&amp;#39;re not writing into a region you should not write into?&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>