<?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>What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60036/what-is-the-main-reason-that-the-mbr-0x7e-page-is-being-to-protected-mode-when-the-bootloader-starts</link><description>I have to write this page in case of the application firmware update, so I have to unprotect it in the bootloader (in the nrf_bootloader_app_start_final() function). won&amp;#39;t this be a problem? 
 regards, Attila 
 nRF52832, SDK 15.3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2020 16:05:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60036/what-is-the-main-reason-that-the-mbr-0x7e-page-is-being-to-protected-mode-when-the-bootloader-starts" /><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/250800?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 16:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd5428d6-6d90-46a8-b3c2-19d1c70a8285</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;NRF_DFU_IN_APP is not supposed to be used with the bootloader. You define this when you want to use the bootloader modules, foe example dfu_settings.c in your application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Doing background DFU requires you to have a deep understanding of how the bootloader and the DFU process works, before you start&amp;nbsp;integrate background DFU into your application. I would suggest to study the bootloader as much as possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We do have an example for doing background DFU, please have a look at this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/250393?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 09:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9344aaee-52f1-4912-852d-00c68314807a</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I had a little time to deal with this issue.&lt;/p&gt;
&lt;p&gt;Main experience is, that if I set NRF_DFU_IN_APP to 1, the ble-dfu-secure bootloader could not start, it stops at the beginning. There is no such problem with iot-secure bootloader.&lt;/p&gt;
&lt;p&gt;so while I need the possibility of the ble-dfu too, is there any other settings in the sdk_config.h, which I must to set for the good working?&lt;/p&gt;
&lt;p&gt;regards, Attila&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/245009?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 13:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97247308-7448-4990-9fc9-43538fe30637</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;There a similar case here that you may want to have a look:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52594/how-to-update-software-using-the-bootloader"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52594/how-to-update-software-using-the-bootloader&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/244991?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 12:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09863262-3cce-4969-b459-b0921d23694e</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;thank you for your quick answer!&lt;/p&gt;
&lt;p&gt;yes, my aim is to do the DFU form application, so I will check and try your suggestion.&lt;/p&gt;
&lt;p&gt;regards, Attila&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/244922?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:12:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:122fabf8-6a95-413d-8a16-c09b7d590e37</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please be aware that the&amp;nbsp;NRF_MBR_PARAMS_PAGE_ADDRESS (0x7E000) is not the MBR itself. It&amp;#39;s the page that stores the MBR settings (and bootloader_setting backup). It&amp;#39;s located on top of the bootloader.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My understanding is that you are doing DFU from application, and the bootloader only does the swapping part ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think you would need to write to the MBR_PARAMS_PAGE in that case. But you need to define&amp;nbsp;NRF_DFU_IN_APP in the bootloader.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/244853?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 06:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c12487df-7025-42fc-b48c-f039b611cef7</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you can see my problem here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59594/what-is-the-right-way-of-the-dfu"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/59594/what-is-the-right-way-of-the-dfu&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;OK, it&amp;#39;s solved, but I&amp;#39;m confused about MBR. As you can see in the topic, I modified the &amp;#39;MBR params page / BL settings backup&amp;#39; only, not the real MBR. My question refers to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the main reason that the MBR (0x7E) page is being to protected mode when the bootloader starts?</title><link>https://devzone.nordicsemi.com/thread/244747?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 13:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac47f83d-ff3a-47ad-b6ba-b9088b8643eb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Attila,&amp;nbsp;&lt;br /&gt;It&amp;#39;s part of the Secure Boot sequence. You can read about that here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_secure_boot.html?cp=7_1_3_5_0_8"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_secure_boot.html?cp=7_1_3_5_0_8&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It&amp;#39;s is to avoid malfunction/glitch or hacking&amp;nbsp;of the application can cause any damage to the MBR hence brick the device.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Could you give more information why you need to modify the MBR when doing DFU update ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>