EasyOTA / Mega / nodeMCU v3 => bootloop

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
spachal
Normal user
Posts: 55
Joined: 22 Feb 2018, 22:11

EasyOTA / Mega / nodeMCU v3 => bootloop

#1 Post by spachal » 11 Apr 2018, 23:42

Hi, I'm trying to use OTA update for mega-20180403. I downloaded this release to ArduinoIDE and I can flash it any time. After that I was trying to use OTA update (Tools > Firmware, Load, choose file from mega-20180410 or mega-20180409) and I always get bootloop.

HW: nodeMCU 1.0 v3 (ESP-12E Module), 80MHz, 115200, 4M (3M SPIFFS), COM33
- https://www.aliexpress.com/item/-/32820380705.html
- powered by microUSB connector, good power supply
ArduinoIDE 1.8.5, files placed to Portable folder, libraries updated
- over IDE I have no problems to reflash ESP any time
mega-20180403 and edited ESPEasy-Globals.h
- ssid & pass
- IP for controller (OpenHAB MQTT)
- DEFAULT_USE_RULES true
- DEFAULT_MQTT_RETAIN true
- #define PLUGIN_BUILD_DEV

So far so good, everthing is working wo. any problems. ESP gets IP from DHCP (reserved for MAC), so I'm able to configure board via browser.

Log from serial - flashing over IDE:

Code: Select all

INIT : Booting version: (custom)
INIT : Cold Boot
FS   : Mounting...
FS   : Mount successful, used 0 bytes of 2949250
RESET: Resetting factory defaults...
RESET: Warm boot, reset count: 0
RESET: formatting...
RESET: formatting done...
FILE : Saved config.dat
FILE : Saved security.dat
RESET: Succesful, rebooting. (you might need to press the reset button if you've justed flashed the firmware)

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


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

wdt reset
rl

INIT : Booting version: (custom)
INIT : Warm boot #1
FS   : Mounting...
FS   : Mount successful, used 75802 bytes of 2949250
CRC  : No program memory checksum found. Check output of crc2.py
CRC  : Settings CRC           ...OK
CRC  : SecuritySettings CRC   ...OK 
INIT : Free RAM:16112
INIT : I2C
INIT : SPI not enabled
EVENT: System#Wake
WIFI : AP Mode disabled
WIFI : AP Mode ssid will be ESP_Easy-0 with address 192.168.4.1
WIFI : Connecting wlan24 attempt #0
OTA  : Arduino OTA enabled on port 8266
EVENT: System#Boot
WD   : Uptime 0 ConnectFailures 0 FreeMem 12744
WIFI : Connected! AP: wlan24 (84:16:F9:BB:BB:6D) Ch: 1 Duration: 3991 ms
EVENT: WiFi#ChangedAccesspoint
WIFI : DHCP IP: 192.168.0.175 (ESP-Easy-0) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3657 ms
EVENT: WiFi#Connected
Current Time Zone:  DST time start: 2018-03-25 02:00:00 offset: 60 minSTD time start: 2018-10-28 03:00:00 offset: 0 min
EVENT: Time#Initialized
EVENT: Clock#Time=Wed,21:57
EVENT: Clock#Time=Wed,21:58
WD   : Uptime 1 ConnectFailures 0 FreeMem 12120
WD   : Uptime 1 ConnectFailures 0 FreeMem 12120
After that, with clean installation, I'm trying, from browser, to flash new mega build over OTA (for example ESP_Easy_mega-20180410_dev_ESP8266_4096.bin file, I was trying also normal or test versions, or 1M version too). Everything is going well, I receive "Update Success! Rebooting..." message, but boars is going to boot over and over ..

Here is serial otput:

Code: Select all

Update: ESP_Easy_mega-20180409_dev_ESP8266_4096.bin
sleep disable
.....................................................................................................................................................................ERROR[0]: No Error
.ERROR[0]: No Error
.ERROR[0]: No Error
...........................................................................................................................................................................Update Success: 691776
Rebooting...

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

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
@cp:0
ld
⸮U


INIT : Booting version: mega-20180409
INIT : Cold Boot
FS   : Mounting...
FS   : Mount successful, used 0 bytes of 957314
RESET: Resetting factory defaults...
RESET: Warm boot, reset count: 0
RESET: formatting...
RESET: formatting done...
FILE : Saved config.dat
FILE : Saved security.dat
RESET: Succesful, rebooting. (you might need to press the reset button if you've justed flashed the firmware)

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

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
⸮U


INIT : Booting version: mega-20180409
INIT : Warm boot #1
FS   : Mounting...
FS   : Mount successful, used 75802 bytes of 957314
CRC  : program checksum       ...FAIL
CRC  : Settings CRC           ...FAIL
CRC  : SecuritySettings CRC   ...OK 
CRC  : binary has changed since last save of Settings
INIT : Free RAM:17416
INIT : I2C
INIT : SPI not enabled

Exception (0):
epc1=0x402522ee epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont 
sp: 3fff55e0 end: 3fff58c0 offset: 01a0

>>>stack>>>
3fff5780:  0000001e 00000012 3fff5810 4020c43d  
3fff5790:  3ffe8ae4 00000000 3fff5810 4020c48e  
3fff57a0:  3ffe8ae4 00000001 3ffe8ffd 40216164  
3fff57b0:  00000000 00000015 3fff57d0 0000001b  
3fff57c0:  3fff1ae0 00000006 3fff57d0 40221a30 <
3fff57d0:  00000000 3fff0000 00000000 4020b900  
3fff57e0:  00000000 00000000 00000000 00000000  
3fff57f0:  00000000 00000100 3fff636c 0000000f  
3fff5800:  00000000 3fff6bd4 0000000f 00000000  
3fff5810:  3fff6bec 0000000f 00000000 00000000  
3fff5820:  3fff45ca 00000000 3fff4574 4022376c  
3fff5830:  00000000 00000000 00000000 00000000  
3fff5840:  00000000 00000000 40295a86 3fff1d24  
3fff5850:  3fff45ca 0000000c 3fff1ae0 40222090  
3fff5860:  3fff45ca 00000000 3fff3248 4024ad88  
3fff5870:  00000000 00000000 00000000 402567d0  
3fff5880:  3fff7294 0000002f 00000015 feefeffe  
3fff5890:  feefeffe feefeffe feefeffe 3fff4898  
3fff58a0:  3fffdad0 00000000 3fff4892 4020d44c  
3fff58b0:  feefeffe feefeffe 3fff48a0 402109b4  
<<<stack<<<

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

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
U
And this message with (non fatal!!) Exception is repeating over ond over, it's just bootloop. So after that, I always reflash board again via ArduinoIDE back.
Of course, I can flash newest builds always over ArduinoIDE. But I'd like to use EasyOTA function, it's useful! :]

Any help what's going wrong or how can I correct this? Thanks! :]
Please excuse my English, thanks!

spachal
Normal user
Posts: 55
Joined: 22 Feb 2018, 22:11

Re: EasyOTA / Mega / nodeMCU v3 => bootloop

#2 Post by spachal » 13 Apr 2018, 22:40

Up. Am I the only one with this problem?
Please excuse my English, thanks!

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EasyOTA / Mega / nodeMCU v3 => bootloop

#3 Post by TD-er » 13 Apr 2018, 23:01

Do you really need the plugins from the dev version?
We really have to look into the memory usage, since the dev and test versions use so much RAM.
Have you tried to use the 'normal' version?

spachal
Normal user
Posts: 55
Joined: 22 Feb 2018, 22:11

Re: EasyOTA / Mega / nodeMCU v3 => bootloop

#4 Post by spachal » 15 Apr 2018, 12:02

Hi, thanks for help, as I wrote, I tried also normal & test versions too.. always bootloop.

//edit//
I downloaded new version, mega-20180415. And flash ESP_Easy_mega-20180415_dev_ESP8266_4096.bin. Something is new .. no bootloop, but after reset I can see this (baud speed 74880):

Code: Select all

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09826c6d
~ld
Nothing else, after each reset the same output. I tried also ESP_Easy_mega-20180415_normal_ESP8266_1024.bin to be sure, near the same result.

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

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld


Board is NOT PUYA version (excuse quality, taken by phone)
20180415_122439_HDR.jpg
20180415_122439_HDR.jpg (138.22 KiB) Viewed 3375 times
Please excuse my English, thanks!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 24 guests