<?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>Access DFU settings page</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41570/access-dfu-settings-page</link><description>Hi, 
 I&amp;#39;m currently working on a project including the buttonless DFU. 
 I would like to read the bootloader settings page from the application, especially the app version field. I know that these settings are stored at address 0x0007 F000 and I can of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Mar 2019 07:53:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41570/access-dfu-settings-page" /><item><title>RE: Access DFU settings page</title><link>https://devzone.nordicsemi.com/thread/176335?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 07:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d2007d4-4703-492e-8438-69e1c4e5ddb0</guid><dc:creator>William E.</dc:creator><description>&lt;p&gt;If anyone is interested,&lt;/p&gt;
&lt;p&gt;I just went with providing the&amp;nbsp;DFU settings page address from the linker script and then I read it manually in my application. I added an assert in the bootloader linker script that asserts that the bootloader settings page is&amp;nbsp;&lt;span&gt;0x0007 F000 along with a message prompting to update the corresponding address in the linker script of the application if changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Perhaps not the most ambitious or&amp;nbsp;most proper&amp;nbsp;way, but it works.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access DFU settings page</title><link>https://devzone.nordicsemi.com/thread/161839?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 11:13:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb2bdc2a-8205-4c2d-9a72-fa6b2063537f</guid><dc:creator>mrono</dc:creator><description>&lt;p&gt;There is code in nrf_dfu_settings that suggests Nordic had&amp;nbsp;planned&amp;nbsp;a proper (or at least standard) way for the application to read the settings (NRF_DFU_SETTINGS_IN_APP), but it seems that it is not fully implemented.&lt;/p&gt;
&lt;p&gt;Also when generating a bootloader settings page for flashing the bootloader you specify a version for the settings page, but that info doesn&amp;#39;t seem to be used by the code actually reading the settings.&lt;/p&gt;
&lt;p&gt;I ended up assuming the structure is fixed. And if it ever does&amp;nbsp; change I&amp;#39;ll just force an application update along with the new bootloader.&lt;/p&gt;
&lt;p&gt;So if anyone from Nordic is listening, a proper way would be appreciated...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access DFU settings page</title><link>https://devzone.nordicsemi.com/thread/161835?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 10:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0669f007-5d43-47d7-9680-009fc52088f2</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;I would recommend you to put a clean copy of the SDK under source control. Especially for this case, since you need to share some files between application and bootloader. In most cases, copying modules directly into your project is enough, but I&amp;#39;d say that for this particular case you need to share the same modified files in both projects.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access DFU settings page</title><link>https://devzone.nordicsemi.com/thread/161833?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 09:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec9f4af1-4110-4bf1-9b99-e767c8e5e3be</guid><dc:creator>William E.</dc:creator><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
&lt;p&gt;thank you for the suggestion, It seems like the most &amp;quot;proper&amp;quot; way to do it as far as I can tell. However, I prefer not to modify the SDK as I don&amp;#39;t have it under source control, I could perhaps put the relevant files under source control.&lt;/p&gt;
&lt;p&gt;Would be great if there is some other &amp;quot;proper&amp;quot; way of doing it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access DFU settings page</title><link>https://devzone.nordicsemi.com/thread/161693?ContentTypeID=1</link><pubDate>Thu, 13 Dec 2018 13:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d479cd07-17c4-4392-b4bf-033d177da8b7</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;I had exactly this requirement for my application as well. What I ended up doing is creating SVCI async functions that the application can call on the bootloader. It works very well and it&amp;#39;s maintainable. But it is a rather complex implementation that requires you to modify some SDK files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>