This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 Dongle: erase Provisioning Data

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't implemented a disconnect function. I am now stuck with a Dongle that I cannot connect to with another device. I tried reprogramming it multiple time, but it seems that the Provisioning Data is saved in a Part if the Flash that is separate of the program.
The same thing happened with my nRF52840 DK, but through the debugger I can do an "Erase All" which removes any of the Provisioning Data.

Is it possible to do a similar thing with the Dongle?

Cheers,

Kilian

Parents
  • 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.

     Then I recompile with the 2 line commented out, I reprogram the dongle and that’s it.

     

    int main(void)

    {

        initialize();

        start();

     

        //mesh_stack_config_clear();

        //node_reset();

     

        for (;;)

        {

            (void)sd_app_evt_wait();

        }

    }

Reply
  • 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.

     Then I recompile with the 2 line commented out, I reprogram the dongle and that’s it.

     

    int main(void)

    {

        initialize();

        start();

     

        //mesh_stack_config_clear();

        //node_reset();

     

        for (;;)

        {

            (void)sd_app_evt_wait();

        }

    }

Children
Related