<?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>How to deal with the flash when add a DFU service in nRF5 SDK V12.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18553/how-to-deal-with-the-flash-when-add-a-dfu-service-in-nrf5-sdk-v12-2</link><description>Hi, 
 I&amp;#39;m using nRF5_SDK_12.2.0_f012efa and s132_nrf52_3.0.0_softdevice. We want to do the OTA on it. Before I add a DFU service to make it switch to bootloader, I have use fs_init to write some data to flash and it&amp;#39;s ok. However, after I add a DFU service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Dec 2016 09:27:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18553/how-to-deal-with-the-flash-when-add-a-dfu-service-in-nrf5-sdk-v12-2" /><item><title>RE: How to deal with the flash when add a DFU service in nRF5 SDK V12.2</title><link>https://devzone.nordicsemi.com/thread/71599?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2016 09:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa7cda1-32bd-407b-abcf-4114098a3638</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s inside APP_ERROR_CHECK macro. By default it will be inside app_error_handler_bare().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to deal with the flash when add a DFU service in nRF5 SDK V12.2</title><link>https://devzone.nordicsemi.com/thread/71598?ContentTypeID=1</link><pubDate>Mon, 26 Dec 2016 11:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed56f334-3648-427f-a3e9-cca5ebf89210</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;m_error_code = error_code;
m_line_num = line_num;
m_p_file_name = p_file_name;
UNUSED_VARIABLE(m_error_code);
UNUSED_VARIABLE(m_line_num);
UNUSED_VARIABLE(m_p_file_name);
__disable_irq();
while(loop);&lt;/p&gt;
&lt;p&gt;I cann&amp;#39;t find this code and could you tell where is it? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to deal with the flash when add a DFU service in nRF5 SDK V12.2</title><link>https://devzone.nordicsemi.com/thread/71597?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2016 13:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53e9a6ed-b5d9-469e-8bac-48a26f00effd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;fstorage module should not have any problem with the DFU service.
If fstorage is already initialized, the second call to fs_init will simply return nRF_SUCCESS.&lt;/p&gt;
&lt;p&gt;I would suggest you to step into the code and check what cause the assertion. You can find a guide for debugging &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>