I have flashed the light_ctrl hex file in nrf52840 dongle. Flashing Have been completed sueccessfully for provisioning in nrf mesh application its not showing in the network. to connect with light switch to create a mesh.
I have flashed the light_ctrl hex file in nrf52840 dongle. Flashing Have been completed sueccessfully for provisioning in nrf mesh application its not showing in the network. to connect with light switch to create a mesh.
Should i need to flash firmware before flashing the code
Hello,
cyriactoms said:Should i need to flash firmware before flashing the code
Not really sure what you mean by this.
I have flashed the light_ctrl hex file in nrf52840 dongle.
what .hex file did you use? One that you built yourself, or a precompiled one? If you built it yourself, what SDK version were you using? Was it built particularly for the nRF52840 dongle, or the nRF52840 DK? Is it possible upload the .hex file here?
Best regards,
Edvin
Hello,
i will explian how i am flashing the code
i will build the light fixture through the vscode nrf connection vs code extension pack.
by using nrf connect desktop i will add the hex file which is builded and flash it to the dongle after making the dongle to bootloader mode.
Is this the method correct or should i need to do anything more
That is correct. The issue is that the bootloader in the dongle doesn't erase the entire flash of the dongle. Only the part that is needed for the application. The network data for a mesh network is stored at the very top of the flash, so if it was previously used for something else, then there may be old data on the top of the dongle. And since the dongle doesn't have a debugger, there is no way to delete this data.
It is of course possible to delete it, but we don't have any tools to do it. I am sorry, but I was busy the last couple of days, having to do some other stuff, so I didn't get time to write an application. I will try to do it on Monday.
Sorry for the delay.
Best regards,
Edvin
ok thanks for the concern
Hello,
I found the one that I was thinking of. It is linked in my colleague, Jørgen's reply in this ticket:
RE: Do an erase all like segger for DK but for dongle on nRFConnect
Try this, and then re-program the application, and make sure you start with an empty network on your phone. Let me know if that doesn't work.
Best regards,
Edvin
Its working Thank You Edvin
Its working Thank You Edvin
Great to hear! Then that was the issue, that the area where the network data was stored was not empty. Perhaps it had some old network data, so it was just looking for that old network, not advertising as a new node.
Sorry for the delay. Let me know if you encounter any other issues.
Best regards,
Edvin