Skip to content
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

S2 mini support Use alternative Bootloader (S2 only) #3706

Closed
1 task done
incarvr6 opened this issue Jan 19, 2024 · 14 comments
Closed
1 task done

S2 mini support Use alternative Bootloader (S2 only) #3706

incarvr6 opened this issue Jan 19, 2024 · 14 comments
Labels
backburner low priority compared to other issues board request PR adding support for a specific board.

Comments

@incarvr6
Copy link

What happened?

Still not possible to install

To Reproduce Bug

Use alternative Bootloader (S2 only)

Expected Behavior

install

Install Method

Binary from WLED.me

What version of WLED?

sk6812

Which microcontroller/board are you seeing the problem on?

ESP32-S2

Relevant log/trace output

No response

Anything else?

Now that on https://install.wled.me/ for 14.1 there is new option Use alternative Bootloader (S2 only)
Still not possible to install

Code of Conduct

  • I agree to follow this project's Code of Conduct
@incarvr6 incarvr6 added the bug label Jan 19, 2024
@incarvr6
Copy link
Author

Now that on https://install.wled.me/ for 14.1 there is new option Use alternative Bootloader (S2 only)
Still not possible to install

@blazoncek
Copy link
Collaborator

Apparently there are several versions of S2 hardware and we cannot support all of them (as we do not have each and every development board there is).
Please research the capabilities on your own (for your hardware) and submit feedback and possible resolution.

@blazoncek blazoncek added backburner low priority compared to other issues board request PR adding support for a specific board. labels Jan 19, 2024
@incarvr6
Copy link
Author

incarvr6 commented Jan 19, 2024

This is the board in question: https://www.wemos.cc/en/latest/s2/s2_mini.html Market is flooded with them.
At least there is some progress for ESPhome, it is possible to flash them with esptool. https://community.home-assistant.io/t/esp32-s2-and-esphome-upload/382885/68
I tried to flash WLED S2 bin similar way but it didn't work.

@blazoncek
Copy link
Collaborator

This is the board in question: https://www.wemos.cc/en/latest/s2/s2_mini.html Market is flooded with them.

I have that particular board myself and it is working flawlessly once bootloader, partition map and WLED firmware are uploaded to it. Please research your flashing procedure and use esptool.

@incarvr6
Copy link
Author

Using Tasmota https://tasmota.github.io/install/ use device Tasmota32-CDC (dfu mode) i was able to flash it, then after connecting to network running OTA update with wled s2 bin file, now it is finally flashed WLED!!!! I haven't try to connect LED's yet but at least finally it is running WLED.

@blazoncek
Copy link
Collaborator

Please close then.

@incarvr6
Copy link
Author

incarvr6 commented Jan 19, 2024

Well even if i found solution for workaround flashing from https://install.wled.me/ still doesn't work, even after flashing with Tasmota, still: Failed to initialize. Try resetting your device or holding the BOOT button while clicking INSTALL.
Same is with esptooll, after flashing it is not working, i suppose problem is with bootloader, partition map.

@blazoncek
Copy link
Collaborator

As noted above experiment with flash options and flashing procedure. Not WLED firmware issue.
https://docs.espressif.com/projects/esptool/en/latest/esp32s2/esptool/flash-modes.html

@blazoncek blazoncek removed the bug label Jan 19, 2024
@incarvr6
Copy link
Author

incarvr6 commented Jan 19, 2024

Bug is still on https://install.wled.me/ it is not recognising initializing S2 board! Firmware works, but only if installed on Tasmota flashed device. If they could make web flasher work then wled should be able to do as well.
For esptool it is not documented which bootloader to use and how to set partition map.

@blazoncek
Copy link
Collaborator

Open an issue on installer repo, not here.

esptool is official Espressif tool for flashing. You need to provide correct bootloader and correct partition map for your board.
PlatformIO does that for you if you compile yourself.

As a matter of fact, the alternate bootloader on https://install.wled.me was provided by PlatformIO and was tested by several users (including me) to work correctly.

@incarvr6
Copy link
Author

Since S2 firmware it self is operational i'm closing this

@blazoncek
Copy link
Collaborator

You may want to try lowering flash speed from 80MHz to 40MHz.

@mike-goldfinger
Copy link

I was able to successfully flash WLED_0.14.1_ESP32-S2.bin on my ESP32-S2 (ESP32-S2FNR2 (revision v1.0)) device by following these steps:

  1. Installed release Tasmota32-cdc via https://tasmota.github.io/install/
  2. Connected to the TasmotaXXXX Access Point.
  3. Configured WLAN to my Access Point.
  4. Downloaded WLED_0.14.1_ESP32-S2.bin and flashed it via the Tasmota web UI using "Upgrade by file upload".
  5. Connected to the WLED-AP.
  6. Configured WLAN to my Access Point again.

@spacecdr
Copy link

Mine exactly by:
esptool.py --port /dev/cu.usbmodem01 --before no_reset --after no_reset --baud 115200 --chip esp32s2 write_flash 0x0 tasmota32s2cdc.factory.bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backburner low priority compared to other issues board request PR adding support for a specific board.
Projects
None yet
Development

No branches or pull requests

4 participants