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

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Tuya WR1 RTL8710BN/W302 module info - external flash size: GD25Q16 2MB and 4MB+ mod

divadiow 15 1
ADVERTISEMENT
  • #1 21873564
    divadiow
    Level 38  
    Here are a few points of interesting regarding the Tuya WR1 module, two of which I hold in my possession after a seller on Taobao sent me these by 'mistake' instead of what I ordered, a WRG1 - RTL8711AM.

    The WR1 Tuya page is here https://developer.tuya.com/en/docs/iot/wifiwr1module?id=K9605tc0k90t3 but if it ever gets retired, I attach the PDF and here's some basic info:


    The WR1 is a low-power embedded Wi-Fi module developed by Hangzhou Tuya Information Technology Co., Ltd. The module consists of a highly integrated RTL8710BN chip and external flash memory. It comes with a built-in Wi-Fi network protocol and a large number of library functions.

    The WR1 also includes low power ARM CM4F, WLAN MAC, 1T1R WLAN, a maximum frequency of 125MHz, built-in 256K SRAM, 1Mbyte flash, and a wealth of peripheral resources.



    Technical diagram of an electronic module: top and bottom views with dimensions and pin labels.

    I de-canned one to see the chip and confirm external flash size. I intend to replace the flash chip with something 4mb+ so I can burn flash dumps that are 4mb, eg: https://github.com/libretiny-eu/libretiny/issues/23#issuecomment-1255291754

    We see from an AmebaZ datasheet that 128MB is the maximum external flash supported.
    Comparison table of RTL8711BG/BN features with QFN68, QFN48, and QFN32 columns

    First, some pics of my modules and a dump of the flash chip. This RTL8710BN is labelled as a W302. Flash chip HJ1847, 25Q16CT, AP17086.

    Two small PCB electronic modules with a trace antenna, on a blue background
    Two black PCB boards with pin labels lying on a blue work mat
    Close-up of an electronic module with a PCB antenna and IC on a blue background

    2mb chip detection in NeoProgrammer with CH341A/clamp - C84015 / GigaDevice GD25Q16x, so not the 1mb expected.
    NeoProgrammer screenshot showing SPI memory hex dump and log with “IC not responding” and “Success”

    Small electronic module on a blue mat, held with tweezers; “WIFI” label visible.

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


    Dump: https://github.com/openshwprojects/FlashDumps/commit/edf21874f3cf0201b3e963890143e755671e3052

    Next I will donate a 4mb chip from a BW16.
    Attachments:
    • UM0113 Realtek Ameba-Z DEV 1v0 User Manual.pdf (1.45 MB) You must be logged in to download this attachment.
    • WR1 Module Datasheet_Tuya Developer Platform_Tuya Developer Platform.pdf (686.39 KB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #2 21873594
    divadiow
    Level 38  
    transplant success. 4mb (32mbit) BoyaMicro chip donated from BW16

    PCB with micro‑USB port and shielded module, pointed at by a soldering iron tip
    Close-up of a PCB section with ICs and “WIFI” marking, partly covered with a white residue Close-up of a PCB with an antenna and a desoldered integrated circuit placed beside it

    Screenshot of BK7231 Easy UART Flasher showing “Write complete!” and a flashing log.
ADVERTISEMENT