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

NRF52832 ble peripheral hardfault

Hello~

I am experiencing hardfault occasionally. (once a day ~ once in 3 days)

I am testing 14 boards to catch hardfault.

 

The following is my setup

- hardware : nrf52832-based customized board

- sdk version : 14.2

- softdevice version : S132 5.0.0

- firmware : ble peripheral (notification at regular interval)

 

Here is the 5 hardfault messages from each different board.

No.

PC

(hardfault address)

LR

PSR

Stack address

Cause

1

0x20003ACC

0x00013D6D

0x41000000

0x2000B9F8

The processor has attempted to access a coprocessor.

2

0x200039FE

0x00013D6D

0x21000000

0x2000B9F8

The processor has attempted to execute an undefined instruction.

3

0x200039FE

0x00013D6D

0x81000000

0x2000B9F8

The processor has attempted to execute an undefined instruction.

4

0x200039FE

0x00013D6D

0x21000000

0x2000B9F8

The processor has attempted to execute an undefined instruction.

5

0x200039FE

0x00013D6D

0x21000000

0x2000B9F8

The processor has attempted to execute an undefined instruction.

STACK$$Base 0x20009AB8, STACK$$Limit 0x2000BAB8

 

What I have found is

- PC is not code region but application data region.

- LR is code region within the softdevice. The address(0x00013D6D) always the same.

 

Could you guide me to analyze further? Also, I would like to know there is any known issue relating to softdevice.

Parents Reply Children
No Data
Related