evilgeniuslabs / bloom-v2

4 stars 1 forks source link

rst cause:4, boot mode:(1,6) rst cause:2, boot mode:(3,6) #3

Open zombodotcom opened 7 years ago

zombodotcom commented 7 years ago

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

wdt reset

Soft WDT reset

ctx: cont sp: 3fff2740 end: 3fff2950 offset: 01b0

stack>>> 3fff28f0: 3ffe9398 00000000 000000da 40207652
3fff2900: 00fffff4 00000000 3fff0050 40207980
3fff2910: 3fffdad0 3fff00c0 3fff05ac 40208f5c
3fff2920: 00000000 00000000 00000001 402126f5
3fff2930: 3fffdad0 00000000 3fff1919 40212720
3fff2940: feefeffe feefeffe 3fff1930 40100718
<<<stack<<<

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 ø

This issue comes up when the webserver tries to use

{ fallingRainbow, "Falling Rainbow" }, { risingRainbow, "Rising Rainbow" }, { rotatingRainbow, "Rotating Rainbow" },

{ fallingPalette, "Falling Palette" }, { risingPalette, "Rising Palette" }, { rotatingPalette, "Rotating Palette" },

removing loadSettings(); in void setup and the patterns { fallingRainbow, "Falling Rainbow" }, { risingRainbow, "Rising Rainbow" }, { rotatingRainbow, "Rotating Rainbow" },

{ fallingPalette, "Falling Palette" }, { risingPalette, "Rising Palette" }, { rotatingPalette, "Rotating Palette" },

solves the issue with no more reset loops

jasoncoon commented 7 years ago

I'm unable to reproduce the issue. How many LEDs are you using? What type of LEDs? What MCU? Have you made any changes to the code?

zombodotcom commented 7 years ago

I am using a wemos d1 mini ( and nodemcu) with 300 ws2812b LEDs. No changes to the code, powering the leds off of 2 18650s with a TP4056.

I have been using this sketch on a nodemcu for over a month with no issues with a wall 5v power supply. So I am guessing it's probably from the portable power setup.

jasoncoon commented 7 years ago

You might pull the latest and try again. I was seeing very intermittent resets. WDT reset is watch dog timer reset, which can happen if interrupts are disabled. I had disabled them in an attempt to fix intermittent flashing/stuttering. I might have improved/fixed it with commit 50aefd7d573f4af848990413b8ec08e4e8ea9c61.

jasoncoon commented 7 years ago

The latest commit will likely negatively impact battery life, though.