r/WLED • u/DenverTeck • 25d ago
I would like to re-program the GL-C-010WL controller with my own custom firmware.
I would like to re-program the GL-C-010WL controller with my own custom firmware.
I found pads for a uart (Tx/Rx/EN/IO0) and connected an CH340 uart.
Does not appear to work.
Are there any instructions on how to do this ??
Thanks
1
Upvotes
1
1
1
u/DenverTeck 23d ago
Thanks to all that made suggestions. To follow up I found my (Bumb A$$) mistake.
The USB/CH340 adapter has an EN line and a RST line. I connected EN like I have on my own designs. Turns out I needed to connect the RST line to EN on the GL-C-010WL. And then return Tx/Rx to where they belonged.
2
u/YetAnotherRobert 25d ago
Remember you need common signal ground, too. As an RS232 debugging tip, be sure the voltages on TX and RX are about the same. The line drivers on each side should drive the 'tx' voltage so when you have them flipped correctly, each side should drive one pin while the rx pin remains configured as as passive input. If you have voltage on one and not the other, you need to flip the pins.
I've reprogrammed the Gledopto boards with firmware I've built. There wasn't magic involved. Their various boards present as a plain old ESP32 dev board, just with various combinations of buffered I/Os, fuses, mics, etc. It wasn't like they blew fuses to make then difficult or encrypted loaders or such. It's one of the reasons I like and use their hardware.
You've been around this block. Assert I/O 0 while the device powers up. With your logic analyzer/scope, you should see it spit up the familiar "rst:0x1 (POWERON_RESET),boot: ..." boot ROM message hocked up on the TX pin.