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
In the serial terminal after flasing its showing like this. Bluetooth initialized but mesh not getting initialised
First, can you please try to use the v2.6.0 version of NCS? I know it seems like it would make sense to use the cs-1 as it is newer, but this is an experimental build of the SDK, targeting some new chips. For the nRF52 and nRF53 series, please stick to the stable version, v2.6.0, or v2.6.1. If changing to this version alone doesn't work:
Can you please share some screenshots of how you built the application? Can you also please zip the application folder (including the build folder), and upload it here? You can drag and drop the zipped folder into the text window that you reply in.
Part of the challenge here is that the logs are capped, so we can't see whether it starts successfully or not. The fix for this is to reset the device, but this is not possible with the dongle without unplugging it, because the reset button on the dongle will put the device in DFU mode, so it will not start the application.
NB: I tested the unmodified light_ctrl sample built for the board nrf52840dongle_nrf52840 (both build\zephyr\zephyr.hex and build\zephyr\merged.hex) in NCS v2.6.1, and it worked as expected.
Best regards,
Edvin
I am attaching my code with build folder
https://drive.google.com/file/d/1i2O5pRRJbxJficguQxR2HObf3M2pzqfA/view?usp=drive_link
How did you flash your build\zephyr\zephyr.hex file? When I flashed it, it ran without any issues. I used the nRF Connect for Desktop -> Programmer app to program the .hex file. How did you do it?
Best regards,
Edvin
Yess i used the same for flashing it. Is it the problem with my dongle. But i am able to flash blinky example and all and its working fine. I am getting the error which i have shared in the screenshot
Yess i used the same for flashing it. Is it the problem with my dongle. But i am able to flash blinky example and all and its working fine. I am getting the error which i have shared in the screenshot
Can you please try to flash the attached .hex file:
And try to scan for it in the nRF Mesh app.
Do you see it? If not, can you try to scan using the nRF Connect for Desktop/iOS/Android? Do you see it there? (It should be using the advertising name "Mesh Light Fixture".
Best regards,
Edvin
After flashing the hex file you have provided. In the serial terminal i am getting it like in the screenshot i have provided earlier. Bluetooth is initialising but the mesh is not initialised. in nrf connect app it is able to connect with bluetooth but in nrf mesh app it is not showing for provision. Is it a problem regarding the dongle. i have got 3 dongles in three of them i am having the same problem.
Does it have any problem with the softdevices.
Hello,
Can you please try to reset the network in you nRF Mesh application?
It may differ in iOS and Android, but on iOS you'll find it under the Settings tab (in the nRF Mesh app) -> Reset Mesh Network (Forget Network).
Have you (or someone) used the dongles for a Mesh application before, and provisioned it into another Mesh network? It struck me that they may have old network data stored in the flash, which may not be overwritten by the DFU process in the nRF Connect for Desktop -> Programmer app. Unfortunately, there is no simple way of telling whether the flash has old network data present.
Let me know if resetting the Mesh network on the phone doesn't work, and I will see if I can find/write a small application that will delete the network data pages on the dongle.
Best regards,
Edvin
yess i have done reset mesh network several times but its getting the same.