Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

nRF5 SDK examples SES release build crash

I wanted to use SES (6.32b) to build an example app (nRF5_SDK_14.2.0_17b948a, ble_app_blinky) and run it on a Nordic dev board (nRF52840 Development Kit), but crashed.

When I use the example SES debug build, the app works fine. 

But when I use the release build, the app runs into error handler.

The SES config file I uses was : nRF5_SDK_14.2.0_17b948a/examples/ble_peripheral/ble_app_blinky/pca10040/s132/ses

The error was the sd_ble_gap_ppcp_set() returns NRF_ERROR_INVALID_PARAM.

I've tried another apps e.g ble_app_hids_mouse , but got the same error.

I did a further check for the issue, I found the issue might be related with the code optimization level, the SES debug build uses 'Level 0', if I set it to 'Level for size', the debug build will get the same error.
My questions are:
1. Have you seen the issue? it is weird that the example code + release build + dev board doesn't work. It seems likely that I did something wrong, but I checked and it seems all good in my side.
2. Is nRF5_SDK_14 a supported version of SES (6.32b)? Actually I did test nRF5_SDK_17, got the same error.
Thanks in advance.
Parents
  • Hello,

    Try to uninstall your current SES version, and test with using SES: SES 5.42a, which is the tested SES version in SDK17.1.0 (which is listed in the release notes found in SDK\documentation\release_notes.txt.

    In SDK 14.2.0, the tested version is SES 3.30

    I suspect that 5.42a will work on SDK14.2.0 as well, but there were some major changes in SES v6, which may be what you are seeing.

    Try to run the 5.42 version. If that doesn't work with SDK14.2.0, try 3.30. Let me know if neither of them works as expected.

    Best regards,

    Edvin

Reply
  • Hello,

    Try to uninstall your current SES version, and test with using SES: SES 5.42a, which is the tested SES version in SDK17.1.0 (which is listed in the release notes found in SDK\documentation\release_notes.txt.

    In SDK 14.2.0, the tested version is SES 3.30

    I suspect that 5.42a will work on SDK14.2.0 as well, but there were some major changes in SES v6, which may be what you are seeing.

    Try to run the 5.42 version. If that doesn't work with SDK14.2.0, try 3.30. Let me know if neither of them works as expected.

    Best regards,

    Edvin

Children
No Data
Related