logo elektroda
logo elektroda
X
logo elektroda

Flashing T103_V1.0 module, CPU: RTL8710BN with OpenBK7231T or ESPHome

setum 1158 8
ADVERTISEMENT
  • #1 21361792
    setum
    Level 5  
    I have this controller for Govee H61541A1 LED Strip Lights. The chip inside is T103_V1.0, this has W302 chipset, CPU is Realtek RTL8710BN. This chip & CPU is supported by LibreTiny.

    Close-up of an electronic module labeled T103_V1.0 with visible components on a PCB. Controller for Govee H61541A1 LED Strip Lights with visible T103_V1.0 board and Realtek RTL8710BN chip.

    I was wondering if anyone has flashed this chip with OpenBK7231T or ESPHome? I see a bunch of GPIO pads, so I am assuming flashing in-place should be possible, if not, de-soldering the chip should be easy enough. Any suggestion or input is valuable. There are only a handful mentions of this module online, one of them is from www.elektroda.pl

    Additionally there's a Bluetooth chip, Mic & IR Receiver on the controller. I see no use for Bluetooth, however can Mic & IR be utilized in openbk7231t.
  • ADVERTISEMENT
  • #2 21362052
    divadiow
    Level 34  
    Hello

    Mic is not currently supported in OpenBeken. IR is available on some platforms, but is used most extensively on Beken.

    RTL8710BN is not currently supported by OpenBeken. Only RTL8720CF has seen recent development.
  • #3 21362564
    setum
    Level 5  
    >>21362052
    Yeah, you are right! OpenBK7231T doesn't support this chip. ESPHome supports it, so I automatically assumed OpenBK7231T would too.

    So far I have not been able to connect to this chip via UART (trying to read the firmware). I followed the flashing instructions mentioned here. I have several ideas still left to try, I'll keep reporting. I don't have a heat gun, so can't remove the chip yet.
  • ADVERTISEMENT
  • #4 21362985
    setum
    Level 5  
    Good News! I was able to read flash using Itchiptool. Attached.

    I had to use the TX2/RX2 & CEN pins from the module directly. The PCB pins were only good for VCC & GND, see image. Then follow the following instructions to get the chip into download mode:
    - connect CEN to GND
    - connect TX2 to GND
    - release CEN from GND
    - release TX2 from GND
    Close-up of a PCB with clearly marked pins: CEN, TX, RX, and GND areas.

    But while analyzing the dump (attached), I get error: "File doesn't contain known storage area". Maybe I needed to do something else, not sure. I am new to this.

    I then flashed esphome-kickstart (kickstart-rtl8710bn-2023-12-15.uf2). However, it doesn't get past input Wi-Fi screen. It accepts the Wi-Fi credentials, connects to router, but the UI never shows up. The kickstart uses following esphome config:
    Quote:
    rtl87xx:
    board: generic-rtl8710bn-2mb-788k


    However, the documentation suggests to use the following:
    Quote:
    rtl87xx:
    board: t103-v1.0

    which when I used and compiled ESPHome locally. I was able to get a fully working ESPHome. Great. But now I don't know the pinout and can't use esphome-kickstart to figure it out.

    Someone help me figure out the pins! F1!F1!F1!
  • ADVERTISEMENT
  • #5 21363134
    divadiow
    Level 34  
    I've only ever really used OpenBeken I'm afraid. Easy Flasher extracts pin assignments from BK7231T and BK7231N
  • ADVERTISEMENT
  • #6 21364292
    divadiow
    Level 34  
    Edit: and actually AmebaZ2 backups
  • #7 21364320
    insmod
    Level 24  
    >>21364292 AmebaZ too, provided they are from tuya.
    The one from this topic is not tuya, so nothing to extract of course.
    I don't even know, what controls what there. Perhaps everything is controlled by tlsr, and wifi only acts as a relay between cloud and device itself. And if so, then i highly doubt the protocol is a TuyaMCU one.
    And looking at the module i see that TX and RX (not log ones) are wired to something.
  • #8 21365104
    setum
    Level 5  
    >>21364320
    yeah! This is not Tuya, some Govee custom firmware, no wonder pin extraction failed.

    You may be right about tlsr too. On the rear side PCB has 3 buttons (see image) to physically control the LEDs, they still work (although I can't confirm if they work as they did with the original firmware), which suggests to me that LED output is not dependent on or controlled through firmware.

    Disassembled LED controller housing with visible PCB and buttons.

    At this point, I think, it would make more sense to replace this with one of the generic LED RGB controllers from AliExpress. :(
  • #9 21372845
    JimmyBob
    Level 2  
    The 1.5KE36A is a unidirectional Transient Voltage Suppressor (TVS) diode designed to protect sensitive electronic equipment from voltage transients induced by lightning and other transient voltage events. It offers a peak pulse power dissipation of 1500W and a stand-off voltage of 30.8V. This component is suitable for safeguarding I/O interfaces, VCC buses, and other vulnerable circuits in telecom, computer, industrial, and consumer electronics applications. For detailed specifications and purchasing options, you can refer to the 1.5KE36A product page.

Topic summary

The discussion revolves around flashing the T103_V1.0 controller, which features the Realtek RTL8710BN CPU, used in Govee H61541A1 LED Strip Lights. Users inquire about the compatibility of OpenBK7231T and ESPHome for this chip. It is confirmed that OpenBK7231T does not support the RTL8710BN, while ESPHome does. One user successfully read the flash using Itchiptool but encountered issues with the firmware dump and flashing ESPHome, which did not function correctly. The presence of a Bluetooth chip, microphone, and IR receiver on the controller is noted, with the microphone not currently supported in OpenBeken, while IR functionality is limited. The discussion concludes with the suggestion to consider replacing the controller with a generic RGB LED controller due to the challenges faced.
Summary generated by the language model.
ADVERTISEMENT