Re: nrf52840 ble error #ble #nrf52840

Narendar Malepu

But i'm not using any threads in my application, did you mean ble created threads

On Wed, Mar 18, 2020 at 6:45 PM Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...> wrote:

Sorry, forgot to paste the link:




From: devel@... <devel@...> On Behalf Of Chettimada, Vinayak Kariappa via Lists.Zephyrproject.Org
Sent: 18 March 2020 14:04
To: Narendar Malepu <narendarm@...>
Cc: devel@...
Subject: Re: [Zephyr-devel] nrf52840 ble error #ble #nrf52840


Please identify and increase thread stack size based on your application code.  You can use the implementation in this PR to analyse stack usage.




From: Narendar Malepu <narendarm@...>
Sent: 18 March 2020 13:33
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>
Cc: devel@...
Subject: Re: [Zephyr-devel] nrf52840 ble error #ble #nrf52840


Hi Vinayak Kariappa,


Here is the result for above command



On Wed, Mar 18, 2020 at 12:57 PM Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...> wrote:

Please provide the details of:

# arm-none-eabi-addr2line -e <path to zephyr.elf file> 0x000390ee




From: devel@... <devel@...> On Behalf Of Narendar Malepu via Lists.Zephyrproject.Org
Sent: 17 March 2020 14:12
To: devel@...
Cc: devel@...
Subject: [Zephyr-devel] nrf52840 ble error #ble #nrf52840



Iam using nrf52840 development board, developing software using zephyr.
In software development iam using bluetooth as a peripheral and uart in interrupt mode(to get data from other module), when iam trying to run both interfaces the getting below errors and iam included watchdog timer so after sometime it is restarting.

[00:01:36.902,862] <inf> os: prio recv thread stack : unused 336 usage 112 / 448 (25 %)

[00:01:36.902,893] <err> os: ***** BUS FAULT *****

[00:01:36.902,893] <err> os:   Imprecise data bus error

[00:01:36.902,923] <err> os: r0/a1:  0x00000029  r1/a2:  0x00000004  r2/a3:  0x00000000

[00:01:36.902,923] <err> os: r3/a4:  0x20004a0c r12/ip:  0x00000000 r14/lr:  0x000388fb

[00:01:36.902,923] <err> os:  xpsr:  0x61000000

[00:01:36.902,923] <err> os: Faulting instruction address (r15/pc): 0x000390ee

[00:01:36.902,923] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0

[00:01:36.902,923] <err> os: Current thread: 0x20000eec (unknown)

[00:01:37.159,637] <err> os: Halting system

can someone help me with above problem.



Join to automatically receive all group messages.