<?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>Issue in Background DFU with RBP(Read Back Protection)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62807/issue-in-background-dfu-with-rbp-read-back-protection</link><description>We have problem in background DFU while updating Application with RBP, 
 Config: MCU : nRF52840 SDK : SDK16 Softdevice : s140_nrf52_7.0.1_softdevice (SDK16) 
 Case1:Programs all three files Softdevice, Bottloader merge and Application using nrf connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jun 2020 15:34:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62807/issue-in-background-dfu-with-rbp-read-back-protection" /><item><title>RE: Issue in Background DFU with RBP(Read Back Protection)</title><link>https://devzone.nordicsemi.com/thread/256526?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 15:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79564ba6-ddcf-4167-bb60-e50eed9c22aa</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sandip,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the information.&lt;/p&gt;
&lt;p&gt;The -rbp feature in nrfjprog should only enable APPROTECT feature in the chip. And this shouldn&amp;#39;t affect the internal activity on the chip in this case the background DFU and the bootloader activity. APPROTECT only disable the debug access port.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you try to test by instead of calling&amp;nbsp;nrfjprog.exe --family NRF52 --rbp ALL you simply do a write into address 0x10001208 (it&amp;#39;s the address of the APPROTECT register in UICR) to enable APPROTECT manualy, like this:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --memwr 0x10001208 --val 0x00&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After that the chip should locked the same as RBP. Please try to test DFU after that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t do background DFU but normal DFU would the RBP affect the process ?&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you describe the modification you made to the bootloader / application to do background DFU ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in Background DFU with RBP(Read Back Protection)</title><link>https://devzone.nordicsemi.com/thread/256441?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 12:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a88319-0794-496a-889b-c9fe12a235d6</guid><dc:creator>SciTER Development Team</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/62807/issue-in-background-dfu-with-rbp-read-back-protection/256228"]Could you give more information on the Read Back Protection mechanism you used ?[/quote]
&lt;p&gt;Ans: We use following command&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog.exe --recover -f NRF52
nrfjprog.exe --family NRF52 --chiperase --program nrf52832_SD.hex
nrfjprog.exe --family NRF52 --program nrf52832_BLDR.hex
nrfjprog.exe --family NRF52 --program nrf52832_APP.hex
nrfjprog.exe --family NRF52 --rbp ALL
nrfjprog.exe --reset&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/62807/issue-in-background-dfu-with-rbp-read-back-protection/256228"]We don&amp;#39;t really have a module called &amp;quot;RBP&amp;quot; on nRF52840.[/quote]
&lt;p&gt;Q. then what will happen if we use this command &amp;quot;nrfjprog.exe --family NRF52 --rbp ALL&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/62807/issue-in-background-dfu-with-rbp-read-back-protection/256228"]Could you clarify what you meant by &amp;quot;&lt;span&gt;nordic exe&amp;quot; ?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Ans: nordic exe means nrfjprog.exe&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Sandip Divani&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue in Background DFU with RBP(Read Back Protection)</title><link>https://devzone.nordicsemi.com/thread/256228?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 14:05:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5239daec-9b16-452f-a512-21796388d993</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sandip,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give more information on the Read Back Protection mechanism you used ? We don&amp;#39;t really have a module called &amp;quot;RBP&amp;quot; on nRF52840. Did you mean APPROTECT or ACL (Access Control List) ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you clarify what you meant by &amp;quot;&lt;span&gt;nordic exe&amp;quot; ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>