You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upload a sketch to nodemcu (it says Lolin on it, so I assume it with the esp12e chip on it), and if I try to use any of the WiFi related methods, I get an exception 3...
Settings in IDE
Module: NodeMCU v1.0
CPU Frequency: 80Mhz
Flash Size: 4M (3M SPIFSS)
Upload Using: USB SERIAL
0x401003e9: umm_malloc at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/umm_malloc/umm_malloc.c line 1380
0x401004f4: calloc at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/umm_malloc/umm_malloc.c line 1682
0x40106dd4: pvPortZalloc at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/heap.c line 33
0x4021aa55: wifi_param_save_protect_with_check at ?? line ?
0x401054a2: spi_flash_read at ?? line ?
0x4021ab3d: system_param_save_with_protect at ?? line ?
0x4021af2c: wifi_station_ap_number_set at ?? line ?
0x4021b087: wifi_station_ap_number_set at ?? line ?
0x4021b114: wifi_station_ap_number_set at ?? line ?
0x4021b150: wifi_station_set_config at ?? line ?
0x4020223a: ESP8266WiFiSTAClass::begin(char const, char const_, int, unsigned char const_, bool) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp line 143
0x4020215b: ESP8266WiFiSTAClass::begin(char const_, char const_, int, unsigned char const_, bool) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp line 101
0x402033a7: IPAddress::fromString(char const_) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/IPAddress.cpp line 87
0x402033d9: Print::write(unsigned char const_, unsigned int) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x40203455: preloop_update_frequency() at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/core_esp8266_main.cpp line 54
0x4010020c: _umm_free at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/umm_malloc/umm_malloc.c line 1285
0x4021ac4a: system_param_load at ?? line ?
0x4021ba73: wifi_softap_get_config_default at ?? line ?
0x402035e4: __udivmoddi4 at /home/igrokhotkov/xtensa/crosstool-NG/.build/src/gcc-4.8.2/libgcc/libgcc2.c line 1011
: (inlined by) umoddi3 at /home/igrokhotkov/xtensa/crosstool-NG/.build/src/gcc-4.8.2/libgcc/libgcc2.c line 1168
0x402033e4: Print::write(unsigned char const, unsigned int) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x4010502a: ets_timer_setfn at ?? line ?
0x40202bb5: Print::write(char const) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x40202bb5: Print::write(char const*) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x40202be0: Print::println() at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x402010ae: delay at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/core_esp8266_wiring.c line 53
0x40201cd9: setup at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino line 33
0x4020318c: loop_wrapper at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/core_esp8266_main.cpp line 43
0x40100718: cont_norm at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/cont.S line 109
The text was updated successfully, but these errors were encountered:
Hardware
Hardware: NodeMCU ESP-12(e)?
Description
I'm trying to upload a sketch to nodemcu (it says Lolin on it, so I assume it with the esp12e chip on it), and if I try to use any of the WiFi related methods, I get an exception 3...
Settings in IDE
Module: NodeMCU v1.0
CPU Frequency: 80Mhz
Flash Size: 4M (3M SPIFSS)
Upload Using: USB SERIAL
Sketch
include <ESP8266WiFi.h>
const char* ssid = "your-ssid";
const char* password = "your-password";
void setup() {
Serial.begin(115200);
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
}
void loop() {
}
Stack trace
1264, room 16
tail 0
chksum Connecting to your-ssid
Exception (3):
epc1=0x401003e9 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40027c39 depc=0x00000000
ctx: cont
sp: 3ffef6a0 end: 3ffefa80 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
Decoded stack
0x401003e9: umm_malloc at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/umm_malloc/umm_malloc.c line 1380
0x401004f4: calloc at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/umm_malloc/umm_malloc.c line 1682
0x40106dd4: pvPortZalloc at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/heap.c line 33
0x4021aa55: wifi_param_save_protect_with_check at ?? line ?
0x401054a2: spi_flash_read at ?? line ?
0x4021ab3d: system_param_save_with_protect at ?? line ?
0x4021af2c: wifi_station_ap_number_set at ?? line ?
0x4021b087: wifi_station_ap_number_set at ?? line ?
0x4021b114: wifi_station_ap_number_set at ?? line ?
0x4021b150: wifi_station_set_config at ?? line ?
0x4020223a: ESP8266WiFiSTAClass::begin(char const, char const_, int, unsigned char const_, bool) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp line 143
0x4020215b: ESP8266WiFiSTAClass::begin(char const_, char const_, int, unsigned char const_, bool) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp line 101
0x402033a7: IPAddress::fromString(char const_) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/IPAddress.cpp line 87
0x402033d9: Print::write(unsigned char const_, unsigned int) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x40203455: preloop_update_frequency() at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/core_esp8266_main.cpp line 54
0x4010020c: _umm_free at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/umm_malloc/umm_malloc.c line 1285
0x4021ac4a: system_param_load at ?? line ?
0x4021ba73: wifi_softap_get_config_default at ?? line ?
0x402035e4: __udivmoddi4 at /home/igrokhotkov/xtensa/crosstool-NG/.build/src/gcc-4.8.2/libgcc/libgcc2.c line 1011
: (inlined by) umoddi3 at /home/igrokhotkov/xtensa/crosstool-NG/.build/src/gcc-4.8.2/libgcc/libgcc2.c line 1168
0x402033e4: Print::write(unsigned char const, unsigned int) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x4010502a: ets_timer_setfn at ?? line ?
0x40202bb5: Print::write(char const) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x40202bb5: Print::write(char const*) at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x40202be0: Print::println() at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/Print.cpp line 76
0x402010ae: delay at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/core_esp8266_wiring.c line 53
0x40201cd9: setup at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino line 33
0x4020318c: loop_wrapper at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/core_esp8266_main.cpp line 43
0x40100718: cont_norm at /home/agim/.arduino15/packages/esp8266/hardware/esp8266/2.2.0/cores/esp8266/cont.S line 109
The text was updated successfully, but these errors were encountered: