logo elektroda
logo elektroda
X
logo elektroda

[TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware?

dawkoh 3594 20
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20459827
    dawkoh
    Level 11  
    Hello, I own the relay shown in the pictures. I have soldered out the WiFi chip to show it and to try to change its firmware. Now the question is how and with what to go about this? I am doing this for the first time I can't find any information on this. Is it possible to upload Tasmota or SUPLI? I am interested in what can be uploaded here, not a replacement for another chip. USB to TTL I have a YP-01, thank you in advance for any hints.

    Board:
    [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware?


    WiFi chip:
    [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware?

    Additional information:
    Link .
    Attachments:
    • TR6260.pdf (656.25 KB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • Helpful post
    #2 20460109
    p.kaczmarek2
    Moderator Smart Home
    Hello, I'm afraid this is a completely new chip, which hasn't appeared even once on our Electrode list yet:
    https://openbekeniot.github.io/webapp/devicesList.html
    A quick search on Github also shows that there is no SDK for it, or at least that's my impression.
    EDIT: This is the only result from the Github search:
    https://github.com/Akeeta/Akeeta-SDK-TR6260
    but very poor there...

    At this moment I don't see the possibility to change the firmware of this module. The only thing left is to check the pinouts and do a replacement with ESP02S or similar (pinout equivalent of TYWE2S, WB2S, CB2S...)
    [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware? [TR6260S1/FL-M61 V2] WiFi Smart Switch how to change the firmware?
    https://templates.blakadder.com/ESP-02S.html
    Quote:

    This module can replace modules such as: CB2S, FL_M99_V1, TYWE2S, TYZS6, TW-02, WR2, WB2, WBR2, WR2E, WB2S, WA2, XT-BL02

    Of course when replacing you would also have to check that the pins match for sure, paying special attention to RST and so on.

    You can keep the old WiFi module, maybe you can find an SDK or something new will appear.... you can also try to connect to it with the UART and at least collect its log (if it prints any log on the UART), I don't know, but in the log maybe there would be some additional information about the SDK used.

    Added after 3 [minutes]:

    There is something about the SDK, but it's in Chinese...
    https://github.com/Akeeta/Akeeta-SDK-TR6260/b...0-SDK%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E.pdf
    Helpful post? Buy me a coffee.
  • #4 21846423
    leon22heart
    Level 4  
    >>21400373 Hello my friend . Have the same chip on my bench soldered and i am trying to dump the firmware. Can you tell which is the fp14 pin from the schematics in order to enter dump mode ?
  • #5 21846431
    divadiow
    Level 38  
    to confirm, you have an FL-M61 V2 module, exactly as seen in the first post?

    Added after 46 [minutes]:

    if so, I don't have this module to be 100% sure, but I think this is true:
    Blue PCB module with GPIO labels and right-side connector; green text lists GPIO0, GPIO1, GND, VCC

    Added after 30 [seconds]:

    obviously, please take a backup first :)
  • #6 21846483
    leon22heart
    Level 4  
    Exactly. Desoldered it from the smart switc in order to flash it

    A the gp14 was up there. Will try to dump it and post it.
  • ADVERTISEMENT
  • #7 21846540
    divadiow
    Level 38  
    leon22heart wrote:
    A the gp14 was up there. Will try to dump it and post it.


    cool

    out of interest, is your device with this module a new purchase? Temu, Ali? Do you have direct link please to product
  • #8 21846604
    leon22heart
    Level 4  
    >>21846540 it's a 2024 aliexpress purchase that i was using first with tuya , next with local tuya and now i hope with openbk. Have 2 of these.

    Added after 4 [hours] 24 [minutes]:

    Needed a clarification . In order to enter uboot-uart mode should i solder GPIO14/TOUT2 to ground or vcc and powerup ?
  • ADVERTISEMENT
  • #9 21846810
    divadiow
    Level 38  
    leon22heart wrote:
    Needed a clarification . In order to enter uboot-uart mode should i solder GPIO14/TOUT2 to ground or vcc and powerup ?


    p.kaczmarek2 wrote:
    GPIO14/TOUT2 needs to be grounded at power-on


    https://www.elektroda.com/rtvforum/topic4093752.html

    Added after 3 [minutes]:

    I happen to be playing with TR6260 module HLK-M20 now. EN header on this ESP adaptor maps to IO14. Grounding it to get into download mode.
    Close-up of a development board with a Hi-Link HLK-M20 Wi‑Fi module and a wire connected to pins
  • #10 21846812
    leon22heart
    Level 4  
    >>21846810 So if i am not wrong its ground to GPIO14/TOUT2 and boot . Tried and can not enter uboot-uart . Will check again the uart logs .
  • ADVERTISEMENT
  • #11 21846816
    divadiow
    Level 38  
    with IO14 grounded at power-on and if you watch TX at 57600 baud you should see this printed

    Terminal screenshot: “[L] entry BootRom” and “[U] uart boot mode”, baud rate 57600

    then you should be able to read/write/erase
  • #12 21846859
    leon22heart
    Level 4  
    Hello . Managed to extract firmware . Can anyone check if valid so that i proceed to flash open bk ?
    Attachments:
    • test.bin (1 MB) You must be logged in to download this attachment.
  • #13 21846875
    divadiow
    Level 38  
    leon22heart wrote:
    Can anyone check if valid so that i proceed to flash open bk ?

    yes. 1 moment pls

    Added after 15 [minutes]:

    it definitely boots :)
  • #14 21846902
    leon22heart
    Level 4  
    >>21846875 Happy to have helped . Now starts the device config . Will post findings.
  • #15 21846905
    divadiow
    Level 38  
    no pin assignments to extract though

    Code: JSON
    Log in, to see the code


    Code: Text
    Log in, to see the code


    looks like Easy Flasher's "em_sys_env" mapping needs an adjustment

    Added after 25 [minutes]:

    IO3 looks to be your button.

    boot log from backup:
    Code: Text
    Log in, to see the code


    Added after 37 [minutes]:

    dump reset and added to collection https://github.com/openshwprojects/FlashDumps/pull/63

    schema: 000003w2v6

    Code: Text
    Log in, to see the code
  • #16 21850358
    leon22heart
    Level 4  
    Found so far

    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "TR6260",
      "board": "TODO",
      "flags": "1024",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "2": "WifiLED;0",
        "3": "Btn;0",
        "4": "Rel;1"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }


    How find TglChanOnTgl ?
  • #17 21850430
    divadiow
    Level 38  
    leon22heart wrote:
    How find TglChanOnTgl ?


    should it have one? if you put Btn to channel 1 it should operate with relay.
  • #18 21850481
    leon22heart
    Level 4  
    >>21850430 I believe it does cause it had it in the tuya app. Well for me as long as the relay has been found i am okay , but i wanted to complete in order to include it in the template database.
  • #20 21850658
    leon22heart
    Level 4  
    >>21850654 the toflchanontogl isnt the equivalent of the relay remeber last status \ on \off ?
    This is a photo from my 2nd switch with the same chip. If i am wrong then the template is complete.


    Screenshot of “Setting” showing “relay status” options OFF, ON, and “Remember last status” selected
  • #21 21850665
    divadiow
    Level 38  
    ah I see. I think that function is served by setting -1 as seen in 'Configure Startup' for the channel required

    Screenshot of OpenBK7231N page for pin start values, with Channel 0 and Channel 1 fields and Save buttons

Topic summary

The discussion concerns the TR6260S1/FL-M61 V2 WiFi smart switch relay, specifically how to change or reflash its firmware. The original WiFi chip was removed to attempt firmware modification. Initial findings indicate the chip is a new, uncommon model with no available SDK or documented support for firmware changes, making direct reflashing difficult. A suggested workaround is to replace the original WiFi module with a compatible ESP-02S or similar module (e.g., TYWE2S, WB2S, CB2S) after verifying pin compatibility, especially for reset (RST) and other critical signals. A later update mentions the existence of a backup and flash tool along with an OpenTR6260 firmware that can be flashed to these modules, with a guide available for backing up existing firmware, potentially enabling firmware modification without hardware replacement.
Summary generated by the language model.
ADVERTISEMENT