<?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>Prefill FDS area while programming via SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45975/prefill-fds-area-while-programming-via-swd</link><description>Hello Nordic Team, 
 I have an application in development where some bigger files (~20kb) can be downloaded into the device, so they get stored in with the FDS system. 
 Now we are thinking about how we will manage this in production. As the device should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 12:16:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45975/prefill-fds-area-while-programming-via-swd" /><item><title>RE: Prefill FDS area while programming via SWD</title><link>https://devzone.nordicsemi.com/thread/181584?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 12:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b8d768-92ca-466c-9c94-f35f82a38831</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e45a6a7d187e4e94b6428941d4816a45/pastedimage1554984655983v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Record key&lt;/b&gt;: provided by the user and used for lookup&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Data length&lt;/b&gt;: expressed in number of 4-byte words&lt;/li&gt;
&lt;li&gt;&lt;b&gt;File ID&lt;/b&gt;: provided by the user and used for lookup&lt;/li&gt;
&lt;li&gt;&lt;b&gt;CRC16&lt;/b&gt;: optional CRC16 check value&amp;nbsp; (checks can be enabled by setting the FDS_CRC_ENABLED compile flag)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Record ID&lt;/b&gt;: &lt;u&gt;unique&lt;/u&gt; identifier &lt;i&gt;generated by the &lt;/i&gt;&lt;i&gt;system&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Yes, I think the easiest approach is what you suggested. Load the data over BLE to one device and then readback the flash. Is the data stored by FDS identical for all the devices?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prefill FDS area while programming via SWD</title><link>https://devzone.nordicsemi.com/thread/181558?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 11:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf9553a-e550-4426-8f21-218c77be1383</guid><dc:creator>Andy</dc:creator><description>[quote userid="62280" url="~/f/nordic-q-a/45975/prefill-fds-area-while-programming-via-swd/181532"]Maybe it is easier to just flash a module normally, upload the data via ble and the read back the full flash and use that for production ?[/quote]
&lt;p&gt;Yes, that&amp;#39;s what I would do. I would read the flash contents of a device that already has the desired data, create a hex file out of that data, and I would use mergehex to create a single hex file for production.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prefill FDS area while programming via SWD</title><link>https://devzone.nordicsemi.com/thread/181532?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 10:30:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345c4101-f5f9-4b25-801a-01d2416416e0</guid><dc:creator>2PrintBeta</dc:creator><description>&lt;p&gt;Thank you for this information.&lt;/p&gt;
&lt;p&gt;I looked at:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_fds.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_fds.html&lt;/a&gt; which describes the memory format. It seem pretty straight forward, but i have a few questions.&lt;/p&gt;
&lt;p&gt;Record ID and File ID are presumably the IDs used in the FDS API, but then what is the RECORD_KEY ? Also which checksum algorithm is used for the CRC ?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Maybe it is easier to just flash a module normally, upload the data via ble and the read back the full flash and use that for production ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prefill FDS area while programming via SWD</title><link>https://devzone.nordicsemi.com/thread/181481?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 08:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2efe4283-1da7-4b8d-868a-7ccc021b3881</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Dominik: Yes, it possible to flash data to the FDS area as long as you follow the format used by FDS to store records. Do you need any details or are you able to manage this yourself?&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: Prefill FDS area while programming via SWD</title><link>https://devzone.nordicsemi.com/thread/181169?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 19:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c2c15d2-1e15-4c77-bf2d-f5fdfb5a7dbc</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;It is possible. You just have to make sure that the data is written where it&amp;rsquo;s supposed to and that it has the expected format.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>