ESP8266 Developer Zone The Official ESP8266 Forum 2019-10-09T05:51:40+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=51544 2019-10-09T05:51:40+08:00 2019-10-09T05:51:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=51544&p=66454#p66454 <![CDATA[CRASHDUMP AND STACKDUMP]]> 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

Statistics: Posted by AgentSmithers — Wed Oct 09, 2019 5:51 am


]]>