logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

TL;DR

  • Teardown of an unbranded SmartPlug wifi switch showed it used a W600 TW-02 module and the Smart Life app.
  • Serial output identified Tuya IoT SDK V2.0.0, firmware TC0025_TW02_PLUG_L1_P0, and the board exposed 3.3V, Gnd, PA5 switch input, PB8 blue LED, and PB15 relay/red LED.
  • The module drew around 80mA in stock condition, while the FCC filing said it could consume up to 230 mA.
  • OpenBK7231T was adapted to compile the W600 SDK, and the W600 build became part of OpenBK7231T's standard build.
  • The module ran a bit warm, and opening required a sharp spudger plus patient desoldering of the power connections.
Summary generated by AI based on the discussion content.
ADVERTISEMENT
📢 Listen (AI):
  • #31 20608032
    rkompass
    Level 1  
    Posts: 1
    Rate: 1
    >>20278664
    For your information: Micropython on the W600 is not dead. It is kept up to date on Robert Hammelraths GitHub as a Link branch to the actual Micropython.

    We are at MP version 1.20. I managed to increase available memory in MP from 45K to > 85K (better than ESP8266).
    Also the @arm_thumb, @native and @Vip'er function decorators (allowing higher execution speeds) are now functional.
    There is a neopixel module available.
    I'm currently testing if all functionality is really working and how aggressively one may take more memory from FreeRTOS for Micropython.

    Help is sought for ways to tailor down the usage of RAM in the upper 128 K memory area, which is currently used, among others, for SPI, DMA and WLAN buffers.

    Cheers,

    R. Kompass
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #33 21047076
    divadiow
    Level 38  
    Posts: 5121
    Help: 441
    Rate: 904
    zdzihu123 wrote:
    W80X/W60X Upgrade Tools in English:
    http://www.isme.fun/?log=blog&id=34


    in the event this page never comes back to life, here's an offline waybackmachine copy for ref
    Attachments:
    • W80X_W60X Lianshengde WIFI chip burning tool Upgrade Tools-Technology-My Articles-isme.fun Blog Space.zip (485.23 KB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #34 21702729
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14677
    Help: 656
    Rate: 12705
    I didn't really register it earlier, but look:
    omelchuk890 wrote:

    @divadiow https://github.com/w600/wm_tools
    C# source for W600 flasher
    Attachments:
    • wm_tools-master.zip (24.87 KB) You must be logged in to download this attachment.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #35 21702749
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14677
    Help: 656
    Rate: 12705
    https://github.com/sammothxc/w600-documentation

    Added after 29 [minutes]:

    Ok , this is not complete. So we only have wm_tool.c implementation, but that's huge...
    Attachments:
    • wm_tool.c (140.98 KB) You must be logged in to download this attachment.
    Helpful post? Buy me a coffee.
  • #36 21702764
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14677
    Help: 656
    Rate: 12705
    Looks like they embedded the gzip code inside...
    Helpful post? Buy me a coffee.
  • W600 flashing logic and SWD read limits

    #37 21702821
    divadiow
    Level 38  
    Posts: 5121
    Help: 441
    Rate: 904
    cool.

    W600 flashing logic is also available in Upgrade Tools Python source, alongside W800 (requires stub) - https://www.elektroda.com/rtvforum/topic4120455.html (post is about W800/CK chips but flash files are attached - I have the whole Upgrade Tools decompiled too if needed)

    Added after 9 [minutes]:

    Also, although W600 doesn't require stub, it doesn't seem to have xmodem flash read capabilities*. Here's a read of W600 via SWD https://www.elektroda.com/rtvforum/topic4125140.html#21621529

    *(If I remember correctly)
  • W600 identified in WX500P LED controller

    #38 21721681
    divadiow
    Level 38  
    Posts: 5121
    Help: 441
    Rate: 904
    W600 also seen with chip marking as "T6605"

    Image and boot log from user Discord post for a WX500P LED strip controller

    Circuit board with microchip T6605 and colored wires in white plastic housing

    Code: Text
    Log in, to see the code


    20200720.
    WD_XT_500P V1.1
📢 Listen (AI):

Topic summary

✨ Discussion of a teardown and firmware replacement for a generic unbranded Wi‑Fi smart plug using a W600-based module and the Smart Life app. The board was identified as TW-02 / TW02, with flashing and OTA experiments focused on OpenW600/OpenBK firmware. Contributors discussed serial flashing with wm_tool/w600tool, baud-rate issues, and OTA update limitations on W600/W800 devices, where the web UI requires a local HTTP server and direct firmware upload rather than drag-and-drop OTA. Later posts covered successful flashing of W600-Pico boards, pin mapping, PWM and button/LED configuration, and related development resources, tools, and documentation for W600/W800/W601/W801 platforms.
Summary generated by AI based on the discussion content.

FAQ

TL;DR: The W600-based TW02 SmartPlug draws 80 mA idle and can peak at 230 mA [Elektroda, iprak, post #20239610]; “you’re the first one in the world to flash custom IoT firmware” [Elektroda, p.kaczmarek2, post #20241602] Serial flashing, then HTTP OTA keeps updates simple.

Why it matters: Knowing the exact pins, power draw and update path prevents bricking and speeds deployment.

Quick Facts

• SoC: WinnerMicro W600, 80 MHz ARM Cortex-M3 [WinnerMicro Datasheet]. • Idle current ≈ 80 mA; FCC lists 230 mA max [Elektroda, iprak, post #20239610] • Operating rail: 3.3 V and GND are silk-screened on Side-A header [Elektroda, iprak, post #20239610] • Relay & red LED: PB15; blue LED: PB8 [Elektroda, iprak, post #20239610] • Fastest reported flash: 460 800 baud, <8 s [Elektroda, omelchuk890, post #20251927] • Stable firmware builds: OpenW600 v1.15.514 (serial) and v1.14.69 (OTA) [Elektroda, jtauscher87, #20463539; omelchuk890, #20256479].

What chipset is inside the “generic” TW02 SmartPlug?

The module is a TW-02 carrying the WinnerMicro W600 Wi-Fi MCU, an 80 MHz ARM Cortex-M3 with 1 MB flash and 288 KB SRAM [Elektroda, iprak, #20239610; WinnerMicro Datasheet].

How do I open the enclosure without damage?

Insert a sharp spudger into the seam, work around the rim, then desolder the recessed power tabs with a wick; nothing fragile sits near the edge [Elektroda, iprak, post #20239610]

Which pins control the relay and indicator LEDs?

PB15 drives the relay and the red LED simultaneously; PB8 drives the blue status LED. The momentary button pulls PA5 high when pressed [Elektroda, iprak, post #20239610]

Three-step flashing guide?

  1. Hold BOOT, tap RESET to enter UART mode.
  2. Run wm_tools -p COMx write_flash firmware.fls.
  3. Power-cycle; connect to the new AP for setup. [Elektroda, iprak, post #20275572]

How do I perform OTA updates on W600?

Use the basic HTTP OTA field in the web Config page: host the .img on a local server (XAMPP, Node-RED, or IIS), paste the URL, and press Update [Elektroda, iprak, post #20252832]

My OTA failed with versions 1.14.70/71—why?

Those builds lacked Wi-Fi initialisation for W600; after update the AP never appears, forcing serial rollback to 1.14.69 [Elektroda, omelchuk890, post #20256479]

What’s an edge-case failure to watch for?

Using the web-app drag-and-drop OTA won’t work on W600/W800; only the direct HTTP method is implemented [Elektroda, iprak, post #20252812]

Where can I download current binaries?

Releases live under OpenBK7231T_App and OpenW600 repositories—choose the “W60x” builds such as OpenW600_1.15.xxx.fls [Elektroda, iprak, post #20275572]

Does the W600 run hot in normal use?

Users noted the module feels warm but stays within spec; no thermal shutdown reported after continuous 80 mA draw [Elektroda, iprak, post #20239610]

Can I control WS2812/Neopixel strips?

Not yet in OpenBK, but developers are open to adding it when real W600 lighting hardware is available [Elektroda, p.kaczmarek2, #20275822; iprak, #20278005].
Summary generated by AI based on the discussion content.
ADVERTISEMENT