When I call 'esp_sleep_start' I get the following crash:
Code: Select all
Guru Meditation Error: Core 0 panic'ed (LoadStorePIFAddrError). Exception was unhandled.
Core 0 register dump:
PC : 0x40097560 PS : 0x00060a33 A0 : 0x80088c1f A1 : 0x3ffbbe50
A2 : 0x3d8822e0 A3 : 0x00000000 A4 : 0x3f40a91d A5 : 0x3ff48080
A6 : 0x00000000 A7 : 0x3ff5d054 A8 : 0x80097558 A9 : 0x3ffbbdc0
A10 : 0x00000005 A11 : 0x00000005 A12 : 0x00000004 A13 : 0x00000000
A14 : 0x00000000 A15 : 0xfffffff7 SAR : 0x0000000c EXCCAUSE: 0x0000000f
EXCVADDR: 0x3ff5d054 LBEG : 0x40089b31 LEND : 0x40089b39 LCOUNT : 0x00000028
Backtrace: 0x4009755d:0x3ffbbe50 0x40088c1c:0x3ffbbe90 0x40088e59:0x3ffbbee0 0x400f5789:0x3ffbbf00 0x40135d03:0x3ffbbf40 0x401c1f41:0x3ffbbf60
Code: Select all
0x40097410: rtc_sleep_init + 0x18c
0x40088bb0: esp_sleep_start + 0x174
0x40088ded: esp_deep_sleep_start + 0x51
...
Code: Select all
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);