<?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_access_in_progress() preventing BLE advertising start.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36730/flash_access_in_progress-preventing-ble-advertising-start</link><description>My app (SDK12.3.0 + S130 v2.0.1) is being prevented from advertising because flash_access_in_progress() is true (m_queue.count != 0) on ble_advertising_start (ble_advertising.c library from SDK). It sets m_advertising_pending = true but never recovers</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Aug 2018 14:17:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36730/flash_access_in_progress-preventing-ble-advertising-start" /><item><title>RE: flash_access_in_progress() preventing BLE advertising start.</title><link>https://devzone.nordicsemi.com/thread/144211?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 14:17:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85df3b67-403d-4346-8e3c-2cfc4ec78e19</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;The compiler will zero initialize alle vaiables/RAM after power on but if the variables is in the protected softdevice memory then it might not work. Not sure if this is the reason but can you check your RAM start and see that it is correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash_access_in_progress() preventing BLE advertising start.</title><link>https://devzone.nordicsemi.com/thread/143599?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 14:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7ace209-feed-4a3d-a660-3908087a0366</guid><dc:creator>Darrew</dc:creator><description>&lt;p&gt;Yes. Correct. Why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash_access_in_progress() preventing BLE advertising start.</title><link>https://devzone.nordicsemi.com/thread/143538?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 10:50:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f8648e7-e54e-4693-acf9-3db2012234ef</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;So if memory protection is disabled then it works fine?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash_access_in_progress() preventing BLE advertising start.</title><link>https://devzone.nordicsemi.com/thread/142047?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 06:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59650a20-9146-4a73-bad4-4463e659f0fd</guid><dc:creator>Darrew</dc:creator><description>&lt;p&gt;It seems that m_queue.count = 1 and this flash operation is never performed (m_queue is a module variable in fstorage.c SDK12.3).&lt;/p&gt;
&lt;p&gt;My app is not an unmodified example from the SDK but resembles &lt;a href="https://github.com/NordicPlayground/nrf51-ble-micro-esb-uart"&gt;https://github.com/NordicPlayground/nrf51-ble-micro-esb-uart&lt;/a&gt;&amp;nbsp;where BLE advertising runs concurrent to a protocol that uses the timeslot feature of the S130.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash_access_in_progress() preventing BLE advertising start.</title><link>https://devzone.nordicsemi.com/thread/141733?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 14:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e64e6611-8920-44cf-9595-8242679bc04d</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using an unmodified example from the SDK? Have you tried debugging to see where the busy function is coming from? Which fstorage module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>