<?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>nRF52840 Dongle: erase Provisioning Data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44727/nrf52840-dongle-erase-provisioning-data</link><description>Hello, 
 I have been trying to program my own Provisioner. While testing I accidentally had a nRF52840 Dongle plugged in with a client running on it. It automatically connected to the Provisionier. Sadly I haven&amp;#39;t implemented a disconnect function. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Oct 2020 19:59:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44727/nrf52840-dongle-erase-provisioning-data" /><item><title>RE: nRF52840 Dongle: erase Provisioning Data</title><link>https://devzone.nordicsemi.com/thread/276507?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 19:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e2bf91-30f0-4648-86d8-eb151ce458e7</guid><dc:creator>MichelD</dc:creator><description>&lt;p&gt;Yes, you put these two lines there, you compile and flash the dongle, run it. This way the dongle will keep resetting. Provisioning data should be now removed. I&amp;#39;m using a Switch Client model modified for the dongle and when the dongle resets the LED&amp;#39;s are flashing.&lt;/p&gt;
&lt;p&gt;After that,&amp;nbsp; you remove the two lines, compile and reflash the dongle and run it. You should now be able to see it on the nRF Mesh App ready to be provisioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle: erase Provisioning Data</title><link>https://devzone.nordicsemi.com/thread/276297?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 17:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeecfac3-d622-4feb-a3e3-a8ade57fd7f7</guid><dc:creator>Asimov</dc:creator><description>&lt;p&gt;Hi Michel&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am having the same issue you add only that lines of code in the main function of the Dongle Programm for the mesh BLE, and that&amp;#39;s it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle: erase Provisioning Data</title><link>https://devzone.nordicsemi.com/thread/273287?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 14:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:003b3454-dc4b-4588-9853-6d351e597d3e</guid><dc:creator>MichelD</dc:creator><description>&lt;p&gt;In the main function I add the 2 commented out lines , I recompile and I program the dongle. You will see the dongle keeping resetting.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then I recompile with the 2 line commented out, I reprogram the dongle and that&amp;rsquo;s it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;int main(void)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialize();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; start();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //mesh_stack_config_clear();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //node_reset();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (;;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void)sd_app_evt_wait();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle: erase Provisioning Data</title><link>https://devzone.nordicsemi.com/thread/238241?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 11:06:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac66c2d1-ebd7-4f5b-bea0-1648f5db2812</guid><dc:creator>Con</dc:creator><description>&lt;p&gt;Hey Hung, could you point to instructions to do it with your second option (flash page) please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle: erase Provisioning Data</title><link>https://devzone.nordicsemi.com/thread/175708?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 14:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:104ca883-ded7-4db1-ad20-49006cf77828</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Kilian,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF52840 dongle programming on nRFConnect relies on the DFU bootloader to do the programming. Unfortunately, there isn&amp;#39;t an option to do an erase all on the DFU bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The easiest way of solving this is to connect the dongle to a JLink programmer and erase it as you do with the nRF52840DK. This requires you to solder a header on P1 port to connect the programmer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another option if soldering is not an option is to use a big empty application image to cover the area that you want to erase. Basically you would need to generate the image with exact size of application area so that with all 0xFFFFFFFF so that when flashing it the DFU bootloader would erase the provisioning data sector (located one page under &lt;code&gt;FLASH_MANAGER_RECOVERY_PAGE&lt;/code&gt;&amp;nbsp;&lt;span style="font-family:monospace;"&gt;)&lt;/span&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>