Repository navigation
Open
Labels
Description
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 anywayAnything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reacted by Etienne Trost
Reacted by Nadeem A
Pinned by softhack007
Pinned comment options
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 phy…
Activity
blazoncek commentedon Feb 4, 2023
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.
softhack007 commentedon Feb 4, 2023
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.
[-]ESP32-C6 is not supported[/-][+]ESP32-C6, -C2, -C5, -H2, -P4 etc are not supported[/+]cherrydev commentedon Mar 30, 2023
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.
blazoncek commentedon Mar 30, 2023
A project as big as WLED needs manpower to support various chips, not just development environment.
Any help would be appreciated.
softhack007 commentedon Mar 30, 2023
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.
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.
cherrydev commentedon Apr 1, 2023
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.
blazoncek commentedon Apr 1, 2023
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.
cherrydev commentedon Apr 2, 2023
I've been over to the NeoPixelBus repo and looking at Makuna/NeoPixelBus#598 it seems they're already looking into it.
[-]ESP32-C6, -C2, -C5, -H2, -P4 etc are not supported[/-][+]ESP32-C6, -C2, -C5, -H2, -P4 are not supported[/+]94 remaining items
netmindz commentedon Jul 4, 2026
A release is a long way off, but a work in progress dev build already exists @TimyIsCool
TimyIsCool commentedon Jul 4, 2026
@netmindz where can I find the dev builds as I didn't manage to build it locally when I tried a bit ago
softhack007 commentedon Jul 4, 2026
@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.
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.
softhack007 commentedon Jul 4, 2026
To give you a feeling of where we are: #4838 (comment)
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.
TimyIsCool commentedon Jul 4, 2026
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
djmaus-build commentedon Jul 5, 2026
@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
softhack007 commentedon Jul 5, 2026
@djmaus-build thanks for the feedback 👍
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 🤔
djmaus-build commentedon Jul 5, 2026
@softhack007
reboot wled ( first 1970 date ) after few min correct time apears
ewowi commentedon Jul 5, 2026
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
djmaus-build commentedon Jul 5, 2026
@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
softhack007 commentedon Jul 6, 2026
@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.
netmindz commentedon Jul 8, 2026
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
djmaus-build commentedon Jul 12, 2026
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 🫶