ESP32-WROM-32 Crashes and restarts when adding PCA9685 in devices
and PCA9685 will not Work at all.
Tried: 20190607_esp32test_1M8 & 20190607_normal_WROOM02_2M.bin
same problem only works with the old ESPEasy32_R20100.bin
also tried older releases with no luck
This is what I get from rs232 terminal:
Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (loopTask)
Core 1 register dump:
PC : 0x4008d88b PS : 0x00060e36 A0 : 0x40093626 A1 : 0x3ffaffe0
A2 : 0x3ffb0050 A3 : 0xb33fffff A4 : 0x00000000 A5 : 0x00000000
A6 : 0xffffffff A7 : 0x00000000 A8 : 0x80091f48 A9 : 0x40093418
A10 : 0x00000003 A11 : 0x00060e23 A12 : 0x40082725 A13 : 0x3ffd200e
A14 : 0x00000aaa A15 : 0x3ffb0160 SAR : 0x00000012 EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0xffffffff
Backtrace: 0x4008d88b:0x3ffaffe0 0x40093623:0x00000000
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:0x3fff0010,len:4
load:0x3fff0014,len:812
load:0x40078000,len:0
load:0x40078000,len:10164
entry 0x400789f8
陋U58 :
INIT : Booting version: mega-20190607 (ESP32 SDK v3.3-beta1-179-ge931fe9f5-dirty)
58 : INIT : Free RAM:292876
59 : INIT : Cold Boot - Restart Reason: CPU0: Software reset CPU CPU1: Software reset CPU
61 : FS : Mounting...
98 : CRC : No program memory checksum found. Check output of crc2.py
111 : CRC : SecuritySettings CRC ...OK
173 : INIT : Free RAM:287668
174 : INIT : I2C
175 : INIT : SPI not enabled
175 : System: Error - To much Plugins
175 : System: Error - To much Plugins
847 : INFO : Plugins: 75 [Normal] [TEST ESP32] (ESP32 SDK v3.3-beta1-179-ge931fe9f5-dirty)
848 : Programming error! - Increase PLUGIN_MAX
850 : WIFI : Set WiFi to STA
981 : WIFI : Connecting AP1 attempt #0
982 : IP : Static IP : 192.168.10.44 GW: 192.168.10.1 SN: 255.255.255.0 DNS: 8.8.8.8
988 : WIFI : Not configured in Station Mode!!: AP1
993 : OTA : Arduino OTA enabled on port 3232
1861 : WIFI : Static IP: 192.168.10.44 (TEST-ESP32-0) GW: 192.168.10.1 SN: 255.255.255.0 duration: 1859 ms
Hello
Still no Fix for this in the last Release :(
That's correct, it has become part of another PR which was not yet merged.
hello
Any chance this will be fixed pls :(
I have been too occupied with other stability issues.
Only the last few weeks, I've been testing with ESP32 (again), but not with this one.
I just did have a look at the plugin and noticed there is some very strange code in there to mark which addresses are in use.
I changed it and here it is not crashing on ESP32 when I add the plugin and enable it.
Should that be enough to make it crash?
See this commit: https://github.com/letscontrolit/ESPEasy/pull/2617/commits/0efe42fa5568adeff0ee02d5303e3f29fab752c3
Can you test it yourself?
Hi TD-er
Thanks very much for finding some time to look at this bug , i will wait until the the bin file is released cos I don鈥檛 know how to compile it .
Hope the fix will be in the next release .
Thanks again
Regards
Alan
Could you test this test build ?
It has a lot of other commits in it, so don't run it on a node that has to be in operation or is hard to reach :)
Hi thanks very much for your work i will test tomorrow and let you know
Good Morning Td-er
I just tested the bin file and it is working great here not crashing anymore :) .
in the old ESPEasy32_R20100.bin there was a problem that after a few minutes
i2c will stop working, i have build a small setup here I will leave it running for
a few hours and let you know .
Thanks again
Alan
Thanks for testing.
Hi Td-er
After 2 hours running i2C still works fine so everything is ok now.
will this fix be in the next release?
Yep, I have a very big PR ready which also contains this fix.
Nice :)
Thanks and keep up the good work
Just to let you know.
The fix is not yet included in last night's build, but it has been merged now, so it will be included in tomorrow's build.