<?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>DFU Bootloader hangs on sd_softdevice_vector_table_base_set</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3780/dfu-bootloader-hangs-on-sd_softdevice_vector_table_base_set</link><description>I have implemented a boot loader for DFU based on the sdk v6.1 DFU project.
After a when an upgrade is triggered within the application soft reset by the application: 
 err_code = sd_power_gpregret_clr(0xff);
 APP_ERROR_CHECK(err_code);
 err_code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Sep 2014 10:58:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3780/dfu-bootloader-hangs-on-sd_softdevice_vector_table_base_set" /><item><title>RE: DFU Bootloader hangs on sd_softdevice_vector_table_base_set</title><link>https://devzone.nordicsemi.com/thread/13683?ContentTypeID=1</link><pubDate>Wed, 17 Sep 2014 10:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07b648e8-96b3-48a2-8e6a-49926f0ed474</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi TEJ, I just updated the answer, could you please also update (or delete) your comment ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader hangs on sd_softdevice_vector_table_base_set</title><link>https://devzone.nordicsemi.com/thread/13682?ContentTypeID=1</link><pubDate>Wed, 17 Sep 2014 10:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a617109-2e97-4641-9812-1603feeb7436</guid><dc:creator>TEJ</dc:creator><description>&lt;p&gt;I can confirm that removing the if(init_softdevice) solves the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader hangs on sd_softdevice_vector_table_base_set</title><link>https://devzone.nordicsemi.com/thread/13681?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2014 11:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:588f5746-0795-49c4-afd6-cfb591fdc5e8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;[EDITED]
Hi TEJ,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s our modification with the bootloader. Now the bootloader can be triggered directly from the
application. The softdevice will not be reinitialized when bootloader starts if it&amp;#39;s jumped from the application that&amp;#39;s why you got a hardfault because in your case you reset the chip and the softdevice is disabled.
So in order to start the bootloader from application NVIC_SystemReset() should not be called , instead please follow  &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00076.html#application_dfu_support_sec"&gt;this documentation&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>