quickstart-ide-lite-steps-hi3861-burn.md 3.5 KB
Newer Older
E
ester.zhou 已提交
1 2
# Burning

E
ester.zhou 已提交
3
Burning is the process of downloading compiled program files to a development board to provide a basis for subsequent debugging. With the one-click burning function of DevEco Device Tool, you can burn images on development boards quickly and efficiently.
E
ester.zhou 已提交
4 5 6 7 8 9

Hi3861 V100 supports burning through the serial port. To burn source code through the serial port in Windows, perform the following steps:


1. Connect the computer and the target development board through the serial port and USB port. For details, see [Introduction to the Hi3861 V100 Development Board](https://gitee.com/openharmony/docs/blob/master/en/device-dev/quick-start/quickstart-lite-introduction-hi3861.md).

E
ester.zhou 已提交
10 11 12
2. If your computer does not have the USB-to-serial driver, install it by following the instructions in [Installing the Serial Port Driver on Hi3861 V100](https://device.harmonyos.com/en/docs/documentation/guide/hi3861-drivers-0000001058153433).

3. In DevEco Device Tool, choose **REMOTE DEVELOPMENT** > **Local PC** to check the connection status between the remote computer (Ubuntu development environment) and the local computer (Windows development environment).
E
ester.zhou 已提交
13 14 15 16 17 18 19

   - If ![en-us_image_0000001261315939](figures/en-us_image_0000001261315939.png) is displayed on the right of **Local PC**, the remote computer is connected to the local computer. In this case, no further action is required.
   - If ![en-us_image_0000001261515989](figures/en-us_image_0000001261515989.png) is displayed, click the connect icon.

   ![en-us_image_0000001261395999](figures/en-us_image_0000001261395999.png)

   > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
E
ester.zhou 已提交
20
   > This operation is required only in remote access mode (in the Windows+Ubuntu hybrid development environment). If the local access mode (Windows or Ubuntu development environment) is used, skip this step.
E
ester.zhou 已提交
21

E
ester.zhou 已提交
22
4. Check the serial port number in **QUICK ACCESS** > **DevEco Home** > **Device** in DevEco Device Tool.
E
ester.zhou 已提交
23 24 25

   ![en-us_image_0000001216274840](figures/en-us_image_0000001216274840.png)

E
ester.zhou 已提交
26
   
E
ester.zhou 已提交
27

E
ester.zhou 已提交
28
5. Choose **QUICK ACCESS** > **DevEco Home** > **Projects**, and then click **Settings**.
E
ester.zhou 已提交
29 30 31

   ![en-us_image_0000001198943768](figures/en-us_image_0000001198943768.png)

E
ester.zhou 已提交
32
6. On the **hi3861** tab page, set the burning options.
E
ester.zhou 已提交
33 34 35 36 37 38 39

   - **upload_port**: Select the serial port number obtained.
   - **upload_protocol**: Select the burning protocol **hiburn-serial**.
   - **upload_partitions**: Select the files to be burnt. **hi3861_app** is selected by default.

   ![en-us_image_0000001243704061](figures/en-us_image_0000001243704061.png)

E
ester.zhou 已提交
40 41 42
7. In **Partitions**, check the preset burning settings of the files to be burnt.

   ![en-us_image_000000131299335](figures/en-us_image_000000131299335.png)
E
ester.zhou 已提交
43

E
ester.zhou 已提交
44
   To modify the burning settings for a specific file, click ![en-us_image_0000001312898911](figures/en-us_image_0000001312898911.png) next to the file.
E
ester.zhou 已提交
45

E
ester.zhou 已提交
46
   ![en-us_image_0000001312912501](figures/en-us_image_0000001312912501.png)
E
ester.zhou 已提交
47

E
ester.zhou 已提交
48
8. When you finish modifying, click **Save** on the top.
E
ester.zhou 已提交
49

E
ester.zhou 已提交
50
9. Click **Open** to open the project file. Then, choose **PROJECT TASKS** > **hi3861** > **Upload** to start burning.
E
ester.zhou 已提交
51 52 53

   ![en-us_image_0000001216440138](figures/en-us_image_0000001216440138.png)

E
ester.zhou 已提交
54
10. When the following information is displayed, press the RST button on the development board within 15 seconds to restart it.
E
ester.zhou 已提交
55 56 57

   ![en-us_image_0000001198466090](figures/en-us_image_0000001198466090.png)

E
ester.zhou 已提交
58
   When the following message is displayed, the burning is successful.
E
ester.zhou 已提交
59

E
ester.zhou 已提交
60
   ![en-us_image_0000001216761476](figures/en-us_image_0000001216761476.png)