<?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>After DFU operation, FDS initialization failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110405/after-dfu-operation-fds-initialization-failed</link><description>Due to the increase in functionality, the amount of new application code has increased. After DFU operation, FDS Init failed to restart. However, if I use the complete hexadecimal file, it can start normally 
 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Apr 2024 08:59:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110405/after-dfu-operation-fds-initialization-failed" /><item><title>RE: After DFU operation, FDS initialization failed</title><link>https://devzone.nordicsemi.com/thread/479907?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 08:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aee65469-8d9e-439f-b7ad-3f0ed9d0c00e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Have you verified that your application has not&amp;nbsp;grown into&amp;nbsp;the FDS area? This will not trigger a linker error at build time because the FDS area is not reserved by the linker. The fact that you receive the FDS_ERR_NO_SPACE_IN_FLASH error after a single bank DFU suggests that your application has become too large to fit into the free area between the Softdevice and the FDS.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1713775946439v1.png" alt=" " /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="RQiao"]I confirmed that the setting of DFU_APP_DATA_Reserved in Bootload is correct.[/quote]
&lt;p&gt;So DFU_APP_DATA_RESERVED == (FDS_VIRTUAL_PAGES+FDS_VIRTUAL_PAGES_RESERVED)*4096?&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: After DFU operation, FDS initialization failed</title><link>https://devzone.nordicsemi.com/thread/479885?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 08:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71d763ca-0334-4a8c-a50e-7a64320d0139</guid><dc:creator>RQiao</dc:creator><description>&lt;p&gt;I am using SDK 17.0.2, the chip is nrf52832, and the hardware and code are customized (the code is based on the ble UART demo modification). When the FDS initialization fails, the returned error code is FDS_ERR_NO_SPACE_IN_FLASH. I use nrf connect for BLE DFU.&lt;br /&gt;In addition, I used the bootload provided by the sample program, but in single bank DFU mode.&lt;br /&gt;After my question, I made some progress: after dfu is completed, when restarting, if the app data in the flash is erased, the fds can be initialized normally.&lt;br /&gt;I confirmed that the setting of DFU_APP_DATA_Reserved in Bootload is correct.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks &amp;amp; Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After DFU operation, FDS initialization failed</title><link>https://devzone.nordicsemi.com/thread/479864?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 07:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6800453-e355-42a6-abcb-04f61d4fe505</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p style="margin:0;padding:0;text-align:left;"&gt;For us to help you with this in the best possible way, please list the following information:&lt;/p&gt;
&lt;ul style="list-style-type:disc;margin:0;text-align:left;"&gt;
&lt;li&gt;SDK Version&lt;/li&gt;
&lt;li&gt;Development Kit Version&lt;/li&gt;
&lt;li&gt;Which sample do you use?&lt;/li&gt;
&lt;li&gt;Do you use custom hardware or code?&lt;/li&gt;
&lt;li&gt;Do you have error logs?&lt;/li&gt;
&lt;li&gt;What do you send DFU from?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>