<?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>Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30028/application-does-not-start-after-dfu-update</link><description>Hi,
I&amp;#39;ve combined the secure serial and ble bootloader and using it for my custom board. I tried flashing my application hex over serial using nrfutil. I get a device programmed 100% message but my application is not starting. Is there a issue with my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Feb 2018 10:03:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30028/application-does-not-start-after-dfu-update" /><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/121370?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 10:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8418d3cc-07b3-4509-9ef5-b98e74b07205</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Great! Thanks for sharing the solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/121369?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 09:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc26d34-3047-42c2-bb05-f9da0ab4fe31</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I realized that the issue was with the clock configuration itself.&amp;nbsp; Clock configuration from the the nrf drivers also needs to be changed to RC source. My application and bootloader are working fine now. Thanks for all the support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/121349?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 08:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b5ea24-3f17-44f1-93af-1474882c32a0</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sourabh123"&gt;Sourabh&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Hung is out traveling. Have you made any progress the last week?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/120652?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 06:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d06e6b08-8b19-4a29-a0bb-a7ce502ac573</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I tried toggling a GPIO pin and observing it on the CRO. The code seems to be stuck in the clock init because the &lt;a class="el" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/group__nrf__drv__clock.html#gaa9387d5ea7f15b7370a24f0f0ca32135"&gt;nrf_drv_clock_lfclk_is_running&lt;/a&gt; always returns false.&lt;/p&gt;
&lt;p&gt;So are there any other steps/workarounds to ensure that the the RC clock starts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/120040?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 06:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:402cbea7-b693-43d3-9421-2adba33b0a8c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t think there is extra step needed if you want to use the RC LF clock. Please try to add some code to toggle an LED and find where the code stopped. Or you can use the debug version of the bootloader and then enable logging.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/120037?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 05:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f39eeca-de05-4529-92e4-900c32177bee</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;I have changed the clock configurations to :&lt;/p&gt;
&lt;p&gt;&lt;img class="align-right" style="float:right;" alt="Clock Configuration" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/clk_5F00_config.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Still facing the same issue..&lt;/p&gt;
&lt;p&gt;I also saw this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29916/problem-with-bootloader-sdk-14-2-and-rc-lfclk"&gt;thread&lt;/a&gt;, Should I&amp;nbsp; make any changes to clock init code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119740?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 12:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e09e697-e5b8-4ab1-810f-90e33ed14943</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please try to debug using LED toggle or UART/RTT to see where it stuck inside the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please test with unmodified BLE or UART bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Note that if you don&amp;#39;t have 32kHz crystal on the custom board, you need to configure the bootloader/application firmware to use RC LFCLK instead.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119727?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 11:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc2abb3-bd63-49df-939e-0d264d1ddfe0</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;I also observe that after flashing the bootloader, if I cycle the power, bootloader does not start. It only starts after i connect it with the debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119688?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 09:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a93b9598-092e-44b0-903b-3ea4ad5753ce</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;Hi, I tested the same bootloader with blinky example on the nrf52 DK it is working as expected. I also tested the bootloader with a simple application as suggested with just led display on my custom board. I face the same issue, Application does not start automatically, I need to connect my debbuger for it to start. Should I change the boot0 pin configuration after update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119670?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 07:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfb58ebc-374b-4d2c-b838-020440d62620</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please try to test DFU with very simple application, such as blinking LED. This is to make sure if DFU works fine or not. Then you should find a way to debug your application without using the debugger, for example toggle LED and print on UART. I suspect something wrong with the fact that the bootloader may use some peripherals and if in the application those peripheral are not initialized properly it will cause issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119659?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 03:52:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5654ef8c-9f2e-44c7-aa3b-b43ba2395513</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;I observe that the bootloader works only when I&amp;#39;ve connected my board to the debugger, after the dfu update the application does not start, but when I go to nrf go studio and connect and disconnect my device the application starts!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119556?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 14:27:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ffbb48-a661-4e7c-92df-6b3fe1ba3d95</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;So actually the application started? You need to debug the application and see where it crashes. Debug it as normal, just start debugging and then let the bootloader running you should get to application&amp;#39;s main after the bootloader starts and switch to application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119321?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 11:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b2e47e6-9c31-4f0f-beeb-ddbc2d21ef60</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;I generate a dfu package using the nrfutil, I observe that the application starts but stops after few seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119320?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 14:24:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e498a226-ac73-4a92-bfea-70bc4992f64c</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;Have you loaded the bootloader settings page generated for that specific application?&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate something somethnig my_settings.hex&lt;/p&gt;
&lt;p&gt;and then you flash that hex file before doing the application update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119319?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 13:40:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a932732b-5892-402c-b47e-c445fd5ef0f6</guid><dc:creator>Sourabh</dc:creator><description>&lt;p&gt;I’m not updating the softdevice. I just update my application.
Initially I flash s132 v5.0.0 then flash my bootloader. I then try to load my application using serial DFU. I get programmed 100% but application does not start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application does not start after DFU update</title><link>https://devzone.nordicsemi.com/thread/119318?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 13:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24990f37-8e7a-4e1a-88fd-c6d5e64fc96a</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;There is a known issue with sdk 14.0.0 where performing DFU which contains a softdevice of different size than the old one will not work. Is this the case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>