8000 NodeMcu V3 and SRX882 causes "Exception type: unknown" · Issue #61 · esphome/issues · GitHub
[go: up one dir, main page]

Skip to content
NodeMcu V3 and SRX882 causes "Exception type: unknown" #61
@hubertbanas

Description

@hubertbanas

NodeMcu V3 + SRX882

Affected component:
https://esphome.io/components/remote_receiver

Description of problem:
Exception type: unknown

Problem-relevant YAML-configuration entries:

esphomeyaml:
  name: nodemcu1
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

mqtt:
  broker: !secret mqtt_broker

# Enable logging
logger:

# Enable Home Assistant API
#api:

ota:

remote_receiver:
  pin:
    number: D1
  dump: rc_switch

Traceback (if applicable):

[15:17:04][C][ota:461]: There have been 0 suspected unsuccessful boot attempts.
[15:17:04][I][application:053]: Running through setup()...
[15:17:04][C][remote.receiver:295]: Setting up Remote Receiver...
[15:17:04][C][wifi:029]: Setting up WiFi...
[15:17:04]
[15:17:04]Exception (0):
WARNING Exception type: unknown
[15:17:04]epc1=0x4020a208 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
INFO Need to fetch platformio IDE-data, please stand by
INFO Running:  platformio run -d nodemcu1 -t idedata
WARNING Decoded 0x4020a208: interruptFunctional(void*)
[15:17:05]
[15:17:05]ctx: cont 
[15:17:05]sp: 3ffffae0 end: 3fffffd0 offset: 01a0
[15:17:05]
[15:17:05]>>>stack>>>
WARNING Found stack trace! Trying to decode it
[15:17:05]3ffffc80:  feefeffe 3ffffd42 3ffffcb0 3ffffcf0  
[15:17:05]3ffffc90:  40216a44 3ffffd90 3ffffd31 00000020  
WARNING Decoded 0x40216a44: __ssputs_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/nano-vfprintf.c:180
[15:17:05]3ffffca0:  40106975 00000005 00000000 4010695d  
WARNING Decoded 0x40106975: interrupt_handler
WARNING Decoded 0x4010695d: interrupt_handler
[15:17:05]3ffffcb0:  c0037005 00000002 0000000a 3ffeb16a  
[15:17:05]3ffffcc0:  3ffffd33 3ffea508 3ffffd61 00000022  
[15:17:05]3ffffcd0:  401068de 401068a4 3fffc258 4000050c  
WARNING Decoded 0x401068de: interrupt_handler
WARNING Decoded 0x401068a4: interrupt_handler
[15:17:05]3ffffce0:  c0037005 00000030 0000001f ffffffff  
[15:17:05]3ffffcf0:  40201f5f 00000000 00000030 00000022  
WARNING Decoded 0x40201f5f: uart_write
[15:17:05]3ffffd00:  3fffc200 401068a4 3fffc258 4000050c  
WARNING Decoded 0x401068a4: interrupt_handler
[15:17:05]3ffffd10:  4000437d 00000030 00000016 ffffffff  
[15:17:05]3ffffd20:  60000200 00000008 ffffff01 80000000  
[15:17:05]3ffffd30:  20000000 3fff3d60 80000000 203fd140  
[15:17:05]3ffffd40:  80000000 3fff2244 00000003 3fff3d64  
[15:17:05]3ffffd50:  0000035c 003fd140 00000008 00000030  
[15:17:05]3ffffd60:  3ffea521 00000019 3ffffe10 40216ea4  
WARNING Decoded 0x40216ea4: _svfprintf_r at /Users/igrokhotkov/e/newlib-xtensa/xtensa-lx106-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/nano-vfprintf.c:641
[15:17:05]3ffffd70:  00000004 ffffffff 00000000 00000020  
[15:17:05]3ffffd80:  40106975 00000005 00000000 4010695d  
WARNING Decoded 0x40106975: interrupt_handler
WARNING Decoded 0x4010695d: interrupt_handler
[15:17:05]3ffffd90:  c0037025 00000021 000001d3 ffff0208  
[15:17:05]3ffffda0:  3fff2244 000001ff 000001af 00000022  
[15:17:05]3ffffdb0:  3fffc200 401068a4 3fffc258 4000050c  
WARNING Decoded 0x401068a4: interrupt_handler
[15:17:05]3ffffdc0:  402080f5 00000030 0000001f ffffffff  
WARNING Decoded 0x402080f5: esphomelib::WiFiComponent::wifi_mode_(esphomelib::optional<bool>, esphomelib::optional<bool>)
[15:17:05]3ffffdd0:  402080e9 00000002 00000000 00000001  
WARNING Decoded 0x402080e9: esphomelib::WiFiComponent::wifi_mode_(esphomelib::optional<bool>, esphomelib::optional<bool>)
[15:17:05]3ffffde0:  00000002 6000001c 3fff2244 6e000a0d  
[15:17:05]3ffffdf0:  00000080 3fff2244 00000003 3fff256c  
[15:17:05]3ffffe00:  00000002 400042db 00000008 00000030  
[15:17:05]3ffffe10:  40004b31 3fff3c24 0000049c 003fd000  
[15:17:05]3ffffe20:  401057d8 00000000 3fff129c 4020a820  
WARNING Decoded 0x401057d8: spi_flash_read
WARNING Decoded 0x4020a820: Print::println(char const*)
[15:17:05]3ffffe30:  401066dd 3fff3c24 0000049c 00000000  
WARNING Decoded 0x401066dd: __wrap_spi_flash_read
[15:17:05]3ffffe40:  00000004 3ffffee0 3fff3c24 40239d7e  
WARNING Decoded 0x40239d7e: system_param_load
[15:17:05]3ffffe50:  ffffff00 55aa55aa 00000003 00000020  
[15:17:05]3ffffe60:  00000020 000000ed 000000ed aa55aa55  
[15:17:05]3ffffe70:  000003fd 40239a3f 00000001 00000001  
WARNING Decoded 0x40239a3f: wifi_set_broadcast_if
[15:17:05]3ffffe80:  00000002 402399f7 00000001 40239a17  
WARNING Decoded 0x402399f7: wifi_set_broadcast_if
WARNING Decoded 0x40239a17: wifi_set_broadcast_if
[15:17:05]3ffffe90:  3fff14b4 0000019f 00000000 3fff3c24  
[15:17:05]3ffffea0:  40239b3a 00000000 00000000 00000002  
WARNING Decoded 0x40239b3a: wifi_set_opmode_current
[15:17:05]3ffffeb0:  40208123 00000000 00000000 3ffea08b  
WARNING Decoded 0x40208123: esphomelib::WiFiComponent::wifi_mode_(esphomelib::optional<bool>, esphomelib::optional<bool>)
[15:17:05]3ffffec0:  00000101 00000001 0000000c 4020741a  
WARNING Decoded 0x4020741a: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (esphomelib::remote::RemoteReceiverComponent::*)()> (esphomelib::remote::RemoteReceiverComponent*)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)
[15:17:05]3ffffe
6C73
d0:  402083c8 00000000 3fff256c 40208a3c  
WARNING Decoded 0x402083c8: esphomelib::WiFiComponent::wifi_event_callback_(_esp_event*)
WARNING Decoded 0x40208a3c: esphomelib::WiFiComponent::setup()
[15:17:05]3ffffee0:  01010001 3ffeb018 402073e0 40211768  
WARNING Decoded 0x402073e0: std::_Function_base::_Base_manager<std::_Bind<std::_Mem_fn<void (esphomelib::remote::RemoteReceiverComponent::*)()> (esphomelib::remote::RemoteReceiverComponent*)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)
WARNING Decoded 0x40211768: std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (esphomelib::remote::RemoteReceiverComponent::*)()> (esphomelib::remote::RemoteReceiverComponent*)> >::_M_invoke(std::_Any_data const&)
[15:17:05]3ffffef0:  00000002 3fff256c 3fff256c 402040d1  
WARNING Decoded 0x402040d1: esphomelib::Component::setup_()
[15:17:05]3fffff00:  3fff2c34 3fff2c20 3fff1108 40203dfa  
WARNING Decoded 0x40203dfa: esphomelib::Application::setup()
[15:17:06]3fffff10:  3fff2c34 00000005 3fff2ba4 3fff1378  
[15:17:06]3fffff20:  3fffdad0 3fff2ba4 3fff1108 4020783e  
WARNING Decoded 0x4020783e: esphomelib::remote::RemoteReceiverComponent::add_dumper(esphomelib::remote::RemoteReceiveDumper*)
[15:17:06]3fffff30:  3fff21a4 40202922 00000004 3fff1378  
WARNING Decoded 0x40202922: setup
[15:17:06]3fffff40:  3fffdad0 3fff2ba4 3fff1108 40202933  
WARNING Decoded 0x40202933: setup
[15:17:06]3fffff50:  3fff2688 00000000 00000000 3fff26a8  
[15:17:06]3fffff60:  00000000 00000000 40212090 00000000  
WARNING Decoded 0x40212090: AsyncClient::space()
[15:17:06]3fffff70:  40212090 00000000 40212090 00000000  
WARNING Decoded 0x40212090: AsyncClient::space()
WARNING Decoded 0x40212090: AsyncClient::space()
[15:17:06]3fffff80:  40212090 00000000 40212090 00000000  
WARNING Decoded 0x40212090: AsyncClient::space()
WARNING Decoded 0x40212090: AsyncClient::space()
[15:17:06]3fffff90:  40211f00 feef0005 60000318 00000020  
WARNING Decoded 0x40211f00: AsyncClient::space()
[15:17:06]3fffffa0:  feefef00 3fff14d8 3fff27a0 feefeffe  
[15:17:06]3fffffb0:  feefeffe 00000000 3fff1370 4020b878  
WARNING Decoded 0x4020b878: loop_wrapper() at core_esp8266_main.cpp
[15:17:06]3fffffc0:  feefeffe feefeffe 3ffe8600 40100721  
WARNING Decoded 0x40100721: cont_wrapper
[15:17:06]<<<stack<<<
[15:17:06]
[15:17:06] ets Jan  8 2013,rst cause:2, boot mode:(3,6)
[15:17:06]
[15:17:06]load 0x4010f000, len 1384, room 16 
[15:17:06]tail 8
[15:17:06]chksum 0x2d
[15:17:06]csum 0x2d
[15:17:06]vbb28d4a3
[15:17:06]~ld
[15:17:06][I][logger:071]: Log initialized
[15:17:06][C][ota:461]: There have been 1 suspected unsuccessful boot attempts.
[15:17:06][I][application:053]: Running through setup()...
[15:17:06][C][remote.receiver:295]: Setting up Remote Receiver...
[15:17:06][C][wifi:029]: Setting up WiFi...
[15:17:06]
[15:17:06]Exception (0):
WARNING Exception type: unknown
[15:17:06]epc1=0x4020a208 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
WARNING Decoded 0x4020a208: interruptFunctional(void*)

Additional information and things you've tried:
Same hardware works fine with a ReceiveDemo_Advanced posted here

/*
  Example for receiving
  
  https://github.com/sui77/rc-switch/
  
  If you want to visualize a telegram copy the raw data and 
  paste it into http://test.sui.li/oszi/
*/

#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {
  Serial.begin(9600);
  mySwitch.enableReceive(0);  // Receiver on interrupt 0 => that is pin #2
}

void loop() {
  if (mySwitch.available()) {
    output(mySwitch.getReceivedValue(), mySwitch.getReceivedBitlength(), mySwitch.getReceivedDelay(), mySwitch.getReceivedRawdata(),mySwitch.getReceivedProtocol());
    mySwitch.resetAvailable();
  }
}

The ReceiveDemo_Advanced produces the dump as well:

Decimal: 6717205 (24Bit) Binary: 011001100111111100010101 Tri-State: not applicable PulseLength: 575 microseconds Protocol: 6
Raw data: 13245,472,409,915,870,454,871,451,423,903,430,897,886,439,884,438,437,891,441,888,892,432,890,434,888,436,888,436,886,437,886,437,885,440,434,894,440,887,445,885,896,428,447,883,896,428,446,883,898,

Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0