<?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>Flash erase and write when the Bluetooth connection.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65681/flash-erase-and-write-when-the-bluetooth-connection</link><description>Hi Nordic When the BLE is connecting, the fs_event_handler hasn&amp;#39;t any callback after doing nrf_fstorage_erase or nrf_fstorage_write. 
 It seems like the storage (nrf_fstorage_is_busy) is always busy. 
 But when the BLE is disconnecting, this function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Sep 2020 18:05:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65681/flash-erase-and-write-when-the-bluetooth-connection" /><item><title>RE: Flash erase and write when the Bluetooth connection.</title><link>https://devzone.nordicsemi.com/thread/268597?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 18:05:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df7bb64-504a-41f1-b258-4a4d5cc65adc</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Is it possible that you are calling fstorage api from an interrupt handler, and this prevent the&amp;nbsp;&lt;span&gt;fs_event_handler to be called due to the interrupt priority?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Alternatively, is it possible that you are using the app scheduler, and thereby you need to&amp;nbsp;run&amp;nbsp;&lt;/span&gt;app_sched_execute() until it&amp;#39;s executed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>