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

Unable to build light_switch example for SDK for Mesh using Segger Embedded Studio

Hi there

I was following all the steps on  Building the mesh stack and examples , Building with SEGGER Embedded Studio and nRF5 SDK for Mesh Segger Embedded Studio first time setup

But I am still unable to build an example project, I tried uninstalling and reinstalling again with no luck.

Regards 

Parents
  • Hello Arepa, 

    May I know which version of mesh SDK are you using now?

    I would assume you are using the nRF5 Mesh SDK v2.1.0.

    There are some tiny issues in the package, and we will update the SDK soon.

    Please check the following steps in the current stage:

    1. Copy the flash_placement.xml from "nrf5_SDK_for_Mesh_v2.1.0_src\CMake\SES" to your working project folder.

    E.g. Since you are working with light switch client, please copy the flash_placement.xml to the "nrf5_SDK_for_Mesh_v2.1.0_src\examples\light_switch\client"

    2. Please modify the project options, select the "Common" as target, check the "Linker" -> "Section Placement Macros" , and modify the RAM_PH_START to 0x20000000 instead of 0x200032c8.

    Like here:

    And you are able to compile and program the example to the device.

    Please also check the RTT log to see if there's any RAM start address suggestion, and follow the log to adjust the RAM_START address.

    Hope the upon information can do help Slight smile

Reply
  • Hello Arepa, 

    May I know which version of mesh SDK are you using now?

    I would assume you are using the nRF5 Mesh SDK v2.1.0.

    There are some tiny issues in the package, and we will update the SDK soon.

    Please check the following steps in the current stage:

    1. Copy the flash_placement.xml from "nrf5_SDK_for_Mesh_v2.1.0_src\CMake\SES" to your working project folder.

    E.g. Since you are working with light switch client, please copy the flash_placement.xml to the "nrf5_SDK_for_Mesh_v2.1.0_src\examples\light_switch\client"

    2. Please modify the project options, select the "Common" as target, check the "Linker" -> "Section Placement Macros" , and modify the RAM_PH_START to 0x20000000 instead of 0x200032c8.

    Like here:

    And you are able to compile and program the example to the device.

    Please also check the RTT log to see if there's any RAM start address suggestion, and follow the log to adjust the RAM_START address.

    Hope the upon information can do help Slight smile

Children
Related