Comments (3)
I've looked into softdevice faults and there doesn't seem to be a lot of information on the nordic docs regarding specific codes
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___n_r_f___f_a_u_l_t___i_d___r_a_n_g_e_s.html
Is there more information to be found in the softdevice SDK/header files?
The suggestions based on the fault ID sound reasonable, it would certainly increase the readability of the fault messages (and possibly stop people like me from creating issues that are their own errors 😐)
Printing a stack trace would be great, but wouldn't it be needed to get back to the user application stack and panicking there? Would that even be allowed when the softdevice already faulted?
from nrf-softdevice.
Is there more information to be found in the softdevice SDK/header files?
Not much, just this:
https://github.com/akiles/nrf-softdevice/blob/03c46e7b4260985033ae0e5323b532350bfa77b8/softdevice/s140/headers/nrf_sdm.h#L177-L182
https://github.com/akiles/nrf-softdevice/blob/03c46e7b4260985033ae0e5323b532350bfa77b8/softdevice/s140/headers/nrf_sdm.h#L270-L290
wouldn't it be needed to get back to the user application stack and panicking there? Would that even be allowed when the softdevice already faulted?
Yeah, that wouldn't be allowed. I was hoping to get probe-run to unwind through softdevice frames to get back to user code, but I'm not sure hos feasible that is.
from nrf-softdevice.
Done in 929ce94
from nrf-softdevice.
Related Issues (20)
- Security connection HOT 1
- Allow to open/close a BLE pairing&bonding window HOT 4
- Flash Capacity Definition Discrepancy for nRF52832 and nRF52833 Chips HOT 3
- Custom GATT service with u64 characteristic causes the application to stuck/crash in build-release mode HOT 6
- Bindgen dependency requirement?
- `InvalidState` after re-connecting HOT 8
- S340 SoftDevice support (for ANT) HOT 1
- nRF52805 example HOT 2
- Switch to nrfxlib HOT 1
- Help with compiling - missing crates HOT 10
- Error: The core is in locked up status as a result of an unrecoverable exception HOT 5
- Bonding examples not working. Device does not pair. HOT 1
- How to do fixed pin security?
- How to use channels with ble server & connection? HOT 3
- set_value & notify_value with i16 and other values? HOT 1
- Configure nrf UART with ble HOT 2
- Disable Softdevice for sleep HOT 2
- Examples for BBC micro:bit v2
- Writing 'notify_value' fast causes values to not send HOT 1
- What will happen if I use `gatt_client::read` and `gatt_client::run` simultaneously
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nrf-softdevice.