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

  • Hello Rick,

    I reported the same bug yesterday.  I tried your proposed solution and still have the same issue.

    I am using SES 3.4 (latest release) and tried it on multiple machines with fresh installations and always had the same problem.

    --------------------------------------------------

    C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.40/gcc/arm-none-eabi/bin/ld: region `UNPLACED_SECTIONS' overflowed by 110308 bytes

    --------------------------------------------------

    With following build message:

    build/serial_nrf52832_xxAA_s132_6.0.0_Debug/serial_nrf52832_xxAA_s132_6.0.0.elf section `.text.sd_app_evt_wait' will not fit in region `UNPLACED_SECTIONS'

  • Hello EddyB,

    Would you please press "Alt+F7", or click the "Build" on the toolbar, and then click "Rebuild serial_nrf52832_xxAA_s132_6.0.0" again? 
    And also, please make sure the "flash_placement.xml" is in the same folder with SES workspace.
    Hope this can do help Slight smile 

Reply Children
Related