logo elektroda
logo elektroda
X
logo elektroda

Flashing OpenBK7231N Firmware on BSEED 3G Wall Switch (T34 Tuya Module)

techathome21 2532 9
ADVERTISEMENT
  • OpenBK7231N flashing steps for BSEED 3G switch

    #1 21103752
    techathome21
    Level 5  
    Posts: 3
    Help: 1
    Rate: 2
    Modern BSEED wall switch touch panel with three buttons.

    Image of a circuit board with labeled pins: 3V3, GND, Rx, and Tx.

    This is topic for 3Gang version, see 1 gang version here

    The image shows a 3G switch, but the pins are the same (1G, 2G, 3G, Curtain), above 1G you have to lift the button, it is glued, to access the Rx and Tx Pins (P10 P11).


    If you have issues, please swap Rx/Tx connections


    1. Open BK7231Flasher e select your com Port.

    2. Select your BIN file (BK7231N) and flash.

    3. When it shows that it's waitin for CEN, remove the 3,3V jumper cable and then reconnect. (without removing the TTL Serial adaptaer from USB)

    4. The flash should start and after about 20 secs it's finished.

    Module Configuration

    Code: JSON
    Log in, to see the code
  • ADVERTISEMENT
  • #2 21103838
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14755
    Help: 659
    Rate: 12881
    Thanks, I've added a link to 1 gang version to the post, because this at first confused me and I assumed it may a duplicate, while it's not. It's just a 3G version of previous switch:
    https://www.elektroda.com/rtvforum/topic4057517.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • Helpful post
    #4 21403173
    MrGenius
    Level 7  
    Posts: 9
    Help: 3
    Rate: 6
    No need to tear off the white pad.
    You can prick with a needle from the backside of the circuit board into the corresponding soldering eyes.
    Close-up of a circuit board with red arrows indicating solder points.

    I flashed multiple of them this week, without any soldering.
  • ADVERTISEMENT
  • Helpful post

    Motherboard version and OpenBK7231N template pins

    #5 21818324
    pierdata
    Level 6  
    Posts: 5
    Help: 1
    Rate: 1
    Another version of the motherboard:
    Glass panel with three illuminated touch buttons in circular shapes

    Back side of a smart wall switch showing technical specifications and wiring.

    Blue PCB with surface-mounted components and integrated circuits

    PCB board with three buttons and labeled pins TX, RX, GND, and 3.3V.

    template:
    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "BK7231N",
      "board": "TODO",
      "flags": "64",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "6": "Btn;1",
        "7": "WifiLED_n;0",
        "8": "Btn;2",
        "9": "LED;0",
        "10": "Btn;3",
        "20": "Rel;2",
        "22": "Rel;3",
        "24": "Rel;1"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/3967468400_1769265421_thumb.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=21818324#21818324"
    }
    


    Regards
    prucho
  • ADVERTISEMENT
  • #6 21859416
    kajaba
    Level 2  
    Posts: 3
    >>21818324 Hello, I have the same version but with 2 gangs. I don't see any CEN pad. How did you flash the switch? After initiating the flashing, did you disconnect and reconnect 3.3 V? Or any other method? Because I have a problem flashing it.
    Thanks
  • #7 21859491
    pierdata
    Level 6  
    Posts: 5
    Help: 1
    Rate: 1
    kajaba wrote:
    did you disconnect and reconnect 3.3 V?

    Yes.
    I haven't checked if the CEN pin is available. Just press flash and then connect power to the 3.3 V pin.

    Regards,
    prucho
  • #8 21860157
    kajaba
    Level 2  
    Posts: 3
    >>21859491 I can't figure it out. I am using Arduino to flash (not some separate HW). I used this method to flash ESP of various chips. I use BK7231Flasher — it downloaded some bin for chip BK7231N (T2, T34). I used rxtx, rxrx, and combinations. I pressed 'Do Firmware Write' and then connected to 3.3 V and nothing. Thanks for help >>21859491
  • #9 21860229
    pierdata
    Level 6  
    Posts: 5
    Help: 1
    Rate: 1
    >>21860157
    RX programmer to TX PCB, TX programmer to RX PCB.
    I don't know, and I don't use Arduino as a programmer...
    But you can try keep connected 3.3 V, just disconnect GND, press Flash, and connect GND.

    Regards
    prucho
  • #10 21863831
    kajaba
    Level 2  
    Posts: 3
    >>21860229 Thank you. I finally made it, but I needed to cut the TX line that went to some other chip also.
    Thanks.

Topic summary

LABEL_AI_GENERATED
Discussion about flashing OpenBK7231N firmware on BSEED Tuya wall switches based on the BK7231N T34 module, including 1-gang, 2-gang, 3-gang, and curtain variants. The procedure uses BK7231Flasher with the correct COM port and BIN file, then triggers flashing by disconnecting and reconnecting the 3.3 V supply or, alternatively, by reconnecting GND. Access to RX/TX pads may require lifting a glued button on the 1G version, but another board revision allows probing the solder points from the backside without removing the white pad. Several users report RX/TX swap issues, and one successful flash required cutting a TX line that was connected to another chip.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT