How do I flash a Tuya night light with a BK7231N CBU module without desoldering the module?
Flash it through the accessible CBU pins on the PCB, without removing the module. The device exposes all needed pins for in-place flashing. Use the CBU pinout image from the teardown, then connect the flashing interface to the module pads. Keep power stable during the write.
- Open the night light and locate the CBU module pads.
- Connect the required serial flashing pins without desoldering CBU.
- Flash OpenBeken, then assign GPIO roles from the mapped pin list. [#20604874]
Comments
Thank you for a very detailed review. I wasn't aware about the PIR setting. Can you provide us two more things for analysis? First, a Tuya Config partition file, extracted like on the tutorial: https://www.youtube.com/watch?v=WunlqIMAdgw&ab_channel=Elektrodacom And... [Read more]
Hi, now, I have made some changes. - translated to english - added some more necessary files - PWM-pins changed from 0-4 to 1-5 - pins explained - Tuya-config added here are only the PWMs... [Read more]
The Pin9 is present in the JSON, it was just not converted to text (not listed on human-readable interpretation) "pirin_pin":"14", "pirsense_pin":"9", ... [Read more]
Hi, thank you for your answer. Pin 9 is found - Ok. But can you give me the information, how "tuya" this pin uses. PWM or 0/1 ? Andreas [Read more]
I have no idea how is this pin used. This is totally new to me. As I said, your device is a new thing for me and I will later improve my flasher to extract GPIO specified in your Tuya partition. You... [Read more]
https://github.com/OpenBekenIOT/webapp/commit/475cfcdfbcdd7e214667e612cbc7ab977c7db97a [Read more]