We have a custom board built around the nrf52840 chipset. We developed code against the dk kit of the same now we are trying to get this working on the custom board.
1) we call nrf_sdh_enable_request
2) it calls sd_softdevice_enable
3) it calls SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lf_cfg_t const * p_clock_lf_cfg, nrf_fault_handler_t fault_handler))
code then never returns. It doesn't show any errors, it doesn't enter the error handler.
Troubleshooting
- I have built, downloaded and then verified with no errors.
- Avoiding using the bluetooth stack appears to work fine - however the bt stack is required for it to do much.
- I have disabled the init of the softdevice and the code enters the handler and says that the softdevice is not enabled.
Environment
SDK is 15.0.0
SES is 4.12 Build 2018112601.37855
J-Link is DLL version V6.40, compiled Oct 26 2018 15:08:28
Host OS is Mint 18.3
I am not sure where to go to debug this.
Many thanks in advance
Paul