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

SEGGER Embedded Studio can't find softdevice binary

When I try to build and run any example from the nRF5 SDK, it can compile successfully. But when loading to the eval kit, it can't find the 's140_nrf52840_5.0.0-2_alpha_softdevice.hex'.

Error reported: Additional Load File[0] "../../../../../../components/softdevice/s140/hex/s140_nrf52840_5.0.0-2_alpha_softdevice.hex does not exist."

I can't figure out how to modify the path to ensure it is actually looking in the correct directory.

Versions: SEGGER Embedded Studio 3.30, nRF5 SDK 14.2.0

Parents
  • Hi there~. I had the same problem so I asked this in the SEGGER forum.

    The answer to solve this problem is to add the $(ProjectDir) project directory macro.

    Change

    ../../../../../../components/softdevice/s132/hex/s132_nrf52_5.0.0_softdevice.hex

    to

    $(ProjectDir)/../../../../../../components/softdevice/s132/hex/s132_nrf52_5.0.0_softdevice.hex

    image description

    and it will work like a charm :D I tested this with the SDK 14's HRS example.

  • Hi, Bjørn Spockeli. Just in case, can you test this with a MacOS machine before fixing it?

    I had the same issue, too.

    So I tried that above solution with my Windows 10 computer and it works nicely.

    However, I'm out of town, and I tested that MACRO on a Windows 10 machine, only.

    I think there will be no problem with the MacOS computers, but can you spare few minutes for testing it?

    It is good to see this being fixed.

    -Best Regards, MANGO

Reply
  • Hi, Bjørn Spockeli. Just in case, can you test this with a MacOS machine before fixing it?

    I had the same issue, too.

    So I tried that above solution with my Windows 10 computer and it works nicely.

    However, I'm out of town, and I tested that MACRO on a Windows 10 machine, only.

    I think there will be no problem with the MacOS computers, but can you spare few minutes for testing it?

    It is good to see this being fixed.

    -Best Regards, MANGO

Children
No Data
Related