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

SoftDevice s140 5 nRF52840 Preview DK Issues

Hello,

I am trying to migrate to the latest S140 SoftDevice, but the migration document leaves a lot to be desired and is missing information. I've had issues running standard applications with s140_nrf52840_5.0.0-3.alpha where it just hangs in middle of nowhere (classic incompatibility between application and softdevice).

I've updated the API from the zip fie and am unable to compile. For example, BLE_GAP_ADV_MAX_SIZE is not defined but is not mentioned anywhere in the document.

The document says "sd_ble_enable() should be used to find the APP_RAM_BASE for a particular configuration" but no information on how to do this.

Can Nordic provide an actual working release with this softdevice or information on how to migrate?

Parents
  • Strange. I just tested this. I just did this:

    The steps to compile the example:
    1. Download the SDK 13 from:
       www.nordicsemi.com/.../59012
    2. Extract the SDK to a location of your wish.
    3. Extract the content of this zip-file to the <sdk_location>.
    4. Extract the header files from the s140_nrf52840_5.0.0-3.alpha_API\include
       folder to <sdk_location>\components\softdevice\s140\headers folder.
    5. Navigate to: examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput\pca10056\s140
    6. Compile using your favorite compiler.
    

    And it compiled without any errors or problems. Which compiler are you using?

  • Hi Petter: Some more progress. I've been able to compile, link and debug and it stops in main. I am not sure what the difference was from before (maybe my overwriting the IAR project).

    However, the device hangs in the following call stack:

    nrf_delay_us

    rtc1_stop

    app_timer_init

    timer_init

    main

    Aside from this, the peripheral examples are broken because advertising changes (so ble_advertising.c has errors in definitions). Will this be fixed or do I need to manually make the changes?

Reply
  • Hi Petter: Some more progress. I've been able to compile, link and debug and it stops in main. I am not sure what the difference was from before (maybe my overwriting the IAR project).

    However, the device hangs in the following call stack:

    nrf_delay_us

    rtc1_stop

    app_timer_init

    timer_init

    main

    Aside from this, the peripheral examples are broken because advertising changes (so ble_advertising.c has errors in definitions). Will this be fixed or do I need to manually make the changes?

Children
No Data
Related