<?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>[CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22383/closed-nrf52832-s132-4-0-2-application-can-not-start-normally-in-merged-hex-sd-app-bl</link><description>I am beginner of 52832. Current software is based S132 4.0.2 and SDK 13.0.0. Test platform is based on PCA10040.0 
 My problem is application can not start normally in merged hex. Merged hex means softdevice(S132 4.0.2 size:0x1F000), bootloader(start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Jun 2017 03:54:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22383/closed-nrf52832-s132-4-0-2-application-can-not-start-normally-in-merged-hex-sd-app-bl" /><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88018?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 03:54:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e5bbef7-0adf-4de4-8bff-e56e554f842b</guid><dc:creator>ffreturn</dc:creator><description>&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Problem relates to sd_mbr_command issue. It can not be called twice. Now I remove previous sd_mbr_command and application can start now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88012?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 14:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79856128-8a9e-4e94-80da-8659679e068e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Usually I see the issue with nrf_dfu_mbr_init_sd() when the softdevice is already initialized and then we call nrf_dfu_mbr_init_sd() again. Happened when you come to application and then switch to bootloader (buttonless DFU).
I strongly suggest to try to test with a minimal program as the application, just blink the LED.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88010?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 11:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf4801ae-189e-47a6-b8be-f0de4217b170</guid><dc:creator>ffreturn</dc:creator><description>&lt;p&gt;@Jørgen Kvalvaag you are correct. nrf_dfu_mbr_init_sd causes reset of bootloader. nrf_dfu_mbr_init_sd is defined in lib file nrf_dfu_mbr.c:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t nrf_dfu_mbr_init_sd(void)
{
    uint32_t ret_val;

    sd_mbr_command_t command =
    {
        .command = SD_MBR_COMMAND_INIT_SD
    };

    ret_val = sd_mbr_command(&amp;amp;command);

    return ret_val;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is there any problem with it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88017?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 08:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c57f6c1e-b657-4974-ae85-cab347c42732</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ffreturn:What do you mean by &amp;quot; blinky example with merged hex &amp;quot; ? Just use normal blinky example built for S132 . How did you make the merged hex ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88016?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 05:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bbd4973-e642-4837-94b9-bf8f37eee7b9</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;Your code reaches logging &amp;quot;Running nrf_bootloader_app_start with address: 0x1F000&amp;quot;, but you don&amp;#39;t reach &amp;quot;Disabling interrupts\r\n&amp;quot;, so something happened in nrf_dfu_mbr_init_sd().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88015?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 23:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c66acc2-96c0-4173-ba3b-efed31112b4e</guid><dc:creator>ffreturn</dc:creator><description>&lt;p&gt;@Hung Bui, How to find blinky example with merged hex that contains bootloader and application. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88014?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 23:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd6724f3-093c-4000-b313-0780efc2cf58</guid><dc:creator>ffreturn</dc:creator><description>&lt;p&gt;@Jørgen Kvalvaag I add more information in my question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88013?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 10:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaed8a16-9ab1-48e2-a996-0893708f3ecc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ffreturn: Please provide your bootloader setting .hex file.&lt;/p&gt;
&lt;p&gt;Also please try to test with very simple application, such as the blinky example . Just to check if the bootloader can branch to application properly. Then you can test with other example such as the ble_app_hrs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CLOSED][nrf52832][S132 4.0.2] application can not start normally in merged hex (SD+APP+BL)</title><link>https://devzone.nordicsemi.com/thread/88011?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 07:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28d23791-f118-445c-9b9f-e3bfb464f28a</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;I notice that your bootloader settings might not be correct. It should include both CRC and size of your app, looks like the CRC is missing? Did you create the bootloader-settings using the nrfutil tool?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>