Skip to content

ESP32-C6, -C2, -C5, -H2, -P4 are not supported (yet, WIP) #3078

Open

Description

@Enelar

What happened?

Unable to flash WLED firmware to ESP32-C6-DevKitC-1 v1.1

To Reproduce Bug

Just try to flash wled firmware to any ESP32-C6 chip

Expected Behavior

I guess we need two versions of firmware

Install Method

Binary from WLED.me

What version of WLED?

WLED_0.14.0-b1

Which microcontroller/board are you seeing the problem on?

Other

Relevant log/trace output

[user@user-nvme esp32]$ sudo esptool.py --no-stub write_flash 0x1000 ./esp32_bootloader_v4.bin 
esptool.py v4.4
Found 2 serial ports
Serial port /dev/ttyS4
Connecting......................................
/dev/ttyS4 failed to connect: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-C6
Chip is ESP32-C6 (revision v0.0)
Features: WiFi 6, BT 5
Crystal is 40MHz
MAC: 60:55:f9:f6:a2:bc
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00010fff...
Erasing flash...
Took 0.29s to erase flash block
Wrote 65536 bytes at 0x00001000 in 0.6 seconds (900.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
[user@user-nvme esp32]$ sudo esptool.py --no-stub write_flash 0x10000 ./WLED_0.14.0-b1_ESP32.bin 
esptool.py v4.4
Found 2 serial ports
Serial port /dev/ttyS4
Connecting......................................
/dev/ttyS4 failed to connect: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-C6
Chip is ESP32-C6 (revision v0.0)
Features: WiFi 6, BT 5
Crystal is 40MHz
MAC: 60:55:f9:f6:a2:bc
Enabling default SPI flash mode...
Configuring flash size...
Unexpected chip id in image. Expected 13 but value was 0. Is this image for a different chip model?

A fatal error occurred: ./WLED_0.14.0-b1_ESP32.bin is not an ESP32-C6 image. Use --force to flash anyway

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Pinned by softhack007

Activity

  1. blazoncek commented on Feb 4, 2023

    @blazoncek
    Contributor

    Correct observation.
    There are no plans to support C6 at the time as C3, S2 and S3 are still in early experimental phase, not yet ready for production use. And those are older, more mature chips.

  2. added
    backburner
    on Feb 4, 2023
  3. softhack007 commented on Feb 4, 2023

    @softhack007
    Member

    Similar for other very brandnew chips: -C2, -C6 , -C61, ESP32-H2, -H4, or ESP32-P4, or -C5.

    To put it into some context - market availeability of ESP32-C6 was announced just 3 weeks ago on Jan 6, 2023. Knowing espressif, I bet it will take at least 2 years until stable development environments and open source libraries are ready for any "serious use" on -C6.

    We should put it on the backburner, until stable support is availeable from the core libraries we need, for example:

    For now, we have enough troubles to make -S3/-S2/-C3 work. So don't expect support for other new models this year.


    Important

    UPDATE January 2026: there is some experimental support for esp32-c6, esp32-c5 and for esp32-p4 "in the making". We expect to have first WLED "experimental" -C6 binaries middle of the year. Current work-in-progress:

    If you're interested to help - scroll down for more information on teams and repositories.

  4. changed the title [-]ESP32-C6 is not supported[/-] [+]ESP32-C6, -C2, -C5, -H2, -P4 etc are not supported[/+] on Feb 4, 2023
  5. cherrydev commented on Mar 30, 2023

    @cherrydev

    Supporting those newer chips requires updating to the esp-idf v5.1. From what I've seen, the migration documentation is pretty good. A potentially valuable bonus is that some of the newer chips, like the S3, now support DMA over the RMT interface. From my experiments, enabling DMA reduces the CPU usage during a transmission to 0.01% compared to about 18% using PIO. I believe this would also reduce the chances of a rogue interrupt causing a glitch proportionally. I'm not sure if this project bumps up into those limits or has a problem with interrupt-caused glitches, but if so, that might be another reason to consider it.

  6. blazoncek commented on Mar 30, 2023

    @blazoncek
    Contributor

    A project as big as WLED needs manpower to support various chips, not just development environment.
    Any help would be appreciated.

  7. softhack007 commented on Mar 30, 2023

    @softhack007
    Member

    Supporting those newer chips requires updating to the esp-idf v5.1

    Sorry, but what you propose is not enough for WLED. We have a long list of dependencies, including (but not limited to) arduino-esp32, and NeoPixelBus.

    All dependencies (libraries / frameworks that we use with WLED) need to be upgraded to support new chips. For some (like NPB) explicit support must be added by developing new code. it's not just about dropping in a new framework, then be happy.

    I fully concur with @blazoncek - any real help (personal commitment for coding & testing) would be much appreciated.


    From what I've seen, the migration documentation is pretty good

    Edit: Not sure about quality of the migration document, it is definitely "pretty big" . Espressif announces a huge number of "breaking changes", some important APIs were either deprecated, or already replaced with something completely other. It means a lot of work to go from esp-idf 4.4.x to esp-idf 5.1.

  8. cherrydev commented on Apr 1, 2023

    @cherrydev

    I'm not a user of WLED but also write LED drivers for ESP32, and I'm not making requests, demands or suggestions that you do anything at all. I was sharing information I'd learned about the new features in ESP-IDFv5 that might be relevant to someone else writing LED driver code on ESP chips, since it offers a significant performance improvement. I was excited by my discovery and thought the people working on this project would be too. Your project is impressive and I hope you find the help you're looking for.

  9. blazoncek commented on Apr 1, 2023

    @blazoncek
    Contributor

    Thanks for your willingness to share.
    Unfortunately we do not write LED (or any other) drivers ourselves but reuse existing @Makuna 's excellent NeoPixelBus.

    As such there is (almost) nothing (apart GPIO numbers related stuff) in WLED core code that is chip specific. Libraries as NeoPixelBus or LittleFS and AsyncWebServer are the ones that would need to add support for the above mentioned chips before WLED can support them as well

    Though some usermods may use particular HW but those are optional and not all support every chip.

  10. cherrydev commented on Apr 2, 2023

    @cherrydev

    I've been over to the NeoPixelBus repo and looking at Makuna/NeoPixelBus#598 it seems they're already looking into it.

  11. pinned this issue on Dec 16, 2023
  12. changed the title [-]ESP32-C6, -C2, -C5, -H2, -P4 etc are not supported[/-] [+]ESP32-C6, -C2, -C5, -H2, -P4 are not supported[/+] on Dec 16, 2023
  13. 94 remaining items

  14. netmindz commented on Jul 4, 2026

    @netmindz
    Member

    A release is a long way off, but a work in progress dev build already exists @TimyIsCool

  15. TimyIsCool commented on Jul 4, 2026

    @TimyIsCool

    @netmindz where can I find the dev builds as I didn't manage to build it locally when I tried a bit ago

  16. softhack007 commented on Jul 4, 2026

    @softhack007
    Member

    @TimyIsCool "dev" = for developers, there are no official builds of the V5 branch.

    However you can find some experimental binaries in the "WLED CI" builds section of PR #4838.

    Open PR #4838, then scroll down to very bottom, and expand the "checks" section.

    Image

    Click on a the title that matches your hardware, then click on "summary" and scroll down to "Artefacts".

    Inportant: these are highly experimental firmware binaries. If we say "a release is long way off", we mean it.

  17. softhack007 commented on Jul 4, 2026

    @softhack007
    Member

    To give you a feeling of where we are: #4838 (comment)

    • Effects, segments, presets: working
    • Overall UI: working
    • network APIs: /json, http/xml, websockets: seem to work, but need more testing.
    • PSRAM support: working
    • Wi-Fi: generally works, also on P4 with -C6 wifi coprocessor.
    • OTA update: unstable, does not work on all chips
    • WLED sync (UDP): unstable
    • DDP, Art-Net, E1.31 input/output: untested, maybe it works.
    • Audiorective: not ported yet
    • DMX: not working
    • NTP time: broken on -C5, may or may not work on C6 and P4
    • C5 5Ghz Wi-Fi: seems to work, but sometimes crashes on reconnect
    • P4 Ethernet: not implemented yet
    • IR : not working
    • MQTT: not working
    • Alexa: may work (untested)
    • Relay control and physical buttons: seem to work, needs more testing
    • most usermods: not working
    • ESP-NOW sync and remotes: not working.
    • ESP-NOW technically not possible on -P4.
    • MATTER-over-wifi: some experiments / proof of concept look promising. However you need a board with 8MB or 16MB flash - the espressif matter core is really huge.
    • Matter-over-thread: not supported by the tasmota framework
    • OpenThread: not supported by the tasmota framework
    • ZigBee: causes horrible performance degradation on Wi-Fi. Experiments abandoned, however @netmindz has created a standalone zigbee-to-wled gateway firmware (experimental)
    • analog LEDs: broken, incompatible driver needs a complete re-write
    • digital LEDs: one output pin usually works OK, multiple outputs not possible yet on some boards.

    Edit: if you feel tempted to "ask an AI to fix it" - forget that idea. We had some attempts in the past, and they all made problems worse not better. It seems that supporting the "new" MCUs (C5,C6,P4) needs real software engineering done by human 😅 devs.

  18. TimyIsCool commented on Jul 4, 2026

    @TimyIsCool

    I have been using a build from the previous PR and has worked fine on my C6 with little issues, mainly with ledfx with UDP
    I'll try the newest build on another C6 so I don't break my current setup

    Also for zigbee wouldn't it make most sense to only use zigbee instead of both zigbee and wifi on the C6 as with home assistant it would be ideal for me to use it in a zigbee only mode as my mesh extends further than my wifi if that would be possible down the road
    I do have several C6 8 & 16mb boards which I can do testing on once I get more strips to use

  19. djmaus-build commented on Jul 5, 2026

    @djmaus-build

    @softhack007 Confirm working parts

    V5 build v17.0.0-dev to my 2 esp32-C5( 4mb ) boards
    Test UDP works ,Sync Works
    Artnet input and output works
    DDP input and output works
    E1.31 input and output works
    wifi is stable here ( 5Ghz ) but !!!! ( router settings above 40Mhz bandwidh give higher ping and drops ,so keep in mind)
    NTP time server works
    UI works as expected

    next i wil test the C6

  20. softhack007 commented on Jul 5, 2026

    @softhack007
    Member

    @djmaus-build thanks for the feedback 👍

    NTP server works

    This is really strange, are you sure? Because I've explicitly disabled NTP on the C5, to prevent crashes that happened regularly when an NTP packet arrived. If you see the correct time, it might be that wled has extracted the time from UI mouseclicks that carry a timestamp 🤔

  21. djmaus-build commented on Jul 5, 2026

    @djmaus-build

    @softhack007
    reboot wled ( first 1970 date ) after few min correct time apears

    Image
  22. ewowi commented on Jul 5, 2026

    @ewowi

    Edit: if you feel tempted to "ask an AI to fix it" - forget that idea. We had some attempts in the past, and they all made problems worse not better. It seems that supporting the "new" MCUs (C5,C6,P4) needs real software engineering done by human 😅 devs

    I had three failed attempts to setup a 100% ai driven repo but current attempt (https://github.com/MoonModules/projectMM) builds everything

    All on idf 6.1 , no arduino, no libraries

    eg the new s31 totally setup by robots

    Didn't get Esp32 p4 with copro c6 to work, but just logged it to espressif (espressif/esp-idf#18759 (comment))

    But this will only work if you have a platform abstraction layer, non trivial unit and scenario test
    , including real live device tests (flash, crash, examine, fix cycles)

    That was why I need to rebuild from scratch, to allow these tests fully hooked in, was not possible on MoonLight

  23. djmaus-build commented on Jul 5, 2026

    @djmaus-build

    @softhack007 confirm working parts
    V5 build v17.0.0-dev on the esp32-C6 ( 4mb )

    wifi works
    Test UDP works , ( receive correct ledmaps and visual to leds output)
    Sync Works
    Artnet input and output works ( ledmaps respect not working )
    DDP input and output works ( ledmaps respect not working )
    NTP think is working as above it automaticly update time

    Happy to help
    for testing i have ,
    esp32-C5( 4mb) multiple
    esp32-C5 8R8 ( Original Espressive ) multiple
    esp32-C6 ( 4mb ) multiple
    esp32-P4 eth 360Mhz 2pcs
    wt99P4C5 2psc
    @softhack007 to prevent lots of comments here please mail me directly

  24. softhack007 commented on Jul 6, 2026

    @softhack007
    Member

    @softhack007 to prevent lots of comments here please mail me directly

    @djmaus-build I'm going to create a new issue ticket for status / testing / feedback on the new MCU development. I think that's the best solution for making sure that feedback stays visible, while we can avoid creating too much "low quality noise" in this thread. That's still better than starting direct email communication - other maintainers must be able to see such infos, too.

  25. netmindz commented on Jul 8, 2026

    @netmindz
    Member

    Also for zigbee wouldn't it make most sense to only use zigbee instead of both zigbee and wifi on the C6 as with home assistant it would be ideal for me to use it in a zigbee only mode

    This doesn't make much sense as ZigBee basically gives you only a single RGBW pixel to play with. Allowing things like Hue to turn on and off, adjust brightness etc is nice, but you can't really make full use of WLED with only ZigBee and trying to use in dual mode makes WiFi so slow and laggy to be almost unusable

  26. djmaus-build commented on Jul 12, 2026

    @djmaus-build

    Hi beautiful builders of wled
    Any idee if there is a update for the second led output to get working on the esp32c5 ?

    Many thanks 🫶

  27. unpinned this issue on Oct 3, 2026
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

    board requestenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions