ESP8266 Developer Zone The Official ESP8266 Forum 2019-04-23T14:16:43+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=27269 2019-04-23T14:16:43+08:00 2019-04-23T14:16:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=27269&p=39862#p39862 <![CDATA[Re: SDK 3.0 ICACHE_RAM_ATTR crash system]]> https://www.espressif.com/sites/default ... nce_en.pdf

Statistics: Posted by Her Mary — Tue Apr 23, 2019 2:16 pm


]]>
2019-03-29T18:56:29+08:00 2019-03-29T18:56:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=27269&p=39066#p39066 <![CDATA[SDK 3.0 ICACHE_RAM_ATTR crash system]]> after upgrading to NONOS SDK 3.0.0, I found out, that functions, designated with ICACHE_RAM_ATTR, called inside timer callback always crash system.
Crash looks like:

Code:

Fatal exception 28(LoadProhibitedCause):
epc1=0x40106ce2, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000004, depc=0x00000000
˙
 ets Jan  8 2013,rst cause:2, boot mode:(1,7)


 ets Jan  8 2013,rst cause:4, boot mode:(1,7)

wdt reset

as from code, 0x40106ce2 is IRAM section(>=0x40100000). Any idea what goes wrong here?

Statistics: Posted by FrenkR — Fri Mar 29, 2019 6:56 pm


]]>