<?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>FDS Write Operation Fails in Release Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58426/fds-write-operation-fails-in-release-mode</link><description>Hello, 
 I&amp;#39;m using nRF52811 SoC with nRF5_SDK16.0.0 and SoftDevice v7.0.1. I&amp;#39;m using following code to write data into flash. This code is tested with nRF52840 in both debug as well as release mode. It works with nRF52811 as well but only when the the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Mar 2020 11:27:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58426/fds-write-operation-fails-in-release-mode" /><item><title>RE: FDS Write Operation Fails in Release Mode</title><link>https://devzone.nordicsemi.com/thread/237401?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 11:27:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48174ac7-71d8-429b-b42c-5d5045e1b5ee</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Thanks, it worked!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write Operation Fails in Release Mode</title><link>https://devzone.nordicsemi.com/thread/237369?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 10:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1f8e3ff-9415-4362-bf30-1a0b325d4abf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Error code 34306/0x8602 corresponds to&amp;nbsp;FDS_ERR_UNALIGNED_ADDR, which indicates that your source pointer (p_data) is not word-aligned as is required. Use the __ALIGN(4) keyword to ensure the variable is always aligned to a 4-byte boundary.&lt;/p&gt;
&lt;p&gt;E.g.,&lt;/p&gt;
&lt;p&gt;// Variable declaration&lt;/p&gt;
&lt;p&gt;__ALIGN(4) static uint8_t&amp;nbsp; m_dummy[SIZE];&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write Operation Fails in Release Mode</title><link>https://devzone.nordicsemi.com/thread/237325?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 07:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e33a975e-9b51-4a31-927e-bcd4561ba500</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Here is the log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: RGB Duty cycle:69,0,6
&amp;lt;info&amp;gt; app: Updating RGB Record...
&amp;lt;info&amp;gt; app: Creating new RGB file...
&amp;lt;info&amp;gt; app: FDS write error: 34306
&amp;lt;error&amp;gt; app: Fatal error
&amp;lt;warning&amp;gt; app: System reset&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Write Operation Fails in Release Mode</title><link>https://devzone.nordicsemi.com/thread/237125?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2020 12:42:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c9267c6-eb18-4a19-b948-1c38fd9c242c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please repeat with the last log statement included:&amp;nbsp; NRF_LOG_INFO(&amp;quot;FDS write error: %d&amp;quot;, rc);. I want to see if the fds_record_write() returns an error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>