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

Softdevice error

Hi,

I have a problem with soft device. My code build well but when i try to compile it on nrf52840, i have below error:

Then i tried to go in boot loader:

Therefore, i added $(ProjectDir) before the pass for solving the problem:

but still when i compile the code i will face the same issue. 

Please help.

Thanks 

  • Have you stored the mesh sdk folder and sdk 15.2 next to each other? Then it should work fine.

    Follow these steps and it should build and download without problems:

    • Download nRF5 Mesh SDK 3.1 and nRF5 SDK 15.2
    • Create a folder MESH and a folder inside there (nrf5_sdk_for_mesh)
    • Place SDK 15.2 inside the MESH folder next to nrf5_sdk_for_mesh

    It should look like this:

    Best regards,

    Simon

  • Hi Simon, 

    Thank you for answering. Unfortunately it doesn't work.

    The problem is that before this issue, i had another error which did not allow me to build the code :

    But because i did not have any ses-startup-nr52840.s and ses-startup-nrf-common.s in the path, i replce other .s file from the path instead.

    Then after replcing, the code built well but it does not compile.

    I think this is the problem but help me me to solve it please.

  • I am not sure why this happens, but everything should work all fine if you haven't modified anything. Try downloading both SDK 15.2 and the mesh SDK 3.1 and redo it. Something that could also cause problems, is the process of unzipping, be sure to not choose "Extract to nRF5_SDK_15.2.0_9412B96"  when unzipping sdk 15.2. Then you will get two folders on top of each other and the files in sdk 15.2 won't be found.

    Best regards,

    Simon

Related