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

Softdevice needed or not?

I am working with the SDK 13 ble_app_att_mtu_throughput example. With the SDK 12 example, it seems to require the SoftDevice to be loaded with the arm5_no_packs example. The same example in 13 requires the device to be completely erased - no SoftDevice loaded.

Am I mistranslating no_packs to mean the SoftDevice is loaded with the program in Keil 5?

My SDK 12 example works but the SDK 13 example doesn't work.

Does anyone have a hint on how to get the throughput example to work under SDK 13?

  • Hi,

    The "pack" in the context of "arm5_no_packs" refers to CMSIS Pack, which is no longer supported. See the blog post Deprecating support for CMSIS Pack in nRF5 SDK for more information about this.

    You can see if an example is meant to be used with the SoftDevice by looking at the folder the project is located in. If an example is meant to be used with the SoftDevice it will be located in a S132 / S140 folder. E.g.:

     examples\ble_peripheral\peripheralble_app_att_mtu_throughput\pca10040\ s132 \arm5_no_packs
    

    Examples that does not require the SoftDevice is located in a blank folder, e.g.

    examples\peripheral\spi\pca10040\blank\arm5_no_packs
    

    All the BLE examples located in the folders ble_central, ble_peripheral and ble_central_and_peripheral uses the SoftDevice.


    In SDK 13 the ble_app_att_mtu_throughput example requires SoftDevice S132 v4.0.2 if you are using the nRF52832. If you are using the nRF52840 you need to use the S140 v5.0.0-2.alpha SoftDevice.

    The SoftDevices are located in the folder SDK_folder\components\softdevice

  • Perfect, that cleared a lot of fog for me! The example now works!

Related