<?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>Mesh Provisioning Data is lost after BLE DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81915/mesh-provisioning-data-is-lost-after-ble-dfu</link><description>After performing firmware update (of application) using nRF Connect app, device running Mesh becomes unprovisioned. 
 Mesh SDK is v5.0.0, nRF52 SDK 17.0.2. 
 Bootloader looks similar to \examples\dfu\secure_bootloader\pca10040_s132_ble. 
 Is provisioning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Nov 2021 15:28:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81915/mesh-provisioning-data-is-lost-after-ble-dfu" /><item><title>RE: Mesh Provisioning Data is lost after BLE DFU</title><link>https://devzone.nordicsemi.com/thread/340159?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 15:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f78d531f-1d35-4bc0-ba01-155628aeabbd</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
[quote user=""]Is provisioning data stored in Application Data region? How to&amp;nbsp;check its location?[/quote]
&lt;p&gt;Take a look at this response by &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34232/where-is-provisioner-information-stored-in-flash/131736#131736"&gt;Terje describing it&lt;/a&gt;. More &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fgroup__DEVICE__STATE__MANAGER.html"&gt;info on the DSM can be found here&lt;/a&gt;.&lt;/p&gt;
[quote user=""]There is also&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE 16384 defined in bootloader project, however I do not see where it is used.[/quote]
&lt;p&gt;I will have to get back to you on that.&lt;/p&gt;
[quote user=""]After performing firmware update (of application) using nRF Connect app, device running Mesh becomes unprovisioned.[/quote]
&lt;p&gt;For secure DFU bootloader I believe &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_bootloader_dfu_banks.html&amp;amp;anchor=lib_bootloader_dfu_appdata"&gt;this is the setting you are looking for. &lt;/a&gt;&lt;/p&gt;
[quote user=""]Is it possible to read out (dump) application data region to compare content before and after device update?[/quote]
&lt;p&gt;Yes, you can use nrfjprog for this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfjprog --readcode dump.hex&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>