1e41f4b71Sopenharmony_ci# Burning an Image
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ciBurning 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.
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciThe images of Hi3516DV300 are burnt in the Windows environment. After burning is initiated, DevEco Device Tool copies the target program files generated in the Ubuntu environment to the specified Windows directory in remote mode, and then burns the program files to Hi3516DV300 using the Windows burning tool.
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ciHi3516D V300 supports burning for the small system through the USB port, network port, and serial port. This topic describes how to burn source code through the USB port.
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci## Prerequisites
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci- [Source code building](quickstart-ide-3516-build.md) has been completed.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci- The serial port driver has been installed on Hi3516DV300. For details, see [Installing the Serial Port Driver on the Hi3516D V300 Development Board](https://device.harmonyos.com/en/docs/documentation/guide/hi3516_hi3518-drivers-0000001050743695).
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci- The USB port driver has been installed on Hi3516DV300. For details, see [Installing the USB Port Driver on the Hi3516D V300 Development Board](https://device.harmonyos.com/en/docs/documentation/guide/usb_driver-0000001058690393).
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci## Procedure
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci1. Connect the computer and the target development board through the serial port and USB port. For details, see [Hi3516 Development Board](quickstart-appendix-hi3516.md).
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci2. In DevEco Device Tool, choose **REMOTE DEVELOPMENT** > **Local PC** to check the connection status between the remote computer (Ubuntu build environment) and the local computer (Windows build environment).
27e41f4b71Sopenharmony_ci   - If ![en-us_image_0000001326512673](figures/en-us_image_0000001326512673.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.
28e41f4b71Sopenharmony_ci   - If ![en-us_image_0000001275432904](figures/en-us_image_0000001275432904.png) is displayed, click the connect icon. During the connection, DevEco Device Tool will restart. Therefore, to avoid task interruptions, do not connect to DevEco Device Tool when downloading or building source code.
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci   ![en-us_image_0000001285658392](figures/en-us_image_0000001285658392.png)
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ci3. Click **Project Settings** on the menu bar to access the Hi3516DV300 project configuration page.
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_ci   ![en-us_image_0000001275752808](figures/en-us_image_0000001275752808.png)
35e41f4b71Sopenharmony_ci
36e41f4b71Sopenharmony_ci4. On the **Tool Chain** tab page, DevEco Device Tool automatically checks for the uploader tool.
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_ci   - If any tool is indicated as **uninstalled** (![status_uninstall](figures/status_uninstall.png)), click **Download Uninstalled Tools** to install all the required tools, or click **Download** next to a tool to install the specific tool.
39e41f4b71Sopenharmony_ci   - If **Download** is not available for a missing tool, it is not cataloged in DevEco Device Tool. In this case, you need to download the tool to the local host and click **Import** to import it.
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci   ![3516_false](figures/3516_false.png)
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci5. On the **ipcamea_hispark_taurus** tab page, set the burning options. The settings are automatically saved.
44e41f4b71Sopenharmony_ci   - **upload_partitions**: Select the file to be burnt. By default, the **fastboot**, **kernel**, **rootfs**, and **userfs** files are burnt at the same time. Check the preset information of the files to be burnt and modify them when necessary. To modify the burning settings for a specific file, click ![en-us_image_0000001275592884](figures/en-us_image_0000001275592884.png) next to the file.
45e41f4b71Sopenharmony_ci      > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
46e41f4b71Sopenharmony_ci      >
47e41f4b71Sopenharmony_ci      > Set the start address and length of the partition based on the size of the files to be burnt.
48e41f4b71Sopenharmony_ci      >
49e41f4b71Sopenharmony_ci      > Make sure the size of the partition is greater than that of the files to be burnt and the partition addresses of the files to be burnt do not overlap.
50e41f4b71Sopenharmony_ci      
51e41f4b71Sopenharmony_ci      ![3516-small-partitions](figures/3516-small-partitions.png)
52e41f4b71Sopenharmony_ci   
53e41f4b71Sopenharmony_ci   - **upload_protocol**: Select the burning protocol **hiburn-usb**.
54e41f4b71Sopenharmony_ci   - **upload_port**: Select the serial port number obtained.
55e41f4b71Sopenharmony_ci   
56e41f4b71Sopenharmony_ci      ![3516-small-usb](figures/3516-small-usb.png)
57e41f4b71Sopenharmony_ci   
58e41f4b71Sopenharmony_ci6. Choose **ipcamera_hispark_taurus** > **Upload** to transfer the files to be burnt from Ubuntu to Windows.
59e41f4b71Sopenharmony_ci
60e41f4b71Sopenharmony_ci   ![en-us_image_0000001326234609](figures/en-us_image_0000001326234609.png)
61e41f4b71Sopenharmony_ci
62e41f4b71Sopenharmony_ci   When the "Operation paused, Please press Enter key to continue" message is displayed, which indicates that the transfer is complete, press **Enter** to start burning.
63e41f4b71Sopenharmony_ci
64e41f4b71Sopenharmony_ci   ![en-us_image_0000001275835836](figures/en-us_image_0000001275835836.png)
65e41f4b71Sopenharmony_ci
66e41f4b71Sopenharmony_ci7. When the following information is displayed in the **TERMINAL** window, press and hold the **Update** key (shown below) within 15 seconds, remove and insert the USB cable, and then release the **Update** key to start burning.
67e41f4b71Sopenharmony_ci
68e41f4b71Sopenharmony_ci   ![3516_button](figures/3516_button.png)
69e41f4b71Sopenharmony_ci
70e41f4b71Sopenharmony_ci   ![en-us_image_0000001326412233](figures/en-us_image_0000001326412233.png)
71e41f4b71Sopenharmony_ci
72e41f4b71Sopenharmony_ci   When the "SUCCESS" message is displayed, it indicates that the burning is successful.
73e41f4b71Sopenharmony_ci
74e41f4b71Sopenharmony_ci   ![en-us_image_0000001276317464](figures/en-us_image_0000001276317464.png)
75e41f4b71Sopenharmony_ci
76e41f4b71Sopenharmony_ci8. When the burning is successful, perform the operations in [Running an Image](quickstart-ide-3516-running.md) to start the system.
77