Closed The-Techy closed 1 year ago
What environment settings are you using?
Not thoroughly tested but with these settings I am able to run latest WLED:
[env:esp8266_4MB_min] extends = env:d1_mini upload_speed = 460800 ;115200 build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=esp8266_4MB_min -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_HUESYNC ; -D WLED_DISABLE_2D -UWLED_USE_MY_CONFIG
Or try the compiled bin for this. See here (MM version)
IMO faulty flash or incorrect flash mode. Use DOUT flash mode.
What environment settings are you using?
Not thoroughly tested but with these settings I am able to run latest WLED:
[env:esp8266_4MB_min] extends = env:d1_mini upload_speed = 460800 ;115200 build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=esp8266_4MB_min -D WLED_DISABLE_ALEXA -D WLED_DISABLE_BLYNK -D WLED_DISABLE_HUESYNC ; -D WLED_DISABLE_2D -UWLED_USE_MY_CONFIG
Or try the compiled bin for this. See here (MM version)
I've tried using both the precompiled versions, and compiling my own (pretty much just select the enviroment as d1_mini and don't change anything else)
IMO faulty flash or incorrect flash mode. Use DOUT flash mode.
How do you change the flash mode? I didn't realise there were different ones
using esptool (-fm dout
).
using esptool (
-fm dout
).
Sorry for the late response, I've been a bit busy. I don't use esptool, but in vscode I added board_build.flash_mode = dout
to the d1_mini env, which as I understand, should force it to use dout. I still get the same issue, it crashes a little slower now, but still crashes. Even tried updating it OTA with one of the precompiled bins, and still same issue. I've tried it on two boards now, both with the same issue. Could it be a faulty batch of boards?
Just tried uploading it onto a board I got a couple months before the others, same seller, and it has the exact same issue. I therefore don't think it's an issue with the boards, since they all run WLED 0.12.0 perfectly. Also tried an ESP32 (again, same seller), which also ran 0.12.0 absolutely fine, and the identical issue happened.
TLDR: Tried almost every board I have (all from same seller, different purchase times), all with same crashing issue. They all worked fine on 0.12.0.
Okay, just tried esptool with the exact same results. Even erased all the flash, didn't work. I can't even use AP mode, since it crashes there too. Really annoying.
Perhaps consider getting a new ESP from another seller, diffrent brand, different model, etc. 8266 costs $2 or thereabouts.
So, it appears as though I've been very stupid. I tried changing everything, cable, board, upload method, etc. EXCEPT, the device I was accessing the UI through! All this time I've been using my laptop to connect, but I tried my phone, and I can change the lights, no issue, without it crashing!
Now to figure out why my computer would disconnect every time. Any ideas?
After some more testing, it's definitely just macOS that's the problem. Through bootcamp, on the same machine, wled works fine, it's only in macOS. Also, I've tried multiple browsers, and a wled desktop app, all with the same issue. What could be causing macOS to do this?
Please close as this is apparently not a WLED issue after all.
What happened?
After installing a number of WLED version from 0.12.0 up, I simply cannot control the leds. I've tested on a couple ESP8266 boards with the same issue. AP opens, I connect it to wifi, can access it, can change number of leds etc. Then, as soon as I do anything, e.g. pick a colour or effect, the little dot in the bottom left corner goes red, it disconnects then reconnect a couple seconds later. The leds don't change. Happens every time, consistently, with different versions, methods of uploading/compiling, different boards, even when nothing is connected except usb. Really weird.
To Reproduce Bug
1.Install WLED (anything above 0.012.0), using any method (web installer, 3rd party web installer, compiling and upload through VSCode etc)
Expected Behavior
Should change leds, just like it does on 0.12.0
Install Method
Binary from WLED.me
What version of WLED?
All above 0.12.0
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
Anything else?
No response
Code of Conduct