<?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 Loaded Application runs once then doesn&amp;#39;t run at the restart.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17202/dfu-bootloader-loaded-application-runs-once-then-doesn-t-run-at-the-restart</link><description>Hi everyone!
I flashed an application with the help of DFU bootloader. The application runs for the first time . The application contains a service that lets the application reset to the bootloader. Then the bootloader wouldn&amp;#39;t run the application after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Oct 2016 10:44:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17202/dfu-bootloader-loaded-application-runs-once-then-doesn-t-run-at-the-restart" /><item><title>RE: dfu bootloader Loaded Application runs once then doesn't run at the restart.</title><link>https://devzone.nordicsemi.com/thread/66087?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2016 10:44:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c78932e-27ab-456d-972b-14cc49b6d0da</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you intend to use your firmware in a product, then I strongly suggest that you migrate to a production-ready SoftDevice. SDK v11.0.0 uses the S132 v2.0.0 in its BLE examples and in the bootloader examples.&lt;/p&gt;
&lt;p&gt;However, could you check if 0x7F000 is set to 0x00000001 when the application starts up the first time after the DFU. If it is, then you&amp;#39;re probably erasing or writing  the bootloader settings page in your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader Loaded Application runs once then doesn't run at the restart.</title><link>https://devzone.nordicsemi.com/thread/66088?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 15:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7e14989-e924-4fa3-9523-78d197fe5211</guid><dc:creator>bitcoin89</dc:creator><description>&lt;p&gt;&lt;em&gt;Is the application compiled against the headers of the SoftDevice that is present on the nRF52?&lt;/em&gt; - Yes&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Also is there a reason for using the S132 v1.0.0-3.alpha and not a production ready SoftDevice?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;-I can update the softdevice. I dont know if it will resolve the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader Loaded Application runs once then doesn't run at the restart.</title><link>https://devzone.nordicsemi.com/thread/66089?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2016 10:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85471bd6-8d6d-4d6f-aa09-6ebae4882df5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If the update was succesful, then the bootloader settings at 0x0007F000 should be set to 0x00000001, indicating that the application is valid.  Is the application compiled against the headers of the SoftDevice that is present on the nRF52? Also is there a reason for using the S132 v1.0.0-3.alpha and not a production ready SoftDevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader Loaded Application runs once then doesn't run at the restart.</title><link>https://devzone.nordicsemi.com/thread/66086?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 16:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aafbf61e-a5a1-421e-8614-c48f4b7da2bd</guid><dc:creator>bitcoin89</dc:creator><description>&lt;p&gt;the problem seems to start when my application tries to call a function that calls sd_softdevice_enable()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader Loaded Application runs once then doesn't run at the restart.</title><link>https://devzone.nordicsemi.com/thread/66085?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 15:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5284eb-7d97-4f67-8a92-2f84793c8d3e</guid><dc:creator>bitcoin89</dc:creator><description>&lt;p&gt;SDK is 11.0.0 and
SoftDevice is  s132_nrf52_1.0.0-3.alpha_softdevice.hex .
The value at 0x7F000 is FFFFFFFF before and after doing dfu via ble.
bootloader is bootloader-nrf5283_xxaa_s132.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader Loaded Application runs once then doesn't run at the restart.</title><link>https://devzone.nordicsemi.com/thread/66084?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 12:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e391234-2d15-4f27-959d-5f874a3eda25</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which SDK and SoftDevice version are you using? Could you read the bootloader settings at 0x7F000 using nrfjprog after you performed the DFU, but before you power-cycle the device and post it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>