SDK 3.0 ICACHE_RAM_ATTR crash system

FrenkR
Posts: 42
Joined: Thu Dec 04, 2014 9:25 am

SDK 3.0 ICACHE_RAM_ATTR crash system

Postby FrenkR » Fri Mar 29, 2019 6:56 pm

Hello,
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)

wdt reset

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

Her Mary
Posts: 384
Joined: Mon Oct 27, 2014 11:09 am

Re: SDK 3.0 ICACHE_RAM_ATTR crash system

Postby Her Mary » Tue Apr 23, 2019 2:16 pm

Could the Chapter 2 of the doc help? https://www.espressif.com/sites/default ... nce_en.pdf

Who is online

Users browsing this forum: No registered users and 5 guests