-
Notifications
You must be signed in to change notification settings - Fork 639
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
Software Watchdog. Fatal exception:4 flag:3 (SOFT_WDT) reboots. #2104
Comments
Can you also attach resulting .elf and .bin from BMX build? |
I don't always have a
|
build.zip |
Ok. I had a similar module already set up with august's build which I two-step upgraded just now. Hopefully something breaks. btw stack decoding is busted in current version :/ I need to rewrite the output to fit the serial output that the tool expects and simplify c/p. |
Hopefully you'll see something within two hours.
|
I have tried to look at the information you posted about stack decoding. I'll have to set some time aside to get my head around how to do it! I have found 'decoder.py' in: Let me know if you want to try the stack decode and I'll see what I can get. Cheers. |
I have also just had a HARDWARE WATCHDOG reboot. No
|
HW WDT can be pretty much anything since it is like a cold boot situation, no stack trace is preserved from when the exception happened. |
I guess 'FACTORY RESET' does more than |
|
I've run it. Should the configured WiFi be removed and the device revert to AP mode? |
With the SWA1 device, I've reverted back to my previous firmware. It's been stable now for going on 3 hours. The sonoff device has reset more than once. I've just checked 10 of my other devices and they are working fine with a >3 days uptime. The only difference with the two failing ones are they are connecting to a WiFi AP which is local to where these devices are located. Maybe there is a conflict between core 2.6.3 and the AP? When I get a chance, I'll try with that AP off, although the signal will be weaker. |
No crashes for far, I'd start to think about blaming the specific AP that you started using, but... edit:
edit2: For reference:
|
The AP has been in use for quite a while and espurna didn't have issues with it on previous builds. I'll try a different AP first and see what that does and look to build some SDK variants when time allows. |
I left the SWA1 on I then replaced the DIR-615 with another HH4 in AP mode locally. Both devices stayed connected for at least 3 hours without issue. They were defiantly connected to this AP as their strength was now around -54dBm. I reinstated the DIR-615, ran the SWA1 on For whatever reason, it looks like the newer SDK Are there any other tests you would like me to try before reverting back to current latest versions of the SDK? |
Probably, yes. Any identifiable markings on DIR-615? (...or internals photo with chip names?) At this point you can try out later revisions, 191105 and 191122? Just to note about SDK 3.0.0. - has incompatible flash layout with older versions, so downgrading after it will very likely break wifi connectivity completely. No other configuration test change come to mind. |
Sorry, when I said latest version of SDK, I meant the one set by default for the 2.6.3 core (2.2.2-dev(38a443e)). I have tried 191105 and 191122 and both are having the reboots with the DIR-615. 191122 seemed to reboot sooner for some reason. WRT #2064, I installed the HH4 locally (in the same room as the two devices - the shed) leaving the SWA1 on 1.13.6 dev and Sonoff_BMX on 1.14.1 SDK191122. The SWA1 connected to a lower signal AP and over an hour later is still connected with a -87dBm signal, even though an AP with the same SSID/password is now available. Pressing 'Scan Now' in the WiFi UI shows the 3 APs I have, and their signal levels, but the device stays on the one it was connected to before the stronger signal was available. Pressing the |
The DIR-615 is H/W: D4 P/N: . Although its a router, I was running it in |
Re: "WRT #2064" I tried some different wireless hw and still not seeing any crashes. Only bug so far with sort-of recent Core versions is memory exhaustion from UDP, but I think that is solved with esp8266/Arduino@3e6c25c (2.6.3+) |
Both devices running 2.6.3 core (2.2.2-dev(38a443e)) have been up now for 4 days with the BT HH4 acting as WiFi access point instead of the DIR-615. I'll close this issue as it seems the issue I had was related to external hardware. Thanks for your help. |
I have recently upgraded all my devices to 1.14.1 core 2.6.3. Two devices (SWA1 and Sonoff Basic) keep rebooting due to, I believe, the Software Watchdog timer. They were both fine on version 1.13.6-dev core 2.5.2 and had an uptime of 90 days before upgrading. The uptime seems to vary and the devices reconnect to WiFi/mqtt and work, but the relay output turns OFF after the reset (as configured in the 'SWITCHES' section).
Does the following help point to a particular reason why the Watchdog timer is being triggered?
SWA1
Sonoff
The text was updated successfully, but these errors were encountered: