Skip to content

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

Closed

Description

@incarvr6

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

Activity

  1. incarvr6 commented on Jan 19, 2024

    @incarvr6
    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

  2. blazoncek commented on Jan 19, 2024

    @blazoncek
    Contributor

    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.

  3. added
    backburner
    board request
    on Jan 19, 2024
  4. incarvr6 commented on Jan 19, 2024

    @incarvr6
    Author

    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.

  5. blazoncek commented on Jan 19, 2024

    @blazoncek
    Contributor

    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.

  6. incarvr6 commented on Jan 19, 2024

    @incarvr6
    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.

  7. blazoncek commented on Jan 19, 2024

    @blazoncek
    Contributor

    Please close then.

  8. incarvr6 commented on Jan 19, 2024

    @incarvr6
    Author

    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.

  9. blazoncek commented on Jan 19, 2024

    @blazoncek
    Contributor
  10. incarvr6 commented on Jan 19, 2024

    @incarvr6
    Author

    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.

  11. blazoncek commented on Jan 19, 2024

    @blazoncek
    Contributor

    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.

  12. incarvr6 commented on Jan 19, 2024

    @incarvr6
    Author

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

  13. blazoncek commented on Jan 19, 2024

    @blazoncek
    Contributor

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

  14. mike-goldfinger commented on Feb 14, 2024

    @mike-goldfinger

    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.
  15. spacecdr commented on Mar 19, 2024

    @spacecdr

    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

  16. wga22 commented on Dec 10, 2024

    @wga22

    SOLVED:
    Please note that it is now possible to do a first-flash of the S2 Mini board by following these steps for the "first flash", the use OTA for subsequent updates (thanks to @janchrillesen):

    1. esptool.py erase_flash
    2. esptool.py write_flash 0x01000 S2_bootloader.bin
    3. esptool.py write_flash 0x08000 S2_partitions_4M.bin
    4. esptool.py write_flash 0x10000 WLED_0.15.0-b6_ESP32-S2.bin

    REF: #4241 / #3706

  17. skd2314 commented on Mar 16, 2025

    @skd2314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backburnerboard request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions