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
  • Select Project in the Project Explorer, right-click it and select "Edit Options". In the options there should be a dropdown menu beside the search bar, set this to "Common".

    Now, select "Loader" under "Debug" and click the "Additional Load File[0]" field. Change this to to point to the components\softdevice\s140\hex folder and the s140_nrf52840_5.0.0-2.alpha_softdevice.hex file

    image description

  • So, acting on your experience, I restarted SES after any change to configuration. At some point I chose "Hex" instead of "Detect" for "Additional Load File Type[0]" Then I got "Invalid ASCII encoded byte line 1". And I tried "Build and Debug" instead of "Build and Run." I reverted the "Hex" change. At some point, it magically seemed to work, the hrs example downloaded and responded to the button. Something is not ready for prime time.

Reply
  • So, acting on your experience, I restarted SES after any change to configuration. At some point I chose "Hex" instead of "Detect" for "Additional Load File Type[0]" Then I got "Invalid ASCII encoded byte line 1". And I tried "Build and Debug" instead of "Build and Run." I reverted the "Hex" change. At some point, it magically seemed to work, the hrs example downloaded and responded to the button. Something is not ready for prime time.

Children
No Data
Related