This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Programmatically unwind callstack

Hello,

I've now been looking for a while but haven't yet found anything working to programmatically unwind the call stack when working with the nRF51 or nRF52. Basically what I want to do is to save a stacktrace in the app_error_fault or hard_fault handlers so that I can send this stacktrace back over BLE after my program rebooted. I've tried this (communities.mentor.com/.../16468) but it only returns the pointer to the current function, e.g. the HardFaultHandler.

Does anyone have this implemented yet?

Marius

Parents Reply Children
Related