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

The API of sd_ble_cfg_set() Never return ,jump to Hardfault . Pls Help me ,Ths

The  API of  sd_ble_cfg_set()  Never  return ,jump to Hardfault .    Pls  Help  me ,Thanks.

ret_code_t nrf_sdh_ble_default_cfg_set(uint8_t conn_cfg_tag, uint32_t * p_ram_start)

{

......

ret_code = sd_ble_cfg_set(BLE_CONN_CFG_GAP, &ble_cfg, *p_ram_start);(Never return ,Jump to HardFault)

......

}

Log  as below:

<error> hardfault: HARD FAULT at 0x0002B698
<error> hardfault: R0: 0x00000020 R1: 0x20009A28 R2: 0x200057B8 R3: 0x07000001
<error> hardfault: R12: 0x00000003 LR: 0x0002B671 PSR: 0x21000000

Related