CRASHDUMP AND STACKDUMP

AgentSmithers
Posts: 195
Joined: Sat Apr 01, 2017 1:21 am
Contact:

CRASHDUMP AND STACKDUMP

Postby AgentSmithers » Wed Oct 09, 2019 5:51 am

https://github.com/SuperHouse/esp-open- ... rash-Dumps
So I am doing a lot of reading and research on this and came across this example when trying to research an answer for an exception I am getting in my project.
Do any of you know if I write something like this

uint_32 SP = 0;
#define ReadStackAddress() { asm volatile( "mov.n SP, A1); }

can call ReadStackAddress() that I could possibly do some logic to walk this stack to determine the full stack trace for NONOS SDK?

Before I go down this road I wanted to see if anyone knows this is possible without RTOS?

Here is a pretty solid example of code that touches on the stacktrace: https://gitlab.fai.utb.cz/jurenat/Espru ... d4c9da81c0
https://backend.cesanta.com/blog/esp8266-gdb.shtml

Who is online

Users browsing this forum: No registered users and 266 guests