Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot loop, Guru Meditation Error #1

Open
BengtStavdal opened this issue Aug 21, 2021 · 2 comments
Open

Boot loop, Guru Meditation Error #1

BengtStavdal opened this issue Aug 21, 2021 · 2 comments

Comments

@BengtStavdal
Copy link

The firmware compiles without issues. But immidiately after the upload I get an error with a boot loop:

[21:38:20]ets Jul 29 2019 12:21:46
[21:38:20]
[21:38:20]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[21:38:20]configsip: 0, SPIWP:0xee
[21:38:20]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[21:38:20]mode:DIO, clock div:2
[21:38:20]load:0x3fff0018,len:4
[21:38:20]load:0x3fff001c,len:1044
[21:38:20]load:0x40078000,len:8896
[21:38:20]load:0x40080400,len:5828
[21:38:20]entry 0x400806ac
[21:38:21][I][logger:170]: Log initialized
[21:38:21][W][app:022]: Component already registered! (0x3ffb8d1c)
[21:38:21]Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
[21:38:21]Core 1 register dump:
[21:38:21]PC      : 0x400dc4fa  PS      : 0x00060530  A0      : 0x800dcf41  A1      : 0x3ffb1d80  
[21:38:21]A2      : 0x00000000  A3      : 0x3ffb1e34  A4      : 0x3ffb1df4  A5      : 0x3ffc6a64  
[21:38:21]A6      : 0x3ffb89d0  A7      : 0x0000000a  A8      : 0x00000000  A9      : 0x3ffb1d60  
[21:38:21]A10     : 0x3ffb1d8c  A11     : 0x00000002  A12     : 0x3ffb8f34  A13     : 0x3ffb8f34  
[21:38:21]A14     : 0x3ffb8e08  A15     : 0x3ffb8f44  SAR     : 0x00000008  EXCCAUSE: 0x0000001c  
[21:38:21]EXCVADDR: 0x00000030  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000  
[21:38:21]
[21:38:21]ELF file SHA256: 0000000000000000
[21:38:21]
[21:38:21]Backtrace: 0x400dc4fa:0x3ffb1d80 0x400dcf3e:0x3ffb1dc0 0x400e1fa6:0x3ffb1fb0 0x40089c82:0x3ffb1fd0
[21:38:21]
[21:38:21]Rebooting...

I have tried the firmware and the example .yaml on two separate, different brand esp32 boards with same results.

I wonder if you could help me to get this working?

@tahvane1
Copy link
Owner

tahvane1 commented Aug 22, 2021

Hi,
I'm not most experienced with these boards but with the little experience I have core panic usually means some kind of hardware misconfiguration (or failure).

However I see warning that
[21:38:21][W][app:022]: Component already registered! (0x3ffb8d1c)
Do you have App registration multiple times in your config?

Otherwise it is not easy to help without access to board and config...

You could also try to remove all sensors from config file and see if it is then booting...

Br,
Erkka

@BengtStavdal
Copy link
Author

I wondered that warning myself. Not sure what's causing it though because I'm using the provided example config. The only difference is naturally the wifi settings.

I did some investigation myself and it seems that the LoadProhibited would suggest that the program is trying to read something from an illegal memory address of EXCVADDR: 0x00000030.

I also tried to temporarily comment out the whole UponorThermostat -class in knx_rf.h, just to check if it would boot correctly. And to my surprise it did boot.

I was also wondering if there has been some breaking changes in the SmartRC-CC1101-Driver-Lib or in newer esphome libraries after you made the last commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants