<?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>Reduce flash write_block_size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93666/reduce-flash-write_block_size</link><description>HI, 
 I am working on nrf52833 board, while working with flash in dts file i could see that write_block_size is 4 bytes. Is there any way to reduce that , i need it as 1 byte. kindly suggest me</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Nov 2022 13:43:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93666/reduce-flash-write_block_size" /><item><title>RE: Reduce flash write_block_size</title><link>https://devzone.nordicsemi.com/thread/394716?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 13:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d644856d-605d-4b05-bb68-393c2f4027b7</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;How are you writing?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you provide the code / zip-folder and log file if any.&lt;/p&gt;
&lt;p&gt;I will try that here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce flash write_block_size</title><link>https://devzone.nordicsemi.com/thread/394699?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 13:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1be8603-ba96-4526-8268-f625ea12f85d</guid><dc:creator>Shikamaru</dc:creator><description>&lt;p&gt;thanks &lt;a href="https://devzone.nordicsemi.com/members/naeem-maroof"&gt;Naeem Maroof&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yes this one I have tried already. it will get update is .dts file (zephyr.dts ). However , while writing flash if I provide one&amp;nbsp;byte it won&amp;#39;t take it. it will generate error.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce flash write_block_size</title><link>https://devzone.nordicsemi.com/thread/394687?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 12:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6afb1f51-784a-4bfb-bf53-60a2f28496d9</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Shikamaru,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You want to reduce the write_block_size. For that, you could use overlay file for your board.&lt;/p&gt;
&lt;p&gt;Here is sample overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;flash0 {
    write-block-size = &amp;lt;1&amp;gt;;
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here is sample DTS output using such an overlay file.&amp;nbsp;&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/pastedimage1667911703085v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I hope it helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>