# Module Debugging Assistant Instruction

## Overview <a href="#title-0-overview" id="title-0-overview"></a>

![](/files/-MBo6paYsH6W-x8TPo-2)

&#x20;Tuya module debugging assistant can be used as a serial port tool to simulate module and MCU by selecting different communication protocols. This demo will show you how to use this assistant to simulate MCU to connect to Wi-Fi module and use your phone to configure the network.

## Materials list <a href="#title-1-materials-20list" id="title-1-materials-20list"></a>

### Hardware <a href="#title-2-hardware" id="title-2-hardware"></a>

* Tuya module or MCU\*1
* USB to TTL convert\*1
* Jumper wire/ Dupont line/connect wire

### Software <a href="#title-3-software" id="title-3-software"></a>

Tuya module debugging assistant

## Instructions <a href="#title-4-instructions" id="title-4-instructions"></a>

### Create product <a href="#title-5-create-20product" id="title-5-create-20product"></a>

[Login Tuya IoT platform, click create to create product](https://docs.tuya.com/en/iot/device-development/access-mode-mcu/develop-introduction-wifi-/wifi-mcu-overview)

### Use Tutorial <a href="#title-6-use-20tutorial" id="title-6-use-20tutorial"></a>

Developers can choose different protocol types according to the modules in their hands. Here we take Wi-Fi General Protocol as an example: Click the page Protocol Switching-> Wi-Fi-> Wi-Fi General Protocol to enter the main interface of the Wi-Fi MCU debugging assistant.&#x20;

![](/files/-MBo6w8z651Yp7yo70wR)

### Interface introduction <a href="#title-7-interface-20introduction" id="title-7-interface-20introduction"></a>

Black marked area is to change the simulate side. In MCU Simulation, the tool will simulate the MCU and computer serial port will connect to the Wi-Fi module. In Module Simulation, the tool will simulate the Wi-Fi module and computer serial port will connect to the serial port of MCU. Red marked area is showing the messages sent and received Yellow marked area is showing the setting before you initiate a debug test. Green marked area is showing the testing functions, which will be available after clicking START button.&#x20;

![](/files/-MBo7-rgnqpGzEmYRHnl)

### Configure the network <a href="#title-8-configure-20the-20network" id="title-8-configure-20the-20network"></a>

1.Use the USB to TTL convert, connect Wi-Fi module to computer. &#x20;

![](/files/-MBo74jQt2L36bWXyW7B)

2.Select the right port of serial and baud rate, then click OPEN. 3.Click BROWSE button to import function point debugging file(.json). &#x20;

![](/files/-MBo7H_dfssBUtcp_P6b)

![](/files/-MBo7M56MaOhQF34wkeG)

You can find Function Point Debugging File on the platform, clicking to download MCU SDK or just single file. 4.After clicking START button, you can find message on the left side.

If nothing Appears, please check the hardware connection, whether the TX and RX are reversed, or whether the power supply is normal. After confirming that there is no error, power on again. 5.Click RESET MODULE, you can also choose AP mode or EZ mode manually o make the module enter the network configuration mode.

6.Run Tuya App to configure the network

### DP functional test <a href="#title-9-dp-20functional-20test" id="title-9-dp-20functional-20test"></a>

#### DP point report <a href="#subtitle-10-dp-20point-20report" id="subtitle-10-dp-20point-20report"></a>

After the network is configured, you can select a DP point to report it on the reporting interface. The App panel will receive the corresponding data and change it. This function can be used to test panel display problems and view the correct DP report data format. It is one of the most commonly used functions.

Click the reported tab to enter the reported test page:

![](/files/-MBo7Rq1EkQlytSzCUxB)

1. The name shown in the DP command is the name in the imported schema file
2. The value shown in Value is optional or writable for the DP command
3. Click the Add button, the selected DP command and value will be written to the list box on the right
4. Click Clear to delete the contents of the right list box
5. Click Report. The DP data displayed on the right will be reported according to the configuration on the configuration page.

## Appendix: Detailed Development and Debugging Platform Features <a href="#title-10-appendix-3a-20detailed-20development-20and-20debugging-20platform-20features" id="title-10-appendix-3a-20detailed-20development-20and-20debugging-20platform-20features"></a>

### Interface composition <a href="#title-11-interface-20composition" id="title-11-interface-20composition"></a>

The development and debugging platform mainly includes three functions: file, page switching and help center.

* The file section mainly contains language and setting functions.
* The page switching section categorizes them according to the role of the debugging assistant, which is convenient for users to find the corresponding debugging assistant.
* The help center contains the software's auxiliary functions, which is convenient for users to find the cause of the problem and feedback the improvement of the software.

### Language Settings <a href="#title-12-language-20settings" id="title-12-language-20settings"></a>

Click File-> Language and select the corresponding language pack to switch the software language.

## Other Instructions <a href="#title-13-other-20instructions" id="title-13-other-20instructions"></a>

Software deployment instructions:

1. The software is made using wpf technology
2. The software requires the .NET Framework version 4.6.1, specifically:
3. Does not support XP systems
4. WIN4.6 requires NET4.6.1
5. WIN10 supports kernel version 1511 and later. NET4.6.1 must be installed in the previous version.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ifreeq.com/developer/device-development/access-mode-simmulator/module-debugging-assistant-instruction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
