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

nRF52840 for bluetooth mesh

I am using nRF52840 for bluetooth mesh technology for industrial light control.Can anyone help me for my project, how can it be done,I have the light switch demo file, but how to use it.

Parents Reply Children
  • Hi,

    What IDE or tool did you use for programming the boards?

    If you use Segger Embedded Studio then both application and SoftDevice is programmed onto the board, but with other IDEs or programmers you may have to program the SoftDevice separately. You find the SoftDevice as <nRF5 SDK for Mesh folder>/external/softdevice/s132_3.1.0/s132_nrf52_3.1.0_softdevice.hex.

    If the above does not solve the issue, can you do a debug session and see if the code ends up in an assert handler, and/or check the log output from the boards?

    Regards,
    Terje

  • Hi. I use Segger for the programming.  I managed to reproduce your situation. I accidentally hit the "Continue Executing"/Play/Green button while debugging and i got the 4 LEDS on. Correct procedure is :

    1. Build solution.

    2. Target the nRF you want to flash the firmware to.

    3. Debug.

    4. Stop debug by RED button not Green.

    Then the example runs perfectly. I know it's late and you probably have the solution by now, but just in case someone hits the same bump.

  • Hi. I use Segger for the programming.  I managed to reproduce your situation. I accidentally hit the "Continue Executing"/Play/Green button while debugging and i got the 4 LEDS on. Correct procedure is :

    1. Build solution.

    2. Target the nRF you want to flash the firmware to.

    3. Debug.

    4. Stop debug by RED button not Green.

    Then the example runs perfectly. I know it's late and you probably have the solution by now, but just in case someone hits the same bump.

  • Hi,

    Thank you for sharing, even if the thread has been idle for months!

    Regards,
    Terje

Related