You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a small python script that I'm trying to use to connect to my server. When I try to connect to nRF52840 with it, HardFault occurs in accept(...) function:
I have enabled additional logs inside the bluetooth stack and as you can see, at some point the pointer to user_data takes an invalid value.
Callstack which leads to HardFault:
Using a debugger I was able to get the full callstask which causes this error (inside bt_conn_send_cb(...) the functions you see in the screenshot above are called):
BIG SCREENSHOTS WITH CALLSTACK
The full log with the error and callstack in text form, can be found here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
Hey, everybody!
I have an nRF52840-DK debug board on which I am trying to run BSD Secure Sockets on up the IPSP.
I used the echo server (advanced) example as a basis.
My code on which the problem is stably reproduced is here.
Problem
I have written a small python script that I'm trying to use to connect to my server. When I try to connect to nRF52840 with it, HardFault occurs in

accept(...)
function:I have enabled additional logs inside the bluetooth stack and as you can see, at some point the pointer to
user_data
takes an invalid value.Callstack which leads to HardFault:

Using a debugger I was able to get the full callstask which causes this error (inside
bt_conn_send_cb(...)
the functions you see in the screenshot above are called):BIG SCREENSHOTS WITH CALLSTACK
The full log with the error and callstack in text form, can be found here.
How to reproduce?
Has anyone ever encountered anything like this?
Beta Was this translation helpful? Give feedback.
All reactions