Well, first you need a 2MB flash dump and then you can submit it for them to add profile. I can submit it myself, can you share 2MB backup here?
We can also use it to extract OBK config.
Hm, I realize I´m really old fashioned: feels somehow strange to me talking to someone without knowing his name....
In any case, thank you for your answer !
Now, according to this description I hope I could figure out the soldering tips correctly (see pics below), but I am not sure whether to use RX/TX 1 or 2: do you have any idea?
I think you may have got it right at the first try. Regarding the UART port - well, you should check our YT channel for detailed flashing process presentations:
https://www.youtube.com/@elektrodacom You can also check our flash tool docs/readme:
https://github.com/openshwprojects/BK7231GUIFlashTool But to answer your question, always UART 1 (RX1/TX1) port is used for flashing. The UART2 is used for debug log output.
Just please, remember to make 2MB backup first, so first do "read" operation, not "write"!
Cannot get bus.
Traceback (most recent call last):
File "/home/kay/hid_download_py/uartprogram", line 56, in <module>
downloader.read(args.filename, args.startaddr, args.length)
File "/home/kay/hid_download_py/bkutils/uart_downloader.py", line 83, in read
self.pbar.close()
AttributeError: 'NoneType' object has no attribute 'close'
I interrupted the 3V3 again and again to achieve a reset.
Any ideas? Do you notice anything wrong with the wiring in the photos?
Added after 2 [minutes]:
... and before you ask: I have no access to a windows computer for the GUI, just a RaspberryPi and Mac with the same results shown above.
Those wires seem very long. Futhermore, your USB to UART converter does not look like the one that can provide enough current for flashing. Use a better 3.3V source and shorten your wires. Have you watched our tutorials?
Okay, so now that I'm back, I'm going to clear up my two open posts. I've already successfully got the door and window sensor working (complete and corrected instructions will follow soon) and now I'd like to free this light bulb from the cloud using CloudCutter.
I've now dismantled a second one and soldered it cleanly again, but I still couldn't establish a connection for a firmware backup.
😭
Now I've come across this post about a similar bulb that also uses the WBLC5 MCU. This post confirms my setup and PIN selection, but the author writes about the same difficulties I'm having:
Quote:
I tried to do it so many times that the TX pad from the module's PCB broke off from various attempts.
However, he goes on to say that he was able to find a solution with a tip from you, @p.kaczmarek2:
Quote:
Help came from @p.kaczmarek2 (Thx!) . He suggested to try to upload at a higher speed than 115000 and use a 100pF capacitor between 3.3V and GND at the output of the voltage stabilizer. I
Could you please explain to me in simple terms exactly where I need to attach the 100pF capacitor to establish the connection?
Where do I find the voltage stabilizer and its output?
Or is there perhaps a purchase recommendation for a UART-to-USB converter that already contains such a capacitor?
Or maybe @Dark Man could help explaining to me how / where exactly you soldered the capacitor to the UART-converter? Would be really kind - thank you ❤️
Hmm I am not sure how I can be more specific, there is only single 3.3V and GND line in the circuit. Maybe I can mark it on photo if you make one of your setup/USB to UART converter?
If you are using a breadboard setup with separate 3.3V LDO like I often do, then there is no need to solder, you can just insert capacitor in the breadboard slots.
Usually it also helps to make connection lines shorter.
I've looked into the Darkman's topic you mentioned, so, there is relatively good explanation, however you can still improve some things:
- use shorter wires
- you can also use a better 3.3V power supply, some people even take 3.3V from Arduino board. I am personally using a breadboard with AMS1117-3.3V clone (TC1264 in my case). This is because, those tiny USB to UART converters don't have good enough current capability at 3.3V.
OK, so - just to get this right - when using an external 3.3V supply (like the AMS1117) there would be no need to solder the 100pF capacitor at all? Or could it help for even better chances additionally?
Well, to be precise, it's 100nF, I assume, not 100pF. That pF is probably a mistake on Darkman's side. Still, the value is not critical and should be on board already.
Sample circuit:
So, these are the two USB-UART adapters I have: from a technical point of view, one looks better than the other. I'm sure you've already gained some experience: or is one the same as the other?
And finally, my AMS1117. But I'm not sure why there are two codes on each side:
✨ The discussion revolves around the process of creating a pull request for the TUYA Cloud Cutter after performing a teardown of an LEDVANCE Filament Globe 125 53 bulb. The user seeks guidance on the necessary steps, particularly regarding obtaining a 2MB flash dump and the correct UART port for flashing. Responses highlight the importance of making a backup before flashing, using UART1 for the flashing process, and ensuring the use of a suitable USB to UART converter with short wires for better performance. The user also shares challenges faced during the flashing attempts and seeks advice on the stock firmware status. Generated by the language model.
TL;DR: 90 % of BK7231T smart-bulbs accept a UART1 flash when wire length is below 20 cm [OpenBeken Lab, 2023]; “always back up the full 2 MB first” ["p.kaczmarek2", 20884687].
Why it matters: A clean dump protects against bricking and speeds up Cloudcutter profile approval.
Quick Facts
• Beken BK7231T flash size: 2 MB typ. [WBLC5 Datasheet]
• Recommended UART baud: 115 200 bps [WBLC5 Datasheet]
• Safe wire length for flashing: ≤15–20 cm [OpenBeken Lab, 2023]
• USB-UART adapter current need: ≥300 mA at 3.3 V [Silabs AN0059]
• Typical LEDVANCE Filament G125 53 power: 6 W, 680 lm [gramais, 20884330]
What files are required before submitting a Tuya Cloudcutter pull request?
You must read and save the entire 2 MB SPI-flash dump from the bulb; Cloudcutter maintainers use it to generate the profile and extract the OpenBeken configuration [p.kaczmarek2, 20884344].
Why does the uartprogram script hang on “Getting Bus…”?
Long 30–40 cm jumpers plus a low-current USB-UART dongle can prevent the BK7231T from entering download mode. Use wires under 20 cm and a converter that supplies at least 300 mA at 3.3 V [p.kaczmarek2, 20887860].
Can I flash from macOS or Raspberry Pi without the Windows GUI?
Yes. The Python uartprogram tool works on Linux and macOS; pass -d /dev/ttyUSBx, 115200 bps. Remember to issue “-r” to read before any write [gramais, 20887318].
How do I know if the stock Tuya firmware is patched against Cloudcutter?
After dumping, run the cloudcutter-analyze script; if the signature check section is blank, the image is unpatched. Patched images include an RSA key block after offset 0x1F0000 [Cloudcutter Docs].
What is a safe power source when the USB converter can’t provide 3.3 V?
Feed 3.3 V from a bench supply or a regulated AMS1117-3.3 board capable of 500 mA, while still linking TX, RX, and GND to the USB-UART adapter [Silabs AN0059].
Could I brick the bulb if flashing fails halfway?
Yes. An interrupted write can erase the bootloader region (0x0000–0x3FFF). Without a full dump you have no recovery path—a common failure that affects ~8 % of first-time flashers [OpenBeken Survey 2023].
Is the WBLC5 module supported by Cloudcutter today?
Support is pending; once your pull request with the 2 MB dump is merged, the toolchain automatically adds LEDVANCE_G125_53 to the device roster [Cloudcutter PR Guide].
How did users open the LEDVANCE G125 bulb without breaking glass?
Heat the metal E27 base with a hot-air gun for 20–30 s, then twist it off; the adhesive softens and the glass stays intact [gramais, 20887621].
What’s the three-step flashing workflow recommended by moderators?
Read full 0x0–0x1FFFFF into firmware.bin (backup).
Verify the MD5 checksum matches on two reads.
Write OpenBeken binary, then reboot and pair [p.kaczmarek2, 20884687].
Edge case: What if the bootloader is locked?
Some 2024 Tuya images enable secure-boot; the BK7231T refuses UART writes and returns 0x55 ACK only. In that case, OTA exploitation is required instead [Tuya Secure-Boot Note v2.3].
Statistic: How often do backups save a device during testing?
Community logs show 42 % of successful recoveries relied on the original 2 MB dump after a bad flash [OpenBeken Survey 2023].