Last Updated on : 2025-04-18 02:46:14download
This topic describes how to flash firmware to the CR3L module.
Open Tuya Production Toolkit and choose Burn and Upgrade > TYMZ.
Enter the token and press the Enter key to run.
Pin | Description |
---|---|
Tx/Rx | User serial port, used to flash firmware and authorize the module with Tuya’s tool. |
A15/A16 | The pin used to flash firmware with the chip vendor’s tool. |
A15 | Rx pin to receive the chip vendor’s command (ATSC). |
A16 | Tx pin to transmit the chip vendor’s command. |
A_0 | Connect this pin to high level, and connect Rx to high level simultaneously to force it into flashing mode. |
A_1 | When this pin is connected to a high level, the MAC address will be read from the flash memory. When this pin is connected to a low level or floating, the MAC address will be read from the eFuse area. The MAC address is stored in the eFuse area, so this pin must not be set to a high level. |
L_TX
: Connect to the high-speed serial port (blue) Rx. L_RX
: Connect to the high-speed serial port Tx. If a flashing tool from the chip vendor is used, the blue high-speed serial port must be used.DEBUG
suffix are debug files. The axf
file can be used to locate the path before a crash.flash_is
suffix contains bootloader and ota1(tuya)
. For daily debugging, you can flash this firmware using the chip vendor’s tool.ota2(tuya)
. This firmware can also be flashed using the chip vendor’s tool.Currently, UA/UG firmware is the same for this module.
After wiring is completed as described above, open the chip vendor’s flashing port.
The module enters download mode. A_0
and Rx are connected to high level.
If the log port prints the following, the module has entered download mode. At this point, close the logging port because it shares the same interface as the chip vendor’s flashing port.
Open the chip vendor’s flashing tool and download as shown in the image. You can obtain the tool at vendor/rtl8720cf_ameba/rtl8720cf-os/tools/AmebaZII_PGTool_v1.2.39.exe
.
flash_is
suffix or QIO firmware in the output
folder. You must select the firmware again after each compilation. Otherwise, the SHA-256 hash value will not be recalculated.How it works:
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback