mega-20190305 4m reboot loop with new firmware and witty module

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 301
Joined: 26 Dec 2017, 18:02

mega-20190305 4m reboot loop with new firmware and witty module

#1 Post by riker1 » 09 Mar 2019, 15:20

Hi

I experienced a boot loop

Code: Select all

15:17:35.058 -> 
INIT : Booting version: mega-20190305 (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
15:17:35.091 -> 55 : INIT : Warm boot #33 - Restart Reason: Exception
15:17:35.091 -> 58 : FS   : Mounting...
15:17:35.091 -> 63 : FS   : Mount successful, used 75802 bytes of 113201
15:17:35.423 -> 413 : CRC  : program checksum       ...OK
15:17:35.456 -> 424 : CRC  : SecuritySettings CRC   ...OK 
15:17:35.456 -> 426 : CRC  : binary has changed since last save of Settings
15:17:35.456 -> 446 : INIT : Free RAM:27456
15:17:35.456 -> 447 : INIT : I2C
15:17:35.456 -> 448 : INIT : SPI not enabled
15:17:35.490 -> 461 : INFO : Plugins: 46 [Normal] (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
15:17:35.490 -> 464 : WIFI : No valid wifi settings
15:17:35.490 -> 466 : WIFI : Could not conn
15:17:35.490 -> Exception (29):
15:17:35.490 -> epc1=0x4000e1c3 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000018 depc=0x00000000
15:17:35.490 -> 
15:17:35.490 -> ctx: cont 
15:17:35.490 -> sp: 3ffffbd0 end: 3fffffd0 offset: 01a0
15:17:35.523 -> 
15:17:35.523 -> >>>stack>>>
15:17:35.523 -> 3ffffd70:  0104a8c0 00000010 00000001 40275fd0  
15:17:35.523 -> 3ffffd80:  0104a8c0 00ffffff 0104a8c0 4026cfa0  
15:17:35.523 -> 3ffffd90:  00ffffff 0104a8c0 3ffffdc0 0000000e  
15:17:35.523 -> 3ffffda0:  0104a8c0 00000001 00000010 00000002  
15:17:35.523 -> 3ffffdb0:  0104a8c0 00ffffff 3fff36a8 0000000a  
15:17:35.523 -> 3ffffdc0:  00000000 40106e74 04dd43e8 401004e8  
15:17:35.523 -> 3ffffdd0:  40283596 3fff3d4c 402badf0 40106e74  
15:17:35.556 -> 3ffffde0:  4029112d 00000017 60000200 40291152  
15:17:35.556 -> 3ffffdf0:  04dd43e8 4027e7f3 3fff3d4c 3fff66dc  
15:17:35.556 -> 3ffffe00:  4028385e 3fff3d4c 3fff66dc 00000000  
15:17:35.556 -> 3ffffe10:  0000000a 3ffef9f0 3ffef96c 3ffefbdc  
15:17:35.556 -> 3ffffe20:  00000000 402917eb 3ffef96c 3fff66dc  
15:17:35.590 -> 3ffffe30:  00000018 3fff1fb1 00000002 3fff1fb1  
15:17:35.590 -> 3ffffe40:  402bae38 00000064 3ffffe78 4027eeed  
15:17:35.590 -> 3ffffe50:  3ffef96c 3fff66dc 3fff1fb1 3ffe84e4  
15:17:35.590 -> 3ffffe60:  00000064 4027eed4 3fff66dc 3fff1fb1  
15:17:35.623 -> 3ffffe70:  15a620a2 00008ec9 00000000 00000000  
15:17:35.623 -> 3ffffe80:  00000000 00000000 00000000 00000000  
15:17:35.623 -> 3ffffe90:  00000000 00000000 00000000 00000000  
15:17:35.623 -> 3ffffea0:  00000000 00000000 00000000 4028028f  
15:17:35.623 -> 3ffffeb0:  3fff66dc 00000002 00000002 402802dc  
15:17:35.656 -> 3ffffec0:  00000000 3ffef9f0 3fff0818 00000000  
15:17:35.656 -> 3ffffed0:  40296489 00000002 00000002 00000002  
15:17:35.656 -> 3ffffee0:  402965ef 00000002 00000002 402965a3  
15:17:35.656 -> 3ffffef0:  00000000 00000000 00000000 3fff623c  
15:17:35.656 -> 3fffff00:  402966c6 00000002 00000002 00000000  
15:17:35.689 -> 3fffff10:  4020903e 00000000 00000000 00000000  
15:17:35.689 -> 3fffff20:  402b041d 00000001 3ffe8700 3fff3048  
15:17:35.689 -> 3fffff30:  3fff1fb1 3fff0e7e 00000002 40234d15  
15:17:35.689 -> 3fffff40:  00000000 fffffffe 00000001 4024bdb7  
15:17:35.689 -> 3fffff50:  402b03bf 00000000 3fff1c5c 402161a4  
15:17:35.722 -> 3fffff60:  3fff1fb1 3ffe8700 3fff22c0 4024c042  
15:17:35.722 -> 3fffff70:  3fff1fb1 3ffe8700 3fff22c0 40253f00  
15:17:35.722 -> 3fffff80:  00000000 00000000 00000000 4026a90c  
15:17:35.722 -> 3fffff90:  3fff49d4 0000007f 00000064 feefeffe  
15:17:35.722 -> 3fffffa0:  feefeffe feefeffe feefeffe 3fff3108  
15:17:35.756 -> 3fffffb0:  3fffdad0 00000000 3fff3102 402689e0  
15:17:35.756 -> 3fffffc0:  feefeffe feefeffe 3ffe88c8 40100721  
15:17:35.756 -> <<<stack<<<
15:17:35.756 -> 
15:17:35.756 -> last failed alloc call: 40106E74(81609704)
15:17:35.789 -> 
15:17:35.789 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
15:17:35.789 -> 
15:17:35.789 -> load 0x4010f000, len 1384, room 16 
15:17:35.789 -> tail 8
15:17:35.789 -> chksum 0x2d
15:17:35.789 -> csum 0x2d
15:17:35.789 -> vbb28d4a3
any hints maybe?

T

User avatar
ThomasB
Normal user
Posts: 375
Joined: 17 Jun 2018, 20:41
Location: USA

Re: mega-20190305 4m reboot loop with new firmware and witty module

#2 Post by ThomasB » 09 Mar 2019, 21:57

Things to try:
(1) The crash occurs during WiFi init, so could be voltage sag problem. Try a different 5.0V power supply that has stable/clean power. Add caps on 5V rail too.
(2) Do a full flash memory reset. This will ensure a clean install. Hint, Load File: blank_4MB.bin
(3) Try an earlier release, such as mega-20190121.

- Thomas

riker1
Normal user
Posts: 301
Joined: 26 Dec 2017, 18:02

Re: mega-20190305 4m reboot loop with new firmware and witty module

#3 Post by riker1 » 10 Mar 2019, 08:24

Ok will try to reflash,

having the problem:

Code: Select all

trying to connect
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	serialport_receive_C0: 46 instead of C0
trying to connect
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	serialport_receive_C0: 46 instead of C0
trying to connect
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	serialport_receive_C0: 46 instead of C0

while flashing.

how can I solve this, maybe a special pulldown etc?

Thanks T

riker1
Normal user
Posts: 301
Joined: 26 Dec 2017, 18:02

Re: mega-20190305 4m reboot loop with new firmware and witty module

#4 Post by riker1 » 10 Mar 2019, 08:25

Hi

did try different power supplies but did not solve it.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests