logo elektroda
logo elektroda
X

How to Restore Original Firmware on Tuya WiFi RF Smart Switch BK7238 After Flashing

gcormier 42 4
ADVERTISEMENT
  • #1 21723374
    gcormier
    Level 2  
    Purchased "Tuya WiFi RF Smart Switch AC 110V 220V 2CH Dry Contact Relay and 433MHz Wireless Remote Control work with Google Assistant, Alexa" from AliExpress, store was "Diese Remote Controller".

    How to Restore Original Firmware on Tuya WiFi RF Smart Switch BK7238 After Flashing

    Device is BK7238. There is also a PY32F002A onboard - it seems to handle all the RF functions (pairing with RF remote).

    P6 and P9 from BK7238 are digital outputs that toggle the relay on/off. (active=high)

    I made a firmware backup with `ltchiptool` before overwriting it incorrectly. Unfortunately it looks like ltchiptool cannot write the firmware back, so I cannot proceed any further with the old firmware.
    AI: What is your current goal—are you trying to restore the original firmware, flash a custom firmware, or just recover basic functionality on the device?
    Trying to make the device work.
    AI: Since discovering that ltchiptool cannot write the firmware back, have you tried any other flashing tools or recovery methods (e.g., UART/SWD access, other utilities), and if so, what were the results?
    Not yet.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 21723496
    gcormier
    Level 2  
    I tried - when adding the HEX it said unknown format :( I tried to flash anyway with no luck. I had to overwrite the bootloader to get success in restoring it to at least working with OpenBeken.
  • ADVERTISEMENT
  • #4 21723549
    divadiow
    Level 36  
    maybe it was a bad backup. feel free to send it me to try.
ADVERTISEMENT