Git Product home page Git Product logo

Comments (3)

fnafnio avatar fnafnio commented on September 26, 2024

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.

Dirbaio avatar Dirbaio commented on September 26, 2024

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.

Dirbaio avatar Dirbaio commented on September 26, 2024

Done in 929ce94

from nrf-softdevice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.