<?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>Unable to merge bootloader softdevice and application.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58894/unable-to-merge-bootloader-softdevice-and-application</link><description>Hi, I&amp;#39;m unable to get a working example with the bootloader, softdevice and application. I&amp;#39;m following this: https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader I&amp;#39;m using nRF5 SDK v16.0 with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2020 09:51:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58894/unable-to-merge-bootloader-softdevice-and-application" /><item><title>RE: Unable to merge bootloader softdevice and application.</title><link>https://devzone.nordicsemi.com/thread/239672?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 09:51:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0c505a-f571-4c71-b21f-ccf01b2ece12</guid><dc:creator>mdwp</dc:creator><description>&lt;p&gt;The issue was inside the bootloader code.&lt;br /&gt;examples/dfu/open_bootloader/pca10056_usb_debug&lt;br /&gt;Probably because I changed the logging to UART instead of RTT.&lt;br /&gt;The NRF_LOG_FLUSH() in the nrf_bootloader_app_start did not return, so the application did not start and the bootloader got stuck.&lt;br /&gt;Commenting&amp;nbsp;out the NRF_LOG_FLUSH() fixed this, now everything works.&lt;br /&gt;&lt;br /&gt;Thanks for the help though!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to merge bootloader softdevice and application.</title><link>https://devzone.nordicsemi.com/thread/239201?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 17:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08fc547f-c4d0-4294-9464-8f1765f99982</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Have you tried to flash Softdevice + Bootloader and then do a DFU update the blinky firmware ? (1)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;It&amp;#39;s normal what you described when holding the bootloader button. The bootloader should enter DFU mode when requested (button is pressed)&lt;/p&gt;
&lt;p&gt;The case when the button is not pressed, you may want to step into the bootloader and debug. (Make sure you change the optimization level to 0).&lt;/p&gt;
&lt;p&gt;Please check if&amp;nbsp;dfu_enter_check() return false.&amp;nbsp;dfu_enter variable should equal false and&amp;nbsp;nrf_bootloader_app_start() should be called.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please double check that the softdevice is flashed, not just the MBR.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;One thing you can do is to compare the hex dump you have at (1) after you DFU update the blinky firmware (use nrfjprog --readcode or use nRF Connect app) and hex dump after you flash the merged hexes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>