cpainchaud / RFLink32

RFLink for ESP, with MQTT client
Other
118 stars 44 forks source link

Reboot after NewKaku command #106

Open BlueDesign61 opened 5 months ago

BlueDesign61 commented 5 months ago

Problem with Rflink32 on an ESP-WROOM-32 with sw: 'RFLink_ESP_5.1-20231128-093932-master'

Sending the command : 10;Newkaku;0010ab0e;b;ON; on the USB-serial interface or in MQTT in toppic /ESP00/cmd results in reboot of the ESP32.

Any one has the same problem?

zdid commented 4 months ago

Hello, I use cc1101, and NewKaku protocol. its same result: reboot i try with nignthly its same result: reboot Message arrived [MQTT] 10;NewKaku;017334a2;a;ON; Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1).

Core 1 register dump: PC : 0x40084794 PS : 0x00060e35 A0 : 0x800847ae A1 : 0x3ffb2030
A2 : 0x01839f63 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ffb81e8
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x00000029 A9 : 0x3ff5f078
A10 : 0x3ff5f07c A11 : 0x00060e23 A12 : 0x00060e20 A13 : 0x00000001
A14 : 0x00000019 A15 : 0x00000001 SAR : 0x00000006 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x40084781 LEND : 0x40084789 LCOUNT : 0x00000027

Backtrace: 0x40084791:0x3ffb2030 0x400847ab:0x3ffb2050 0x400f9028:0x3ffb2070 0x400dbf18:0x3ffb2090 0x400de781:0x3ffb20d0 0x400e45ee:0x3ffb2100 0x400e5f28:0x3ffb2120 0x400dc9e2:0x3ffb2140 0x400e4a27:0x3ffb2160 0x40193d03:0x3ffb2180 0x400e68cd:0x3ffb21a0 0x400e537a:0x3ffb21e0 0x400e5be7:0x3ffb2240 0x400e6117:0x3ffb2270 0x400f9d81:0x3ffb2290

0 0x40084791:0x3ffb2030 in esp_timer_impl_get_counter_reg at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_timer/src/esp_timer_impl_lac.c:128 (discriminator 1)

1 0x400847ab:0x3ffb2050 in esp_timer_impl_get_time at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_timer/src/esp_timer_impl_lac.c:141

2 0x400f9028:0x3ffb2070 in delayMicroseconds at /home/didier/.platformio/packages/framework-arduinoespressif32@3.20007.0/cores/esp32/esp32-hal-misc.c:191

3 0x400dbf18:0x3ffb2090 in RFLink::Signal::AC_Send(unsigned long, unsigned char) at RFLink/2_Signal.cpp:876

4 0x400de781:0x3ffb20d0 in PluginTX_004(unsigned char, char const*) at RFLink/./Plugins/Plugin_004.c:210

5 0x400e45ee:0x3ffb2100 in PluginTXCall(unsigned char, char const*) at RFLink/5_Plugin.cpp:2305

6 0x400e5f28:0x3ffb2120 in RFLink::executeCliCommand(char*) at RFLink/RFLink.cpp:404

7 0x400dc9e2:0x3ffb2140 in CheckMQTT(unsigned char*) at RFLink/3_Serial.cpp:87

8 0x400e4a27:0x3ffb2160 in RFLink::Mqtt::callback(char, unsigned char, unsigned int) at RFLink/6_MQTT.cpp:244

9 0x40193d03:0x3ffb2180 in std::_Function_handler<void (char, unsigned char, unsigned int), void ()(char, unsigned char, unsigned int)>::_M_invoke(std::_Any_data const&, char&&, unsigned char*&&, unsigned int&&) at /home/didier/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:297

10 0x400e68cd:0x3ffb21a0 in std::function<void (char, unsigned char, unsigned int)>::operator()(char, unsigned char, unsigned int) const at /home/didier/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/std_function.h:687

  (inlined by) PubSubClient::loop() at .pio/libdeps/genericESP32/PubSubClient/src/PubSubClient.cpp:416

11 0x400e537a:0x3ffb21e0 in RFLink::Mqtt::checkMQTTloop() at RFLink/6_MQTT.cpp:449

12 0x400e5be7:0x3ffb2240 in RFLink::mainLoop() at RFLink/RFLink.cpp:155

13 0x400e6117:0x3ffb2270 in loop() at RFLink/main.cpp:31

14 0x400f9d81:0x3ffb2290 in loopTask(void*) at /home/didier/.platformio/packages/framework-arduinoespressif32@3.20007.0/cores/esp32/main.cpp:50