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

Soft device enable causes a Hard Fault

Hello,

I am developing an application using

1. SEGGER Embedded Studio.

2. SDK 17.0.2.

3. Cortex-M nrf 52840.

Recently I changed the OS from FreeRTOS to embOS and now I have a Hard fault that is caused by :

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));

I understand that I have a problem enabling the softdevice, the Hard fault information is: 

00> [00:00:00.002] <unknown> HARD FAULT at 0xFF29FFFA
00> [00:00:00.002] <unknown> R0: 0x00000000 R1: 0x00000000 R2: 0x00000000 R3: 0x2001CFD0
00> [00:00:00.002] <unknown> R12: 0x2001DA7C LR: 0xFF29FFFA PSR: 0x6000000B
00> [00:00:00.002] <unknown> Cause: The processor has attempted to execute an undefined instruction.

Parents Reply Children
No Data
Related