<?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 fails to initialise with bootloader present</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84282/fds-fails-to-initialise-with-bootloader-present</link><description>Hi, 
 I am getting a strange issue in my code where my FDS will run fine if there is no bootloader but fails to initialise if there is a bootloader present. I am using SDK 17.1.0 and S140 V7.2.0 on an nRF52840. I am using the pca10056_s140_ble secure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Feb 2022 15:53:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84282/fds-fails-to-initialise-with-bootloader-present" /><item><title>RE: FDS fails to initialise with bootloader present</title><link>https://devzone.nordicsemi.com/thread/353159?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 15:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ce8c6e2-cab9-43c0-a254-58c70b08900b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/65680/nrf_sdh_enable_request-returns-nrf_error_invalid_state/268519#268519"&gt;This post&lt;/a&gt; may be relevant to answer your questions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS fails to initialise with bootloader present</title><link>https://devzone.nordicsemi.com/thread/351855?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 14:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba5ad7f-6110-43d4-9674-07a6968db3ea</guid><dc:creator>RPDben</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have done a bit more investigation and have concluded the following. The below results were all achieved with the same Bootloader, Softdevice and application.&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Program SD and BL using nRF Connect and DFU application.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Application runs as expected.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;A hard reset was performed by pulling the RESET pin low and&amp;nbsp;application still runs as expected&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Program SD and BL using nRF Connect and DFU application. Try to &amp;quot;Debug&amp;quot; from SES with same application.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Application starts to run but fds_evt_handler is never invoked after the fds_init&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Program SD and BL using nRF Connect and DFU application. Try to &amp;quot;Download&amp;quot; from SES with same application.&lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Application fails to initialise the stack -&amp;nbsp;&lt;code&gt;nrf_sdh_enable_request()&lt;/code&gt; returns &lt;code&gt;ERROR 8 [NRF_ERROR_INVALID_STATE] &lt;/code&gt;&lt;/span&gt;(As viewed through J-Link RTT Viewer)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It would be great to understand why there is a difference in the behaviours despite all code being the same and I can get my code working while Debugging in SES.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS fails to initialise with bootloader present</title><link>https://devzone.nordicsemi.com/thread/351142?ContentTypeID=1</link><pubDate>Thu, 03 Feb 2022 14:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:748a0f36-e7b8-4079-b1e2-e1b476474cb6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which application are you testing with?&lt;/p&gt;
&lt;p&gt;I just tried out the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/fds_example.html"&gt;flash_fds&lt;/a&gt; pca10056/s140 example from SDK 17.1.0 together with the S140 secure BLE bootloader on nRF52840 DK, and this works fine.&lt;/p&gt;
&lt;p&gt;Are you using the softdevice or NVMC backend in your FDS application? Are you enabling the softdevice in the application before using FDS?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>