Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)
User avatar
By giacinto
#68993 Hello,
I am having a huge problem with a project with WEMOS D1 in which I use WiFi and an RF 433MHz receiver that I manage with the library RC-Switch.

When I use both the WiFi connection and the RF receiver, in the moment in which I receive some RF code the board crashes. I do not attach here the source code because I am testing the bug with a very simple project now in which I just only make a wifi connection in the setup and then call the rf receive function in the loop and the problem is the same. So I think that it isn't a code related problem.

Code: Select allException (0):
epc1=0x40204610 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys
sp: 3ffffc20 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffffdc0:  40106318 3ffeefd8 3ffeefe8 00000030 
3ffffdd0:  ffffffff 00000020 0168016b 40204626 
3ffffde0:  018bb86c 401062e0 3fffc258 00000022 
3ffffdf0:  3fffc200 401062e0 3fffc258 4000050c 
3ffffe00:  4000437d 00000030 00000013 ffffffff 
3ffffe10:  60000200 00000008 7c037c02 80000000 
3ffffe20:  20000000 3fff2978 80000000 203fc100 
3ffffe30:  80000000 3fffc6fc 005c0bb7 3fff297c 
3ffffe40:  00000174 003fc100 60000600 00000030 
3ffffe50:  018c3d0b 54206e6f 6f6d6572 00000100 
3ffffe60:  7fffffff 3ffea19c 3ffea19c 00000001 
3ffffe70:  4010637c 0000000d 00000000 40106366 
3ffffe80:  ffffffff 00000020 3fff12bc 00000000 
3ffffe90:  00000000 00000000 0000001f 401049ed 
3ffffea0:  4000050c 401062e0 3fffc258 4000050c 
3ffffeb0:  40000f68 00000030 00000013 ffffffff 
3ffffec0:  40000f58 00000000 00000020 00000000 
3ffffed0:  00000000 4021b208 00000000 bfffffff 
3ffffee0:  ffffffff 3fffc6fc 005c0bb7 3fffdab0 
3ffffef0:  00000000 400042db 3ffeeba8 00000030 
3fffff00:  40004b31 3fff287c 00000274 003fc000 
3fffff10:  401055b0 00000000 00000000 00000000 
3fffff20:  401066d5 3fff287c 3ffeeb80 018c40d3 
3fffff30:  4010495e 3ffeeb58 3ffedbb0 4021ac9a 
3fffff40:  4021b156 00000008 3ffedc64 00000000 
3fffff50:  3ffeeb80 3ffedc64 4021b21b 3ffedc64 
3fffff60:  3ffeeb80 005c1c7c 4021b0f8 00000063 
3fffff70:  4022d3d5 3ffedc64 3ffeeb80 018c0b2a 
3fffff80:  4022d41a 3fffdab0 00000000 3fffdcb0 
3fffff90:  3ffeeb90 40000f65 3fffdab0 00000000 
3fffffa0:  40000f49 3ffe9a10 3fffdab0 40000f49 
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(1,6)


 ets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset



There's someone that have any idea to solve this problem?
User avatar
By philbowles
#69038 "There's someone that have any idea to solve this problem?"

Not without the source code, unless you just want a guess: "It's broken".

No-one can diagnose a problem with practically zero information!

The stack trace translates as: (with references to MY setup of course, you need to do this yourself and post the results - you should download and install the ESP Exception decoder)

0x40204610: spiffs_object_append at C:\Users\phil\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\spiffs/spiffs_nucleus.c line 1073 (discriminator 2)
0x40106318: std::string::find(char const*, unsigned int, unsigned int) const at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x40204626: spiffs_object_append at C:\Users\phil\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\spiffs/spiffs_nucleus.c line 1073 (discriminator 2)
0x401062e0: std::string::_S_copy_chars(char*, char const*, char const*) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x401062e0: std::string::_S_copy_chars(char*, char const*, char const*) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x4010637c: std::string::find(std::string const&, unsigned int) const at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x40106366: std::string::find(char const*, unsigned int, unsigned int) const at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x401049ed: lmacTxFrame at ?? line ?
0x401062e0: std::string::_S_copy_chars(char*, char const*, char const*) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x4021b208: rc_set_rate_limit_id at ?? line ?
0x401055b0: Cache_Read_Enable_2 at ?? line ?
0x401066d5: std::string::assign(char const*, unsigned int) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x4010495e: lmacProcessTxError at ?? line ?
0x4021ac9a: pp_attach at ?? line ?
0x4021b156: rc_set_rate_limit_id at ?? line ?
0x4021b21b: rc_set_rate_limit_id at ?? line ?
0x4021b0f8: phytype2mode at ?? line ?
0x4022d3d5: rijndaelKeySetupEnc at ?? line ?
0x4022d41a: rijndaelKeySetupEnc at ?? line ?

So you see, without the source code....

You have a WDT reset. This suggests the "other" code running (whatever it was, which no-one can tell wityhout the source code of course) is waiting too long for some external event. Best I can do without the source code...
User avatar
By KDB
#71031 Im using the german version of arduino IDE and I don t succeed in installing the exception decoder. Which are the folders for the sources of the decoder and are there any entries in preferences.txt ( english name in the german Version !! )
I tried many combinations of german an english names of folders, but in the tool menu there is no entry.
Trank you very much




philbowles wrote:"There's someone that have any idea to solve this problem?"

Not without the source code, unless you just want a guess: "It's broken".

No-one can diagnose a problem with practically zero information!

The stack trace translates as: (with references to MY setup of course, you need to do this yourself and post the results - you should download and install the ESP Exception decoder)

0x40204610: spiffs_object_append at C:\Users\phil\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\spiffs/spiffs_nucleus.c line 1073 (discriminator 2)
0x40106318: std::string::find(char const*, unsigned int, unsigned int) const at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x40204626: spiffs_object_append at C:\Users\phil\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\spiffs/spiffs_nucleus.c line 1073 (discriminator 2)
0x401062e0: std::string::_S_copy_chars(char*, char const*, char const*) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x401062e0: std::string::_S_copy_chars(char*, char const*, char const*) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x4010637c: std::string::find(std::string const&, unsigned int) const at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x40106366: std::string::find(char const*, unsigned int, unsigned int) const at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x401049ed: lmacTxFrame at ?? line ?
0x401062e0: std::string::_S_copy_chars(char*, char const*, char const*) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x4021b208: rc_set_rate_limit_id at ?? line ?
0x401055b0: Cache_Read_Enable_2 at ?? line ?
0x401066d5: std::string::assign(char const*, unsigned int) at /Users/igrokhotkov/e/ESPTools/crosstool-NG/.build/xtensa-lx106-elf/build/build-cc-gcc-final/xtensa-lx106-elf/libstdc++-v3/include/bits/basic_string.tcc line 732
0x4010495e: lmacProcessTxError at ?? line ?
0x4021ac9a: pp_attach at ?? line ?
0x4021b156: rc_set_rate_limit_id at ?? line ?
0x4021b21b: rc_set_rate_limit_id at ?? line ?
0x4021b0f8: phytype2mode at ?? line ?
0x4022d3d5: rijndaelKeySetupEnc at ?? line ?
0x4022d41a: rijndaelKeySetupEnc at ?? line ?

So you see, without the source code....

You have a WDT reset. This suggests the "other" code running (whatever it was, which no-one can tell wityhout the source code of course) is waiting too long for some external event. Best I can do without the source code...