<?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>SDK15.2 fds write operation problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41016/sdk15-2-fds-write-operation-problem</link><description>Hi Nordic, 
 A problem was found with the SDK15.2 write operation. If the write size is equal to 12000 bytes, the system will return an invalid operation length error. 
 But this write length is uint32_t . 
 
 
 If you change the write length to 6000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Nov 2018 10:57:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41016/sdk15-2-fds-write-operation-problem" /><item><title>RE: SDK15.2 fds write operation problem</title><link>https://devzone.nordicsemi.com/thread/159532?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 10:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e3ff44e-1cda-430e-ac82-77fca3b793f6</guid><dc:creator>Jray</dc:creator><description>&lt;p&gt;Ok, Thanks Einar !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK15.2 fds write operation problem</title><link>https://devzone.nordicsemi.com/thread/159512?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 09:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6fb6448-9a3b-4ec9-9542-5264d23c5b51</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The line I pasted from the documentation is unclear because it mixes words and bytes, and in fact it is not entirely correct either. In practice, the maximum number of words you can write is&amp;nbsp;FDS_VIRTUAL_PAGE_SIZE - 6, which would be 2042 words in this case (8168 bytes). See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37722/fds-remaining-size"&gt;this thread&lt;/a&gt; for details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK15.2 fds write operation problem</title><link>https://devzone.nordicsemi.com/thread/159508?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 09:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f6d4307-51e3-43d5-b826-18da25e92412</guid><dc:creator>Jray</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;Do you mean that the maximum cannot exceed 2048*4-14 bytes? if&amp;nbsp;&lt;span&gt;FDS_VIRTUAL_PAGE_SIZE = 2048.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/955x450/__key/communityserver-discussions-components-files/4/QQ_2A62FE56_20181129172659.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK15.2 fds write operation problem</title><link>https://devzone.nordicsemi.com/thread/159507?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 09:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a70636d5-3cf6-411b-b429-13b3e332f26a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are attempting to write a larger record than allowed. From&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/group__fds.html?cp=4_0_0_6_11_19_26#ga0114083241dc287c7145fe113c9adc2c"&gt;fds_record_write() API doc&lt;/a&gt;: &amp;quot;The length of the data must not exceed FDS_VIRTUAL_PAGE_SIZE words minus 14 bytes&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>