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

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

RTL8720DN, RTL8710B, RTL8710BX Compatibility with OpenBeken?

divadiow 29577 392
Best answers

Can I use an RTL8720DN, RTL8710B, or RTL8710BX module with OpenBeken, and if so which ones are covered?

No for the RTL8720DN: it was identified as an AmebaD part that needs a different SDK/downloader, so it is not covered by the RTL8720CF port [#21355202] The RTL8710BX was also initially called out as a different family and therefore not expected to work with that build [#21347611] The separate RTL8710B/T102 port later did work on real hardware, with users confirming it on T102_V1.1 and the author reporting the RTL8710B port/OTA as working after fixes [#21377607][#21430142] So, in practice, only the RTL8710B-class devices are the match here; the 8720DN is not.
Generated by the language model.
ADVERTISEMENT

Topic summary

✨ The discussion centers on the compatibility and support of Realtek RTL8720DN, RTL8710B, and RTL8710BX chips with the OpenBeken firmware and SDK. The RTL8720CF-based modules (e.g., BW15, WBR3) are confirmed to be supported by the AmebaZ2 family SDK and OpenBeken ports, with functional WiFi, GPIO, flash configuration, OTA, UART, and basic peripherals. However, RTL8710BX and RTL8710B (AmebaZ family) present challenges such as WiFi initialization freezes, memory management issues, and incomplete SDK support, including lack of static IP and WiFi scanning. OTA updates are functional but have occasional reboot issues, especially on RTL8710B. PWM support is mostly stable after fixes, while MQTT required patching due to missing authorization code in the Realtek LWIP stack. Power-saving modes and sensor drivers (DHT11, DS18B20) have been tested with varying success across platforms. Flashing RTL modules requires specific UART converters (e.g., CH340G) and careful wiring; some modules need manual pin pulls and special flashing tools like AmebaZ2 PGTool. TuyaMCU and energy metering ICs (BL0937, BL0942) support is under active development and testing, with UART and GPIO interrupt methods used. Memory partitioning for configuration, LittleFS, and Tuya config extraction is being optimized to avoid overwriting user data. Static IP implementation required workarounds due to sscanf inconsistencies on RTL and related platforms. A UART-to-TCP bridge driver has been developed for some modules. Overall, RTL8720CF modules have good OpenBeken support, RTL8710B is progressing but unstable, and RTL8710BX remains problematic. The community is actively testing, fixing, and improving support for these Realtek chips within OpenBeken and related tools.
Generated by the language model.

FAQ

TL;DR: OpenBeken now boots on eight Realtek families—8720CF, 8720DN, 8721CS, 8721DX, 8710B, 8711AM, 8710A and the new 8721DAF—covering 2 MB to 8 MB flashes, with >94 % of GPIOs accessible; “UART-TCP just works, even for Zigbee ZS3L @115 k” [Elektroda, insmod, post #21449836]

Why it matters: One firmware image can replace Tuya stacks, add MQTT, HTTP OTA and full pin control on sub-€3 modules.

Quick Facts

• Flash sizes: 2 MB (BW14) – 8 MB (BW16E) [Elektroda, divadiow, post #21444276] • Max free heap after Wi-Fi init: 173 kB on RTL8720DN 4 MB build [Elektroda, divadiow, post #21599099] • Build footprint: 823 kB OTA image, erased/written in 20 s @1.5 Mbaud [Elektroda, insmod, post #21459140] • BLE HCI runs over TCP bridge; 921 kbit/s confirmed [Elektroda, insmod, post #21491102] • Latest Tuya SDK drop: rtl8720cf_ameba_3.8.23 (Apr 2025) [Elektroda, divadiow, post #21552308]

Which Realtek chips run current OpenBeken images?

Confirmed targets are RTL8720CF/DN/CM, RTL8721CS/DX, RTL8710B/A, RTL8711AM and RTL8721DAF (Ameba-D Plus) [Elektroda, insmod, post #21600357]

How much flash and RAM do the modules expose?

BW14 (8710BX) ships with 2 MB SPI flash; BW16E (8720DN) comes with 8 MB; WRG1 gateway has 4 MB. RAM: 512 kB + 2 MB PSRAM on 8721DX; 256 kB on 8720CF [Elektroda, insmod, post #21452616]

Can I keep Tuya calibration while flashing OpenBeken?

Yes. Flash OBK at 0x0800B000 and leave Tuya bootloader/kv at 0x08000000; erase only 4 kB at 0x080D0000 to switch slots [Elektroda, divadiow, post #21433931]

How do I dump the factory firmware?

  1. Pull PA0 low, reset. 2. Run rtltool.py -p COMx -b1500000 rf 0 0x200000 dump.bin (8720DN) or use ImageTool GUI for 8721DAF profiles [Elektroda, p.kaczmarek2, post #21437842]

Why does my MAC show FF:FF:FF…?

Some BW16E boards lack eFuse MAC; OBK falls back to 00:E0:4C:87:00:00. Override with wifi_setMac or write to EasyFlash [Elektroda, insmod, post #21449662]

How to bridge Zigbee UART to Home-Assistant?

Flash OBK, then startDriver uarttcp 115200 512 2 1. Point Zigbee2MQTT to tcp://IP:8888 and select Ember adapter; ZS3L upgrades fine to EZSP v7.4.3 [Elektroda, insmod, post #21449962]

What causes the Flag 13 hard-fault?

Flag 13 sets all 30 GPIOs as inputs; QSPI pins on BW modules fault the CPU, leading to restart [Elektroda, insmod, post #21458143] Use setPinRole manually instead.

Edge case: why does DHCP fail with custom hostname?

Enabling LWIP_NETIF_HOSTNAME in Realtek LWIP breaks DHCP negotiation; keep it off or patch stack [Elektroda, insmod, post #21601312]
Generated by the language model.
ADVERTISEMENT