<?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>52832 dfu issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59917/52832-dfu-issue</link><description>SDK:nRF5_SDK_16.0.0_98a08e2 
 Hardware：52832QFAA 
 I refer to the code of ble_app_buttonless_dfu to port to ble_app_hrs_freertos but the following problems occur during the upgrade process 
 00&amp;gt; &amp;lt;error&amp;gt; hardfault: HARD FAULT at 0x00000000 00&amp;gt; 00&amp;gt; &amp;lt;error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Apr 2020 13:34:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59917/52832-dfu-issue" /><item><title>RE: 52832 dfu issue</title><link>https://devzone.nordicsemi.com/thread/243917?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 13:34:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72cef858-9fc1-4cb0-bc14-98b619695e29</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming that it worked.&lt;/p&gt;
&lt;p&gt;[quote user="king001"][/quote]&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;Dfuxxx&amp;quot; state.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;What I want is that no matter when the dfu is canceled at any dfu time, the program should run to the app state, but now it is in&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does it stay in DFU mode even after you reset the device? That would indicate that the existing application was deleted as a part of the DFU process (eg in case the app image was too big for a dual banked update). There is the&amp;nbsp;&lt;span&gt;&lt;a title="Abort" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_dfu_transport.html?cp=7_1_3_5_2_0_11#lib_dfu_transport_op_abort"&gt;Abort&lt;/a&gt;&lt;/span&gt; command which should let you cancel DFU like you want, but I&amp;#39;m not sure if it&amp;#39;s used by the dfu library. You may have to issue the command in your app if not.&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 dfu issue</title><link>https://devzone.nordicsemi.com/thread/243835?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 09:08:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2780ef13-e84c-4f43-9104-0cf64ec0a952</guid><dc:creator>king001</dc:creator><description>&lt;p&gt;thx for Vidar Berg,you are a good guy.&lt;/p&gt;
&lt;p&gt;I have solve it. the reason is I have not call this function&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;err_code&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span&gt;ble_dfu_buttonless_async_svci_init&lt;/span&gt;&lt;span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;APP_ERROR_CHECK&lt;/span&gt;&lt;span&gt;(err_code);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;But I have new question.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;when i do step 5 ,during the time , I cancel the dfu, and then all the time&amp;nbsp;Always in &amp;quot;Dfuxxx&amp;quot; state.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;What I want is that no matter when the dfu is canceled at any dfu time, the program should run to the app state, but now it is in the dfu state, what can I do to do this？&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832 dfu issue</title><link>https://devzone.nordicsemi.com/thread/243813?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 07:54:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f57500a0-26af-4e76-8565-32b14e22fe93</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tested this with Android as well? I wonder if it could be related to the &amp;quot;advertising rename&amp;quot; feature used by iOS as was the case in this other thread from yesterday:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59881/advertising-rename-feature-not-working"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/59881/advertising-rename-feature-not-working&lt;/a&gt;. &amp;nbsp;Hardfault will be triggered if you attempt to use the rename feature without having set up to SVCI interface.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>