<?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 write problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1626/flash-write-problem</link><description>Dear Nordic guy, I&amp;#39;m developing with nrf51822.
I have one question regarding flash write.
In ble connected state,I have some error to write some data to flash.
I want to write some data to flash. I describe detail reproducing step
1)in ble state,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Feb 2014 13:09:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1626/flash-write-problem" /><item><title>RE: flash write problem</title><link>https://devzone.nordicsemi.com/thread/7175?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2014 13:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bada1e5f-c21c-487f-b03d-229711dd442b</guid><dc:creator>hjjeon</dc:creator><description>&lt;p&gt;YES,thank you hung bui,I got the softdevice 6.0 hex and header and sdkv5.0.
my older version is softdevice alpha.hex and sdk4.0
so, I&amp;#39;m integrating this code  now(header copy,and modifiy my code in accordance with sdkv5.0,and replace flash fuction)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash write problem</title><link>https://devzone.nordicsemi.com/thread/7174?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2014 13:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46666fa0-8fae-4676-963d-3da38f7be148</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hijeon,
Could you let me know exactly which Softdevice you are using and which SDK version you based on ?&lt;/p&gt;
&lt;p&gt;The S110 softdevice and its header files can be downloaded from here :
&lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-R-low-energy/nRF51822-Development-Kit"&gt;www.nordicsemi.com/.../nRF51822-Development-Kit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are using SDK v5.x you don&amp;#39;t have to modify your code to use with softdevice v6.0.0&lt;/p&gt;
&lt;p&gt;If you are using SDK v4.x you would need to update your header file and modify your code since there are some major change in the way we manage the flash. However, I would suggest you to take the template example in SDK v5.x and integrate your code into the template than to modify your project to match with the new Softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash write problem</title><link>https://devzone.nordicsemi.com/thread/7173?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2014 08:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c5b197-99aa-4375-930d-32f33e6ea558</guid><dc:creator>hjjeon</dc:creator><description>&lt;p&gt;Thank you for your consideration.
I&amp;#39;m using S110 alpha version.
How can I take the new stack binary and header  which have to be merged?
Please show me the way.
and which version is correct for me?0.5?0.6?
Anyway give me new stack binary and header.^^
Thank you  for your kindness.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flash write problem</title><link>https://devzone.nordicsemi.com/thread/7172?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2014 12:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7561ddc7-6109-43d9-a10a-2c65d78d12ee</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hijeon,&lt;/p&gt;
&lt;p&gt;It would be hard to say what cause the issue without knowing your code.
Which S110 softdevice you used ?
As you may already know the current S110 (v6.x) provides the flash writing and erasing API so that the issue that CPU blocking period when performing flash writing/erasing would not collide the BLE activity.&lt;/p&gt;
&lt;p&gt;The issue you observed that there behaviour are different between the MCP app on the phone and the MCP on PC, maybe resulted from the fact that the connection interval on the phone maybe longer, and it&amp;#39;s enough time for the flash writing process without crashing the BLE connection.&lt;/p&gt;
&lt;p&gt;If you are using S110 v5.x you should use the Radio Notification to avoid collision when writing to flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>