gatt_client error

preetam
Posts: 49
Joined: Thu Jan 26, 2017 2:31 pm
Location: Germany

gatt_client error

Postby preetam » Fri Mar 10, 2017 9:26 am

Hi,

I am trying to run the example from https://github.com/espressif/esp-idf/tr ... att_client
well it was running good till yesterday.

But today i am getting Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled.

Code: Select all

Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
Register dump:
PC      : 0x400014fd  PS      : 0x00060a30  A0      : 0x800da868  A1      : 0x3ffd1b30
A2      : 0x00000000  A3      : 0xfffffffc  A4      : 0x000000ff  A5      : 0x0000ff00
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x00000000  A9      : 0x3ffd1ae0
A10     : 0x00000000  A11     : 0x3f4024ba  A12     : 0x3ffd1d74  A13     : 0x3ffcbdb0
A14     : 0x00000000  A15     : 0x00000001  SAR     : 0x00000004  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff

Backtrace: 0x400014fd:0x3ffd1b30 0x400da868:0x3ffd1b40 0x400d62d4:0x3ffd1e50 0x40081718:0x3ffd1e80 0x400de337:0x3ffd1ed0 0x400e0ea8:0x3ffd1f00 0x400df5c3:0x3ffd1f20

Entering gdb stub now.
$T0b#e6
and on gdb i don't get any response and it says timed out.

Code: Select all

Reading symbols from ./build/gatt_client_demo.elf...done.
Remote debugging using COM9
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Bogus trace status reply from target: timeout
Has anybody faced this and is there any resolution for this.

I am using spark fun esp32 thing.

Thank you,
Paul

preetam
Posts: 49
Joined: Thu Jan 26, 2017 2:31 pm
Location: Germany

Re: gatt_client error

Postby preetam » Fri Mar 10, 2017 12:51 pm

I was getting the above error has device name of length 0 was found in the vicinity.I managed to get rid of that error. But now a different error has come up, when the client tries to open the connection with gatt server after a successful match of the gatt server device name. I get a stack overflow in the idle task

below is the log

Code: Select all

ASSERT_PARAM(8192 0), in rwble.c at line 351***ERROR*** A stack overflow in task IDLE has been detected.
abort() was called at PC 0x40085988
Guru Meditation Error: Core  0 panic'ed (abort)

Backtrace: 0x401196fe:0x3ffc0980 0x40083954:0x3ffc09a0 0x4008309e:0x3ffc09c0 0x40084f73:0x3ffc09e0 0x40085004:0x3ffc0a00 0x40118bfc:0x3ffc0a40 0x40118c77:0x3ffc0a70 0x4012bbac:0x3ffc0a90 0x40017920:0x3ffc0ab0 0x40019128:0x3ffc0ad0 0x4001928d:0x3ffc0b00 0x400188f8:0x3ffc0b30 0x40055fcd:0x3ffc0b70 0x4012af51:0x3ffc0b90 0x40055120:0x3ffc0bb0 0x40082ca6:0x3ffc0bd0 0x40081491:0x3ffc0c00

Entering gdb stub now.
$T1f#eb
again with regards to gdb i am still getting timeout

Code: Select all

Reading symbols from ./build/gatt_client_demo.elf...done.
Remote debugging using COM9
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Bogus trace status reply from target: timeout
Can someone able to give me heads up on this issue.

Thank you
Paul

preetam
Posts: 49
Joined: Thu Jan 26, 2017 2:31 pm
Location: Germany

Re: gatt_client error

Postby preetam » Fri Mar 10, 2017 1:31 pm

added 100 ms delay after stopping the ble scan.
Able to move forward.

can someone provide a link to doc or pdf related to the flow of events w.r.t gatt_server <--> gatt_client.

Thank you
Paul

Who is online

Users browsing this forum: Bing [Bot], MicroController and 66 guests