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

nRF52840DK ble_ant_app_hrm example issues

Hello,

We are trying to run the ble_ant_app_hrm example on nRF52840DK using nRF5_SDK_16.0.0_98a08e2 SDK and ANT_s340_nrf52840_6.1.1 softdevices (both latest as of today).

So far unsuccessfully.

Copied the header files, flushed the softdevices hex (no errors).

nrfjprog -f nrf52 --eraseall

nrfjprog -f nrf52 --program ANT_s340_nrf52840_6.1.1.hex  --sectorerase

nrfjprog -f nrf52 --reset

1) Using Segger project (both debug and release builds)

Everything compiles fine, debugger starts, BLE HRM is discoverable, ANT+ HRM is not discoverable.

After ~10sec ant_evt_handler() is called -> ant_and_adv_start() - causes app_error_fault_handler (apparently NRF_FAULT_ID_SD_ASSERT)

2) Using GCC Makefile (Eclipse based IDE)

Compilation is fine using provided Makefile. Debugger starts with no issues (used J-Link).

First call to sd_softdevice_enable() during startup causes hard-fault @ 0xaca

Fairly sure those two issues are unrelated, but so far we failed to run this example - this being the only one involves both BLE and ANT.

Any ideas?

Thanks in advance!

Parents Reply Children
No Data
Related