Download firmware and authorization code process

Last Updated on2020-03-22 01:50:45


The sandwich SoC main control board combined with the function board can be used to make various product prototypes. You can either use the official SoC-free development solution provided by Tuya without developing , or you can develop the SoC firmware yourself and download it to the sandwich SoC main control board.

For the former, you need to apply for an authorization code for the product of a certain SoC solution, and then use the authorization code in combination with the authorization code download software provided by Tuya to download the SoC solution firmware and related authorization information to your sandwich SoC main control board

For the latter, you still need to first download firmware to your sandwich SoC main control board according to the previous method to obtain the corresponding authorization. Subsequent firmware coverage). After that, you are free to download your own firmware.

Get Authorization Code

Preliminary preparation

You need to follow the [SoC free development solution tutorial] ( Create a product that you need based on the SoC free development solution.

Step 1 Binding Your Sandwich Development Board

Open the Tuya IoT Workbench-[Sandwich Development Board Management Interface] (, click to add "Binding Development Board", and enter the SN on the sandwich SoC main control board package ID and password, click OK, and you can see that your sandwich SoC main control board has been bound: 1.png


Note: The characters in parentheses after the name of each sandwich SoC main control board represent the model of the networking module in it. For example, the model of the networking module in the figure above is: TYWE3S. When creating a product based on the SoC free development solution mentioned in the "Preliminary Preparations", the third step: When selecting the module for hardware development, please choose the same module as the module type of your SoC main control board So, if you bought the sandwich Wi-Fi SoC main control board, then you should choose the model of model TYWE3S at this step, as shown in the figure below:

Step 2 Apply for authorization code

Click "Apply for a new authorization code" in the figure above to open the interface as shown in the figure, select the product you want to burn, click OK, and the corresponding authorization code will appear in the card. 3.png

Step 3 Apply for a unique account of the graffiti burning authorization software

Click the "Burn Authorized Software Account Application" button in the same interface, follow the prompts, and the account will be sent to you via email. 4.png

Use of authorization code: firmware burning and authorization

Preliminary preparation

  1. Download and install the Serial Transfer Driver
  2. Download and install [Tuya Cloud Module Burning Authorization Platform]
  3. A 12-pin USB serial cable is required to connect the Sandwich SoC main control board to your Windows computer. If the connection is correct, you will see such a device: 14.png

Step 1 Setup

As shown in the figure below, enter the setting interface and set the baud rate to 1500000

13 2.png 12.png

Step 2 Select the correct port number

Select the port number of the USB serial cable you connect to the computer. In this example, it is COM3. Generally, there is only one option.


Step 3 Enter the authorization code

Click the "Enter Authorization Code" button on the right to open the following configuration interface, as shown in the figure, click "Authorization Code", then enter the authorization code you applied in the input box below, and select "Burn" in the selection box below Authorization ", and finally click" OK ". 7.png

Step 4 Burn and Authorize

Everything is ready, click the "Run" button to start authorizing and burning the firmware


Step 5 Burning and authorization completed