logo elektroda
logo elektroda
X
logo elektroda

Tuya DIY Smart Switch T1-CHL AU5101XA Flashing Issues with OpenBK7238_QIO_1.18.247 Firmware

gparduino 57 2
ADVERTISEMENT
  • #1 21814579
    gparduino
    Level 2  
    I have 6 new generic Tuya DIY smart Switches with a
    Close-up of PCB with soldered wires labeled GND, RX, TX, 3.3V, and CEN
    T1-CHL AU5101XA chip and some unmarked pads on the bottom that I traced out and identified 3.3 V, GND, Tx, Rx, CEN.

    I am presuming that this is compatible with OpenBK7238_QIO_1.18.247 firmware (I tried several other ones in the repository).

    I've made some progress Screenshot from Tasmota app showing GPIO configuration in JSON format
    Bk7231 GUI Flasher window with JSON configuration displayed
    Bk7231N Easy UFlash Flasher app interface showing partitions and decoding log.

    Of course, there are no signs of life after this flash. No access point. No LED.

    I eventually was able to get some signs of life for two of the units by overwriting the bootloader, writing OBK settings for the WiFi network and then finding it on DHCP. The relay responds in the web GUI. The RF section, according to the web app, is all FF FF. The MAC addresses of those two switches were identical. Using the web app, OTA flash seems to work using the overwritten bootloader. GUI MAC change does not; AP access point does not work. "Restore the RF part" from the UART flasher writes a few lines before the rest which, for the most part, are all FF FF FF according to the web app, but the GUI now shows a new random MAC which then appears on the network properly. Didn't get to test MQTT.

    It seems that the offsets may be an issue or I'm completely wrong as to which firmware to use. Any insight on how to set up the flasher for the new offsets would be appreciated. Attaching the read file from a stock device.

    So the sequence that at least gets me a GUI on the network was to: flash the firmware, overwrite the bootloader, then flash OBK separately with WiFi credentials, then restore RF part, apparently not completely to the right place. Once I do this, I get a GUI only on the network and am unable to restore from backup.
    Firmware flashing tool interface for BK7231 with Write success! message visible

    OpenBK7238 interface showing OFF status and MQTT connection data
    FormOBKConfig configuration window with network and GPIO settings
  • ADVERTISEMENT
  • #3 21814854
    gparduino
    Level 2  
    I opened a second batch of switches with the same chip name, but these perform differently when flashing.

    Now the sequence: 1) "Backup and flash new" with OpenBK7238 v247 - "Automatically configure OBK on flash write", "Allow Backup restore", and don't overwrite bootloader. 2) Before doing that, "Change OBK settings for flash write" with the correct GPIO data - as automatic GPIO seems not to work. 3) Restore RF part. Works.

    All the stuff that didn't work on my last two units of hardware works well with this new batch.
    Tested: OTA update with .rbl file, access point, change MAC with GUI, MQTT. Wi‑Fi SSID changes.

    OpenBekenX setup interface with WiFi options and SSID field NaZdrowie

    Thanks for your reply.
ADVERTISEMENT