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

Setup toolchain to build first example Mesh SDK

Hi all , I am beginning with MESH SDK on Window . I use NRF52832 board with Softdevice S132v3.0 on KeilC5 . I read instructed at infocenter.nordicsemi.com/index.jsp but I dont understand what to install ? Please guide me how to install the tools to build first example Mesh . Thank very much image description

Parents
  • Hi,

    To build the Mesh SDK example applications, a toolchain based on either CMake or SEGGER Embedded Studio is required. For quickly getting the example code up and running with full debug capability, it's easiest to use SEGGER Embedded Studio.

    Please see the SEGGER Embedded Studio website for download and installation instructions.

Reply
  • Hi,

    To build the Mesh SDK example applications, a toolchain based on either CMake or SEGGER Embedded Studio is required. For quickly getting the example code up and running with full debug capability, it's easiest to use SEGGER Embedded Studio.

    Please see the SEGGER Embedded Studio website for download and installation instructions.

Children
  • Thank for reply , for build and flash Mesh example to my board , I just install SEGGER Embedded Studio , right ? Do you have any guides related to set up project NRF on SEGGER Embedded Studio . Thank you very much .

  • Q: for build and flash Mesh example to my board , I just install SEGGER Embedded Studio , right ?

    A: That is correct. You should also install the nRF Command line tools. Download and install the 9.7.0 version from here.

    We provide several examples in the Mesh SDK you can take a look at. See this infocenter page for more details.

  • Hi Sigurd. After installing SES v3.28 and opening the light_control example from nrf5_SDK_for_Mesh, I can successfully compile and flash the example. However if I try to run the debugger, it jumps to address 0xfffffefe after a few "step over" presses and it gets stuck there forever. Is this because of my soft device? I can't find any blog posts about reflashing the soft device via SES. Thanks!!

  • Hi AndrewJ , I also install SES v3.28 but i dont know how to build the light_control example and config parameter for SES is correct . Can you show me steps for build the light_control example with SES . Thank

  • Hi Giang. All I did was download nrf5_SDK_for_Mesh_v0.9.2-Alpha, unpack it, and open examples/examples.emProject in SES. Rightclick light_control_client or light_control_server and press "set as active project" before compiling. That's as far as I can get. If I put breakpoints in any of the startup.s files, they have a "?" instead of a proper breakpoint. I think something is wrong with the Section Placement Segments, or somewhere where the start of Flash or SRAM is defined.