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: Select all
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)
as from code, 0x40106ce2 is IRAM section(>=0x40100000). Any idea what goes wrong here?