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

Mesh does not work on nRF52840 Dongle

Hi there!

I have run light switch example for Mesh demo but no activity could be found via nRF Mesh app even my dongles have never been provsioned.The version of SDK and SDK for Mesh is 17.0.2 and V5.0.0 respectively,   PCA10056 is changed PCA10059 before building the solution. I have followed those posts in the community but still not able to make it works. Do I miss something? Any assistance/suggestion are welcome!!!

Cheers!

  • Hi Hung,

    May I know when do LED_1,LED_2 and LED_4 keep at ON  state after programming(using nRF connnect programmer) the dongle with light switch example?

    I got 2 dongles now, one of them works fine on both server and client (I can find it on nrf MESH app) but there is nothing on another dongle and LED 1,LED_2 and LED_4 are at ON state all the time.

    I have followed this post, devzone.nordicsemi.com/.../nrf52840-dongle-erase-provisioning-data, to erase those provision data by adding "mesh_stack_config_clear()" and  "node_reset()" to main function. The one which can be found on nrf MESH app before works fine again, its LEDs are flashing during reset process. Yet, another one shows nothing but LED_1,LED_2 and LED_4 keep at ON  state after the reset program is uploaded to the dongle.

    Both dongles work fine with BLE central and peripheral examples but only one of them works fine with Mesh example.

    I think the hardware of the "abnormal " one should be fine as it can have expected responses in BLE central and peripheral examples. All programs used above are the same among these 2 dongles. Therefore, could you give me some suggestions on the "abnormal" dongle in order to make it work on Mesh examples as well?

    cheers~

  • Hi Archie, 

    It's hard to tell what can be the issue here. You may want to start debugging by: 

    - Update simple application of blinking an LED, just to be sure the Bootloader can program the board properly. 

    - Update the Mesh application with added blinking LED in an infinite loop to be as the anchor point. First put the infinite loop of blinking at the beginning of main(). Then when you see the LED blink, you can move it down in the code, to the point you don't see the blinking any more. 

    I still suspect the previous flash data caused the flash library to confuse and crashed. 

    Again, the dongle is not made to be a development kit. It's made as the hardware back end for nRF Connect app. It would save you a lot of time if you can solder the header on P1 and can debug easily. 

Related