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

SDK13 softdevice

Hi

I migrated from SDK11 to SDK12/13. In SDK11 I already had avaiable a softdevice to use for ble_app_uart peripheral. In the new SDK I have to build the softdevice but when trying to do that I get just a bunch of include errors. I get the same kind of errors as in a previous post: devzone.nordicsemi.com/.../

I can build the examples without issues but not the softdevice. The old 132 softdevice does not seem to work.

  • Hi,

    The SoftDevice is delivered as a precompiled binary, you don't need to build it.

    In the Keil project you have 2 target options. The first one(nrf52832_xxaa) is the application, which you can build and flash. The second one is flash_s132_nrf52_4.0.2_softdevice, which can be used to flash the softdevice hex using Keil. You should not try to "build" using this target configuration. It's only used to flash the SoftDevice. See this infocenter page. The SoftDevice should be located in the folder: SDK_folder\components\softdevice\s132\hex. If the softdevice .hex file have been deleted as a result of an attempted build, you can download a new softdevice S132 v.4.0.2 hex file here.

    If you already have flashed the SoftDevice, you use the first one nrf52832_xxaa to flash the application on top of the SoftDevice. You only need to flash the SoftDevice once. If you try to flash the SoftDevice again, you will get an Error: Flash Download failed - "Cortex-M4".

    You can also use nRFGO studio to flash the SoftDevice.

  • Indeed, I must have then accidentally tried to compile it before I went looking for it, because in the old SDK i never compiled it.

Related