Closed goldenhenry closed 5 years ago
I have the same problem, any solution?
Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1)
Core 1 register dump:
PC : 0x40084b86 PS : 0x00060034 A0 : 0x80084d86 A1 : 0x3ffb1680
A2 : 0x3ffd207c A3 : 0x3ffd242c A4 : 0x00000020 A5 : 0x3ffd20ec
A6 : 0x00000001 A7 : 0x00000002 A8 : 0x3ffb63d0 A9 : 0x3ffb6388
A10 : 0x3ffc7388 A11 : 0x3ffd24a0 A12 : 0x3ffd23d0 A13 : 0x3ffd2470
A14 : 0x3ffd2421 A15 : 0x3ffd2471 SAR : 0x0000001f EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000
Backtrace: 0x40084b86:0x3ffb1680 0x40084d83:0x3ffb16a0 0x40084fe1:0x3ffb16c0 0x400f29ca:0x3ffb16e0 0x400fd623:0x3ffb1700 0x401024cf:0x3ffb1720 0x40102671:0x3ffb17a0 0x4010281f:0x3ffb1800 0x40102ca5:0x3ffb1980 0x40102eaa:0x3ffb19a0 0x40102ecf:0x3ffb19d0 0x401003e5:0x3ffb19f0 0x401005a4:0x3ffb1a10 0x40109555:0x3ffb1a30 0x40109b48:0x3ffb1a60 0x400f9a81:0x3ffb1a80 0x400f9ac1:0x3ffb1aa0 0x400d52a9:0x3ffb1ac0 0x400d4da5:0x3ffb1d30 0x400d4e65:0x3ffb1d60 0x400d47da:0x3ffb1d80 0x400d4839:0x3ffb1db0 0x400d48fb:0x3ffb1df0 0x400d252a:0x3ffb1e10 0x400d26f1:0x3ffb1ee0 0x400d2756:0x3ffb1f30 0x400d1e86:0x3ffb1f60 0x400d1ff3:0x3ffb1f90 0x400d77b1:0x3ffb1fb0 0x4008f429:0x3ffb1fd0
Core 0 register dump:
PC : 0x40163052 PS : 0x00060a34 A0 : 0x800dd011 A1 : 0x3ffbc2c0
A2 : 0x00000000 A3 : 0x00000001 A4 : 0x00000000 A5 : 0x00000001
A6 : 0x00060820 A7 : 0x00000000 A8 : 0x800decbe A9 : 0x3ffbc290
A10 : 0x00000000 A11 : 0x00000001 A12 : 0x8008f63c A13 : 0x3ffb77b0
A14 : 0x00000000 A15 : 0x3ffbbfc0 SAR : 0x00000000 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x40163052:0x3ffbc2c0 0x400dd00e:0x3ffbc2e0 0x40091301:0x3ffbc300 0x4008f429:0x3ffbc320
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:10208
load:0x40080400,len:6460
entry 0x400806a4
@CharlyEH do you have your code? I solved my problem by taking out analogread in the interrupt function.
@CharlyEH Problem solved by taking out timer interrupt function and call with
void IRAM_ATTR getpulse()
I had tried the code. It was working perfectly before I add the wifi coding. After I add the wifi coding I had error on my ESP32 and keep rebooting. The error messages:
I did research and someone mentioned that the analogread cannot put inside the interrupt function. I followed the idea and the esp32 running well again. However, it is not getting correct pulse rate now, the BPM is always more than 100 and even get to 200++. I am not good at coding. I hope I can get help. Pls kindly inform me if there is any insufficient information to be given.