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?
- 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]
Is 5 GHz Wi-Fi stable?
8720DN connects to MT7925 5 GHz but may crash hostapd under high load [Elektroda, insmod, post #21458143] 2.4 GHz operation is solid >30 days [Elektroda, divadiow, post #21552308]
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.
Which pins offer PWM on 8720D?
PA12-14 (RGB LED), PA50-52 are hardware PWM; enable with pwm_channels 0,1,2
then setPinRole 49 PWM;2
etc. [Elektroda, insmod, post #21458143]
Can I do HTTP OTA on Ameba-D Plus?
Yes. OBK 1.55.0 adds sector-by-sector erase; 823 kB image updates BW20 in ~25 s and auto-reboots [Elektroda, insmod, post #21601312]
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]
Where can I get official Tuya SDK zips?
Direct links are listed for 30+ versions up to rtl8720cf_ameba_3.8.23 (April 2025) in the community repo [Elektroda, divadiow, post #21552308]