<?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>nRF52 DFU reading current firmware version(buttonless)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63077/nrf52-dfu-reading-current-firmware-version-buttonless</link><description>Dear Nordic Team, 
 I am working on a product which implements OTA DFU(buttonless DFU inside). So far everything works fine and the updates are working. 
 The question is more for internal convenience: Is there a way to see the current Application firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Jul 2020 17:21:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63077/nrf52-dfu-reading-current-firmware-version-buttonless" /><item><title>RE: nRF52 DFU reading current firmware version(buttonless)</title><link>https://devzone.nordicsemi.com/thread/258184?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 17:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b772fe1d-69f0-4ee8-93eb-856913d98f89</guid><dc:creator>Stefan Tsenev</dc:creator><description>&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DFU reading current firmware version(buttonless)</title><link>https://devzone.nordicsemi.com/thread/257466?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 21:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d04ed09-8961-4f77-a525-7dbc3cc1dcc3</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="90593" url="~/f/nordic-q-a/63077/nrf52-dfu-reading-current-firmware-version-buttonless/257333"]&lt;p&gt;What is the address in the NVM where the bootloader stores the application version and what is the initial value?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Stored in the&amp;nbsp;&lt;span&gt;bootloader settings page. See memory layout &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/lib_bootloader.html?cp=7_1_3_5_0_7#lib_bootloader_memory"&gt;here&lt;/a&gt;. You set the value when you &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_settings_generate_display.html"&gt;generate the bootloader settings page&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think you can read the&amp;nbsp;app version from the app itself like this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;     nrf_dfu_settings_t my_dfu_settings;
     memcpy(&amp;amp;my_dfu_settings, (uint32_t *)BOOTLOADER_SETTINGS_ADDRESS, sizeof(nrf_dfu_settings_t)); 

     uint32_t my_app_version = my_dfu_settings.app_version;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DFU reading current firmware version(buttonless)</title><link>https://devzone.nordicsemi.com/thread/257333?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 10:45:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89702207-34b9-426d-b1d5-7d0c107a9d0e</guid><dc:creator>Stefan Tsenev</dc:creator><description>&lt;p&gt;Apologies, It seems that the question is a little bit irrelevant - obviously it is more convenient to maintain and show the app version from within the app itself.&lt;/p&gt;
&lt;p&gt;Just for the matter of understanding and reserving this for future use, I would like to modify the question to:&lt;/p&gt;
&lt;p&gt;What is the address in the NVM where the bootloader stores the application version and what is the initial value?&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>