-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP12-E : Panic from umm_malloc ( Inconsistent between similar ESPs ) #1699
Comments
"Flash ide speed: 80000000" never worked properly for me. Did you try 40 Mhz? |
@kaeferfreund, I have tried both 40Mhz and 80Mhz but I got the same results :( |
try nm
hmm amica nodemcu devkit v2 |
@tablatronix, were you able to reproduce this? I don't quite understand your comment. |
Yup wdt resets, but I dont have exceptions handy, ill try to enable debugging and get any stacks if they help. Ill install gdb if i have time also. And i was getting a similar issue with the serial terminal example so ill probably be debugging stuff anyway. |
I am using the I get a wdt reset on
and this also
If i erase_flash it works.... until I reboot then it goes into loop again. |
@tablatronix, I get similar behavior and It's always right around "delete old wifi config..." . It also goes away (for a while) upon erasing the flash. |
Looks like it immediatly calls wifi.disconnect after, which might be causing some bad flash writes. This might be another bug already known. Hmm |
Ok i reverted to 2.1 worked fine. I did notice that my flash check is correct now., it was not matching before, but. most stuff was working fine and my settigs were correct. Ill keep and eye on it and see if it corrupts again or whatever. |
@uncletammy Hi, I am getting exception(2) as well whenever I use WiFi.begin(...) . Have You solved Your problem yet? |
@wkraus, I'm not certain but I think I had two separate problems. One was definitely solved here The other one which was the crash immediately upon calling Over the past month I have flashed 100 generic ESP modules. I cannot find a pattern in the frequency of occurrence. It seems random. I do know that once I addressed the issue that I've linked above AND turned off serial logging completely, the problem almost never occurred. When it did though, the erase_flash command did the trick. |
@uncletammy good advice. I will try erase_flash but don't know how to do it. Can I put it into an arduino sketch? |
@wkraus, no. You have to use a command line tool called esptool.py. See https://github.com/themadinventor/esptool for installation instructions and usage. |
I don't know your platform but for example windows.
From command line run esptool if you have esptool.py and python |
Thanks for Your help, I was out for a week and will be out again next week but will try it as soon as possible and post a comment. |
Tracking the same issue in #1997, closing this one. |
Basic Infos
I have two ESP12E modules. One came mounted to a NodeMCU breakout board.
https://drive.google.com/file/d/0BwFbwCQ9LBckUTdSR2RmdEVtMkE/view?usp=sharing
The other is a generic board that I have wired myself (see pics for wiring)
https://drive.google.com/file/d/0BwFbwCQ9LBckMTk4MWVVSUtGYTA/view?usp=sharing
https://drive.google.com/file/d/0BwFbwCQ9LBckdWhMUVRGNl9UMUk/view?usp=sharing
I am able to upload sketeches to both of them using the Arduino IDE (version 1.6.8 with version 2.1.0 of Arduino core for ESP8266).
Both boards produce identical output from the CheckFlashConfig sketch. They behave the same until I try to use a sketch that connects to Wifi. Then, the NodeMCU board works but the generic board panics. Sketches that don't connect to Wifi work fine on both. My operating system is Debian (Jessie).
This is being continued from #1675 at the request of @Links2004
Hardware
Hardware: ESP12E
Core Version: 2.1.0 ( I don't know which revision)
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB w/ 1MB SPIFFS (tried all 4MB settings)
CPU Frequency: 80Mhz (tried 40Mhz also)
Flash Mode: qio
Flash Frequency: 80Mhz (tried 40Mhz also)
Upload Using: SERIAL
Reset Method: ck
Sketch
This is the original CheckFlashConfig script modified to connect to my local wireless network.
Debug Messages
From NodeMCU board
From generic board
Stack
See image for decoded stack
The text was updated successfully, but these errors were encountered: