logo elektroda
logo elektroda
X

TOMZN 1P 63A Circuit Breaker BL602 ptblu-w No GPIO Response After OpenBL602 Flash

andreyrose 525 16
ADVERTISEMENT
  • #1 21652116
    andreyrose
    Level 2  
    TOMZN 1P 63A Circuit Breaker Power Monitoring DIN Relay
    WiFi circuit breaker for DIN rail with IN/OUT labels and power button.
    Close-up of a circuit board with electronic components and wiring.
    The image shows a black SUON electrical relay labeled 818A-63A/250VAC with a 9V coil.
    Few days ago I received this Breaking hoping simple installation of Tasmota firmware
    https://templates.blakadder.com/tomzn_TOB8-63WiFi.html
    During teardown I found completely different platform, looks like it contains
    ptblu-w motherboard with BL602 chip
    After tracing path using multimeter I found this pins layout.

    Close-up of an electronic module with labeled GPIO and signal pins.
    Using firmware tool and BOOT pin (with 10k resistor connected to 3.3V) I successfully flashed OpenBL602_1.18.164.bin image, after firmware I connect device to my WiFi.
    But during testing pins layout I found that no pins react to high signal. I tried filling config, I tried GPIO internal tool, no pins even WiFi and power LED are affected by high level


    AI: Can you share more details about how you flashed the OpenBL602_1.18.164.bin firmware—what tool and steps did you use, and did you see any errors during the process?
    No error during firmware,
    AI: Which pins did you test for hi signal, and do you have a pinout diagram or list of the pin numbers/names you tried?
    I test all pins followed multimeter traced path

    Added after 4 [hours] 26 [minutes]:

    ok looks like i find issues with this this device, i wrong connect Phase and zero wire. so at this moment i successfully find and setup power and wifi led. and using GPIO doctor find BiStable Relay pins. its turnON and turnOFF without any problem, but how to configure bitsable relay in pins configuration menu? BridgeFWD BridgeREV only setup voltage to both pins

    Added after 1 [hours] 12 [minutes]:

    looks like my i don't have activated BridgeDriver how i can activate this or i need recompile image?
    Screenshot from OpenBL602 showing a command error saying Unknown command.
    Info:MAIN:Driver Bridge is not known in this build.
  • ADVERTISEMENT
  • #3 21652600
    andreyrose
    Level 2  
    >>21652588
    I already build version with bridge support. But anyway thank you.
    Looks like i finally have fully work config for this relay.
    Everythink works normal PowerON/OFF, WIFI/POWER LED, and button.
    Can some one say, is it possible to add bridge driver in to default firmware?
    I think it's very useful driver.
    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "BL602",
      "board": "TODO",
      "flags": "1024",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "2": "WifiLED_n;10",
        "3": "LED_n;10",
        "14": "Btn;10",
        "20": "BridgeREV;10",
        "21": "BridgeFWD;10"
      },
      "command": "delay_s 11\r\nstartDriver BL0942",
      "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }


    Dropdown list with assigned pin names and numeric values in a 24-row table
  • ADVERTISEMENT
  • #4 21652672
    divadiow
    Level 36  
    I can open the PR but it'll be up to admin peeps to merge.

    https://github.com/openshwprojects/OpenBK7231T_App/pull/1787

    Added after 6 [minutes]:

    did you happen to take a pre-paired (if you did at all) factory firmware backup?

    Added after 19 [minutes]:

    similar https://www.elektroda.com/rtvforum/topic4129041.html

    device list PR (let me know if wrong/anything changes) https://github.com/OpenBekenIOT/webapp/pull/2...mits/5691c64376b4385a452965b192d9031a6d43ea2b
  • ADVERTISEMENT
  • #6 21652840
    andreyrose
    Level 2  
    >>21652672
    It's different device, may be similar in common but different in in details.
    Please attach my real image of device

    TOMZN TOB8-63WIFI Wi-Fi relay held in hand with connected wires
  • #8 21654252
    andreyrose
    Level 2  
    Oh my god, I just received another device. with PSF-B motherboard. Looks like if date production 2025 and later it contains bl602-motherboard and PSF-B with ESP8285 module in another.

    Disassembled TOSR02T relay device with visible ESP8266 module and PCB
    Inside of electronic device with PCB, wires, and capacitors
  • #9 21698165
    goblinmaks
    Level 3  
    Which tool do you use to flash BL602 ?
  • ADVERTISEMENT
  • #10 21698304
    andreyrose
    Level 2  
    >>21698165
    BL-DEV tool from buffalo lab, but not latest version 1.4xxx something like this
  • #12 21698937
    goblinmaks
    Level 3  
    >>21698343

    Ok, looks I bricked chip, after erasing flash with xtal = none
    Which correct parameters for this chip ?
    Nothing received in UART, I found openBeken AP after first reboot, but not connected to Wi-Fi correctly, then I wrote chip again with erase option.

    Bouffalo Lab Dev Cube interface with loaded firmware file
  • #13 21698942
    insmod
    Level 29  
    >>21698937
    boot2 is required
    xtal needs to be 40m
    dts is recommended to be bl_factory_params_IoTKitA_40M.dts (in chips/bl602/device_tree)
  • #14 21698977
    goblinmaks
    Level 3  
    >>21698942
    which boot2 need to use ?

    Added after 7 [minutes]:

    >>21698977 >>21698977


    Works, Appreciate you.
  • #15 21698983
    insmod
    Level 29  
    >>21698977
    In 1.9.0 devcube - any in chips\bl602\builtin_imgs\boot2_isp_bl602_v6.6.2
  • #16 21699101
    goblinmaks
    Level 3  
    >>21698983

    Button and LED work correctly with firmware OpenBL602_1.18.178.bin
    But not bridges. How can I check it?

Topic summary

The discussion centers on the TOMZN 1P 63A Circuit Breaker with power monitoring and DIN relay functionality, originally expected to support Tasmota firmware. Upon teardown, the device was found to use a ptblu-w motherboard with a BL602 chip, differing from initial assumptions. The user successfully flashed the OpenBL602_1.18.164.bin firmware using a BOOT pin with a 10k resistor to 3.3V, and connected the device to WiFi. However, no GPIO pins responded to high signals, and neither WiFi nor power LEDs reacted as expected. A custom build with bridge support was developed, enabling normal operation of power ON/OFF, WiFi and power LEDs, and button functionality. The user inquired about integrating the bridge driver into the default firmware. Responses included a pull request submission for device support and references to similar devices and firmware backups, suggesting ongoing development and community collaboration for full device integration.
Summary generated by the language model.
ADVERTISEMENT