Closed rkoptev closed 8 years ago
Hi, I have solved the problem by Tools > Erase Flash > All contents compiled and uploaded again the boot problem did not occur anymore ... until now !
@hassin23ayz It worked, thank you
I am facing the same issue. I accidentally pressed "reset" button on the board while uploading was in progress (nearly 60%). Now when I am connecting the board to my PC, its detected. I am also able to upload the sketch to the board. But its misbehaving. Inbuilt LED is constantly flashing and I see the mentioned error on serial screen (Baud Rate 115200 / NL&CR).
Hi, I have solved the problem by Tools > Erase Flash > All contents compiled and uploaded again the boot problem did not occur anymore ... until now !
thanks. It worked
Have no solution? I got only this message when GPIO_0 is GND: " ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets_main.c "
Nothing more. And I got this message when GPIO_0 is VCC: " ets Jan 8 2013,rst cause:2, boot mode:(1,7)" Nothing more.
crc_efuse_4bit: 0 crc_calc_4bit: 8 48bit mac "
I solve this problem when download older version of the esp8266 to version 2.5.0 and everything works again.
I am using ESP8266-12 and 2.6.3 core. I had this problem and walked back to code, sorted out some bad variables ( clash with internal libraries vs local include settings, turned off pre-cache to ensure libraries got rebuilt and fixed my pins allocation - I was forgetting pins are not the same as GPIOs and it all works.
Oh, and having downloaded the GH latest head ( v4.1) , I still needed to add the ICACHE RA ATTR in front of all the ISR functions. But it is working and with interrupts too. Very nice. Took about 3 hours of faff when it should have taken 5 mins but that's hardware.
Find the problem, since I am new to esp8266, don't know bad program will cause rest loop of hardware ...., Download another program solve the problem ...
which programmer?
I had the same issue and resolved it. My code was originally written using ESP8266 Arduino Core 2.6.3 (or close to - it was an older version..). I updated to ESP8266 Arduino Core 2.7.4 tonight and got this issue.
I recalled reading in recent months that there were some changes and enhancements in how interrupts ( ISR s ) were handled as a result of the ESP8266 Arduino Core development over time.
I revisited my interrupt code and had to add ICACHE_RAM_ATTR in.
There is a good read here on stackoverflow about it: https://stackoverflow.com/questions/58113937/esp8266-arduino-why-is-it-necessary-to-add-the-icache-ram-attr-macro-to-isrs-an and also the general ESP8266 Arduino Core reference library here https://arduino-esp8266.readthedocs.io/en/latest/reference.html
My boards are both the Lolin Wemis D1 Mini Pro 2.0.0 and Lolin Wemis D1mini that I was experiencing this on. Problem solved and not soo much time lost! Hope this helps someone else!! :)
I had the same problem, solved it with hassin23ayz 's method: Tools -> Erase flash -> All flash contents. No more rst cause:2 boot mode (3,6), all working well :)
The problem i had (rst cause:1, boot mode:(3,7)), was laid down in my code where i defined an ISR which encountered the code memory and due to that , esp rebooted continuously. Thanks to this thread, i used ICACHE_FLASH_ATTR in my ISR function which solved the rebooting thing. Hope it be a help for anyone have my problem.
this is due to long processing on loop while acting as webserver...
Fine problem solve a while ago thanks for the awnsers sorry for not responding
Outlook for Androidhttps://aka.ms/ghei36 downloaden
From: jhalak333 @.> Sent: Saturday, March 27, 2021 9:54:20 AM To: esp8266/Arduino @.> Cc: k-byte-rgb @.>; Comment @.> Subject: Re: [esp8266/Arduino] ESP-12E troubleshooting (rst cause:2, boot mode:(3,6)) (#2414)
this is due to long processing on loop while acting as webserver...
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/esp8266/Arduino/issues/2414#issuecomment-808694585, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQLDSIJ37L2VUXKZYB5MSILTFWMLZANCNFSM4CNEQWYQ.
To everyone having the same Problem as the OP. I had it too.
The Problem is, that the ESP8266 crashes during the rotation of the stepper motor because it can not handle the WiFi tasks that continuisly run in the background while only having a few microseconds delay.
I added the yield(); function to my rotation loops and the crashes are gone.
At least that was the Problem with me, since we are basically doing the same thing and i had the problem i assume this would be the solution for this case too.
Try to upload a blink code on Arduino Uno , then switch to ESP and upload the code again , I had the same problem and it solved
Hi, I have solved the problem by Tools > Erase Flash > All contents compiled and uploaded again the boot problem did not occur anymore ... until now !
It seems to work
But it's too ugly to be forced to do it everytime, especially if we must do dynamic configuration each time! Why just does it happens?
me dio ese error:
ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 3460, room 16 tail 4 chksum 0xcc load 0x3fff20b8, len 40, room 4 tail 4 chksum 0xc9 csum 0xc9 v00041c40 ~ld
lo que hice fue eliminar la librería de LiquidCrystal_I2C y funciono de nuevo con otra librería
If it can help. I had the same pb (from initial post 20 Aug 2016) Just try Flash mode : "Dout compatible"
I have same issue. ESP8266 in restarting loop. I try this ICACHE_RAM_ATTR and working :) you must add before setup() and same name your method like this void ICACHE_RAM_ATTR door();
I had the same issue and resolved it. My code was originally written using ESP8266 Arduino Core 2.6.3 (or close to - it was an older version..). I updated to ESP8266 Arduino Core 2.7.4 tonight and got this issue.
I recalled reading in recent months that there were some changes and enhancements in how interrupts ( ISR s ) were handled as a result of the ESP8266 Arduino Core development over time.
I revisited my interrupt code and had to add ICACHE_RAM_ATTR in.
There is a good read here on stackoverflow about it: https://stackoverflow.com/questions/58113937/esp8266-arduino-why-is-it-necessary-to-add-the-icache-ram-attr-macro-to-isrs-an and also the general ESP8266 Arduino Core reference library here https://arduino-esp8266.readthedocs.io/en/latest/reference.html
My boards are both the Lolin Wemis D1 Mini Pro 2.0.0 and Lolin Wemis D1mini that I was experiencing this on. Problem solved and not soo much time lost! Hope this helps someone else!! :)
Hi folks,
I encountered the same issue with boot modes(1,6) and (3,6). Development went perfectly fine and all was running smooth at 2am. Revisiting the project the next morning all went to custard.
Finally I found the culprit and the cause for having the effect with the boot modes.
The exact reason for the continues boot mode errors shown I can;t give, but in my project it was some code failing in a class initialization of a global instance which runs before setup() is called. Took me a while to figure out, but I got there.
So my recommendation if you encounter the same issue: Look to your global class instances and see if code is causing exceptions before setup() is called!
Cheers, Klaus
Same problem here. I had some errors in a global class instance (SoftwareSerial) which cause this problem. The declaration for the baudRate were u_int8_t instead u_int_32 and switching to 19200 leads to an overflow which leads to a baud rate of 0 which leads to a division by zero exception....
Thank you Klaus!
Ciao Thomas
Hi, I have solved the problem by Tools > Erase Flash > All contents compiled and uploaded again the boot problem did not occur anymore ... until now !
It works. But I just wonder, why?
Basic Infos
Hardware
Hardware: ESP-12E (ESP8266MOD) Core Version: 2.3.0
Description
Hi. Previously, I was able to flash ESP through Arduino IDE. The code worked well, although very often controller restarted with no reason. "... wdt reset ..." has been written to the COM port. I tried to turn off the watch dog timer with the help of ESP.wdtDisable() or simply to increase the timeout with ESP.wdtEnable(65535). This partly solves the problem, but restarts still have a place to be. But now, after a regular flashing I get this output in COM port:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v09f0c112 ~ld
And that's all. I tried to change the module in the IDE to "ESP8266 Generic", and to change the size of the memory, but no result. What could be the problem? And how to fix this behavior?
Settings in IDE
Module: NodeMCU 1.0 Flash Size: 4MB/3MB CPU Frequency: 80Mhz Upload Using: SERIAL
Sketch