<?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>Advertising start while flash operation pending</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5969/advertising-start-while-flash-operation-pending</link><description>Hi
While browsing the new files in the SDK 8.0.0 i had a look in the new ble_advertising module. In the start advertising function the pstorage access is checked if it&amp;#39;s busy. If a operation is pending the advertising is started later after storage operation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Mar 2015 09:55:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5969/advertising-start-while-flash-operation-pending" /><item><title>RE: Advertising start while flash operation pending</title><link>https://devzone.nordicsemi.com/thread/20817?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2015 09:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc35cf2-b79a-4821-ba63-9a96b56366e9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adrian,&lt;/p&gt;
&lt;p&gt;The check for pending flash operation was implemented to avoid the issue that when a connect request from a central arrives at the same time when a flash operation is ongoing (especially when erasing, which takes up to 23ms) on the peripheral, this may result in a link loss after that.&lt;/p&gt;
&lt;p&gt;So for the safe side, when you do a flash operation, try to stop advertising, call pstorage operation, and then start the advertising again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising start while flash operation pending</title><link>https://devzone.nordicsemi.com/thread/20818?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2015 08:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4d5675b-bbe1-4b40-8ed6-dc692e3f08a0</guid><dc:creator>Annim</dc:creator><description>&lt;p&gt;Hi, if your application is not using any flash read write activity then you can rid off the storage calls from your application. in case if your application needs pstorage calls, you can use it, as pstorage is event based so it is been taken care by the soft device. The pstorage activity can take place while adv is on. But make sure your queue to process request do not overflow or should not have same priority requests, otherwise it will never get processed hence enter into hard fault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>