<?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>Unused space at the end of the SoftDevice region?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118150/unused-space-at-the-end-of-the-softdevice-region</link><description>Hello! The S140 7.3.0 SoftDevice docs say it requires 0x27000 of flash, but the SoftDevice hex only occupies 0x26634 bytes. This leaves 2508 bytes of hopefully unused flash. 
 Can I use some of that remaining space to store some permanent metadata I need</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jan 2025 17:39:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118150/unused-space-at-the-end-of-the-softdevice-region" /><item><title>RE: Unused space at the end of the SoftDevice region?</title><link>https://devzone.nordicsemi.com/thread/519153?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 17:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9195dc5c-bc21-44d3-b89c-1c06d7af7708</guid><dc:creator>Jeff Wiencrot</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;&amp;nbsp;thank you for the quick answer!&amp;nbsp;&amp;nbsp;I kind of figured this was just about page alignment due to flash erase sizes.&amp;nbsp; &amp;nbsp;This fits exactly what we need.&amp;nbsp; The planned metadata is actually about the SD itself, so I&amp;nbsp;&lt;em&gt;want&lt;/em&gt; it to be written/erased along with the SD.&amp;nbsp; Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unused space at the end of the SoftDevice region?</title><link>https://devzone.nordicsemi.com/thread/519073?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 13:11:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:578755c6-df3f-4b1d-9595-08fdf90a32ca</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Due to the nature of flash. memory, we always specify full number of flash pages as the SoftDevice size. Any free space betwen the end of the data and the end of the page would be erased during a SoftDevice DFU update ofr instance (as the flash pages are erased), so it is not recomended to re-use that space. It may be possible though if you do not do DFU and are aware of the limitations and that it is not supported, but I would try to avoid it. Could another posibility be to store additional data in the UICR? Have quite a few registers there, and except for those that are reserved, you can use them for enything persistent data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>