<?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>nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25120/nrf51822-sdk12-hangs-after-flash-write</link><description>i am in very strange problem and was unable to debug it
i am using following code to write 16 bytes data to flash memory, my app hangs after executing custom_flash_write function. function works as expected ( flash is erased , data is written and fucntion</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Sep 2017 10:43:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25120/nrf51822-sdk12-hangs-after-flash-write" /><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98949?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 10:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3580566-84f0-4220-b584-16260770948c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! And thank you for sharing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98948?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 10:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f33f40-d1a5-4b63-b4f5-ce8c4c0603af</guid><dc:creator>bindassdost</dc:creator><description>&lt;p&gt;thanks for your help but i had found the problem. flash_write takes more than 1 ms delay which blocks my sysTick interrupt and thus rtc1 counter value overflows systick cc value. this block my clock driver and creates a effect of app hang&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98944?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 09:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e09f8df0-4bc8-41e7-b139-e5c2e3c32655</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Hmmm. Would it be possible for you to share the complete project? So I can test it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98945?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 06:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4576685c-2b6c-42f2-af5c-ba574f6c7714</guid><dc:creator>bindassdost</dc:creator><description>&lt;p&gt;i am using SDK_12.3 with SD130_2.0.1
i am trying to erase 192 page and writing at address 0x30000&lt;/p&gt;
&lt;p&gt;strange thing is, i am using same code in my custom bootloader where it works fine. but in app this code hangs after executing flash write successfully&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98943?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 09:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d6d8deb-ed9e-46db-b968-756ae25b110a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Which SoftDevice are you using? Which page are you trying to erase? Which address are you trying to write to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98947?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 00:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:176281a1-ea4a-4683-88bd-0e797a668acc</guid><dc:creator>bindassdost</dc:creator><description>&lt;p&gt;i am calling these functions in main&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 sdk12 hangs after flash write</title><link>https://devzone.nordicsemi.com/thread/98946?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 12:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7e6f73c-1287-4162-9649-49d7ed23e412</guid><dc:creator>secondbest</dc:creator><description>&lt;p&gt;You must write or erase your flash inside main while. I hope it can help you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>