<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88489/effects-of-boot-loaders-on-applications</link><description>SDK: 15.3.0 SoftDevice: S132 Device: EYSHJNZWZ (nRF52832) 
 I am considering adding the following bootloader to my project. nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\pca10040_ble 
 When I added the bootloader, the application stopped working</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Tue, 14 Jun 2022 06:40:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88489/effects-of-boot-loaders-on-applications" /><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/372278?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 06:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e493e13e-5ae4-45e0-a287-513f73cf013f</guid><dc:creator>user4240</dc:creator><description>&lt;p&gt;It is because the bootloader is responsible for booting the application, and it will not do that if the user has requested it to enter DFU mode instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/372246?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 02:18:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d92af41-a4cb-454b-8753-8b292554b3c4</guid><dc:creator>user72172</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;When I added the bootloader, the application stopped working.
When only the application was written, it worked fine.
The cause was that &amp;quot;NRF_BL_DFU_ENTER_METHOD_BUTTON 1&amp;quot; was set.
This caused the event function set in &amp;quot;nrf_drv_gpiote_in_init&amp;quot; not to run.
Setting &amp;quot;NRF_BL_DFU_ENTER_METHOD_BUTTON 0&amp;quot; worked fine.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As mentioned above, the behavior is such that it is affecting the application.&lt;br /&gt;If they are independent of each other, why this behavior?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/371541?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 06:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dce7c55-1395-4fdd-ac47-f06ff079ab88</guid><dc:creator>user4240</dc:creator><description>&lt;p&gt;Could you maybe try to rephrase your questions now after you have understood the boot sequence? As mentioned in my initial reply, the bootloader and application are 2 separate programs which run independently of each other. This means that NRF_BL_DFU_ENTER_METHOD_BUTTON and other bootloader related settings do not directly affect the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/371532?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 04:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c0354a3-1a1c-4e86-92f1-8e1b1e7b3f12</guid><dc:creator>user72172</dc:creator><description>&lt;p&gt;I looked at &amp;quot;Secure boot and firmware updates&amp;quot;.&lt;br /&gt;I understood the boot loader boot sequence.&lt;/p&gt;
&lt;p&gt;However, my original question was not resolved.&lt;br /&gt;I don&amp;#39;t think the answers to my questions are listed there.&lt;br /&gt;Could you please tell me about (1) and (2)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/370589?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 07:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90e80d4a-656e-422e-a943-036cd08a77a7</guid><dc:creator>user4240</dc:creator><description>&lt;p&gt;Yes, both versions follow the same boot sequence.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/370550?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 00:20:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9766a304-a276-484c-ae08-378577bcc93c</guid><dc:creator>user72172</dc:creator><description>&lt;p&gt;Thanks for answering.&lt;/p&gt;
&lt;p&gt;I am using &amp;quot;nRF5 SDK v15.3.0&amp;quot;.&lt;br /&gt;The &amp;quot;Secure boot and firmware updates&amp;quot; you mentioned does not appear to be included in &amp;quot;nRF5 SDK v15.3.0&amp;quot;.&lt;br /&gt;Is it correct to assume that the same is true for &amp;quot;nRF5 SDK v15.3.0&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of Boot Loaders on Applications</title><link>https://test-devzone.nordicsemi.com/thread/370412?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 11:09:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb65c7b-ddc3-4986-853d-a44fe118615b</guid><dc:creator>user4240</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I thought the boot loader and application were independent of each other.[/quote]
&lt;p&gt;You are correct in that they will run as independent programs, but the bootloader is responsible for booting the application on startup, and that will not happen if the bootloader is asked to enter DFU mode instead. You can read more about the boot sequence in the &amp;quot;&lt;span&gt;&lt;a title="Secure boot and firmware updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_secure_boot.html?cp=8_1_3_5_0_8"&gt;Secure boot and firmware updates&lt;/a&gt;&amp;quot; section&lt;/span&gt; of the bootloader documentation. &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>