<?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>Partial flash erase and Softdevice possible?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55464/partial-flash-erase-and-softdevice-possible</link><description>Hello 
 I have a power constraint device. Limit is not the total charge of a battery or so. Limit is the peak current. 
 Available (peak) current is around 4mA (@1.8V), current peaks required e.g. for radio are buffered thru capacitors. 
 Everything is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Dec 2019 15:33:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55464/partial-flash-erase-and-softdevice-possible" /><item><title>RE: Partial flash erase and Softdevice possible?</title><link>https://devzone.nordicsemi.com/thread/224976?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 15:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:443e21eb-e7a2-4f7b-a4fd-ff3317d135cc</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Thanks Bj&amp;ouml;rn, for your suggestion with the timeslot API (which corresponds to my personal findings).&lt;/p&gt;
&lt;p&gt;Would be great, if the SD API would be somehow enhanced to support partial erase of flash pages.&amp;nbsp; I don&amp;#39;t think, that I&amp;#39;m the only one with this problem.&lt;/p&gt;
&lt;p&gt;Regards Hardy&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;PS: MCU type is tagged on the right side, so I did not mention it again in the message body ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partial flash erase and Softdevice possible?</title><link>https://devzone.nordicsemi.com/thread/224939?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 13:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca407514-4982-42e3-93ce-76cf153a4b70</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Hardy,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No, that was just an example.&lt;/p&gt;
&lt;p&gt;I forgot to ask which nRF52 device you are using? Since you were referring to the nRF52840, I assume that you&amp;#39;re using that. Yes,&amp;nbsp; we do support partial page erases on the nRF52840 , nRF52833,&amp;nbsp; nRF52811 and nRF52810, see&amp;nbsp;&lt;a title="Partial erase of a page in flash" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/nvmc.html?cp=4_0_0_3_2_6#concept_partial_erase"&gt;Partial erase of a page in flash&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do not think there is any SD API to use this feature of the NVMC, but you should be able to do this in a Timeslot. See&amp;nbsp;&lt;a title="Concurrent multiprotocol implementation using the Radio Timeslot API" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/concurrent_multiprotocol_tsl_api/concurrent_multiprotocol_tsl_api.html?cp=4_5_3_0_8_1"&gt;Concurrent multiprotocol implementation using the Radio Timeslot API&lt;/a&gt;&amp;nbsp;in the S140 SoftDevice Specification.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partial flash erase and Softdevice possible?</title><link>https://devzone.nordicsemi.com/thread/224930?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 13:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:496ba0a9-7bd2-4570-a211-145e84171712</guid><dc:creator>rgrr2</dc:creator><description>&lt;p&gt;Hi Bj&amp;ouml;rn,&lt;/p&gt;
&lt;p&gt;was not aware that erasing in 1KByte chunks is possible (is it?).&amp;nbsp; I&amp;acute;m talking about the partial erase feature of the nRF52840: this splits the 85ms erase time into &amp;quot;n&amp;quot; smaller &amp;quot;m&amp;quot; ms-intervals, where &amp;quot;n&amp;quot; x &amp;quot;m&amp;quot; &amp;gt;= 85ms.&lt;/p&gt;
&lt;p&gt;This would give the capacitors time to recharge and thus allows flash page erase without violation of our power constraints.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Partial flash erase and Softdevice possible?</title><link>https://devzone.nordicsemi.com/thread/224892?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 10:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2273cb80-5e02-4e79-8dec-65ac01e0ca58</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Hardy,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;do you mean partially erasing a page, e.g. erasing the page in 1kB chunks instead of the entire page of 4kB in one go?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>