quickstart-standard-burn.md 4.4 KB
Newer Older
D
duangavin123 已提交
1 2 3 4
# Burning Images<a name="EN-US_TOPIC_0000001153557088"></a>

-   [Prerequisites](#section232415263110)
    -   [Programming Flash Memory Through the Network Port](#section998903784810)
D
duangavin123 已提交
5 6 7 8


Programming flash memory of a regular system requires DevEco Device Tool v2.2 Beta1 or later.

D
duangavin123 已提交
9
Hi3516D V300 supports programming flash memory of the standard system through the USB port, network port, or serial port, where:
D
duangavin123 已提交
10 11

-   **Windows system: Supports programming through the USB port, serial port, or network port**
D
duangavin123 已提交
12
-   **Linux system: Supports programming through the network port or serial port**
D
duangavin123 已提交
13 14 15

Except for environment setup, the operations of programming are the same for Windows and Linux.

D
duangavin123 已提交
16
>![](../public_sys-resources/icon-note.gif) **NOTE:** 
D
duangavin123 已提交
17 18 19
>Currently, the Hi3516D V300 development board supports system burning over the network port, USB port, or serial port. This document uses the network port as an example. For details about system burning over other ports, see  [Programming Flash Memory on Hi3516D V300](https://device.harmonyos.com/en/docs/ide/user-guides/hi3516_upload-0000001052148681).

## Prerequisites<a name="section232415263110"></a>
D
duangavin123 已提交
20

D
duangavin123 已提交
21
In DevEco Device Tool, select  **Import Project**  to open the folder where the target file is located. Set  **MCU**  to  **Hi3516DV300**  under  **HiSilicon\_Arm\_Linux**  and  **Framework**  to  **Hb**.
D
duangavin123 已提交
22

D
duangavin123 已提交
23
![](figure/hisilicon-arm-linux.png)
D
duangavin123 已提交
24

D
duangavin123 已提交
25
### Programming Flash Memory Through the Network Port<a name="section998903784810"></a>
D
duangavin123 已提交
26 27 28

The Hi3516DV300 supports programming through the network port in Windows or Linux.

D
duangavin123 已提交
29
1.  Connect the PC and the target development board through the serial port, network port, and power port. For details, see  [Introduction to the Hi3516 Development Board](https://device.harmonyos.com/en/docs/start/introduce/oem_minitinier_des_3516-0000001152041033).
D
duangavin123 已提交
30 31
2.  <a name="en-us_topic_0000001056443961_li1050616379507"></a>Open Device Manager, then check and record the serial port number corresponding to the development board.

D
duangavin123 已提交
32
    >![](../public_sys-resources/icon-note.gif) **NOTE:** 
D
duangavin123 已提交
33 34
    >If the serial port number is not displayed correctly, follow the steps described in  [Installing the Serial Port Driver on the Hi3516 or Hi3518 Series Development Boards](https://device.harmonyos.com/en/docs/ide/user-guides/hi3516_hi3518-drivers-0000001050743695).

D
duangavin123 已提交
35
    ![](figure/record-the-serial-port-number-1.png)
D
duangavin123 已提交
36 37 38

3.  Open DevEco Device Tool and go to  **Projects**  \>  **Settings**.

D
duangavin123 已提交
39 40 41
    ![](figure/settings-2.png)

4.  On the  **hi3516dv300**  tab page, configure the programming options.
D
duangavin123 已提交
42 43 44

    -   **upload\_port**: Select the serial port number obtained in step  [2](#en-us_topic_0000001056443961_li1050616379507).
    -   **upload\_protocol**: Select the programming protocol  **hiburn-net**.
D
duangavin123 已提交
45
    -   **upload\_partitions**: Select the files to be burnt. By default,  **fastboot**,  **boot**,  **updater**,  **misc**,  **system**,  **vendor**, and  **userdata**  are burnt at the same time.
D
duangavin123 已提交
46

D
duangavin123 已提交
47
    ![](figure/upload-options-28.png)
D
duangavin123 已提交
48

D
duangavin123 已提交
49 50
5.  Check and set the IP address of the network adapter connected to the development board. For details, see  [Setting the IP Address of the Network Port for Programming on Hi3516](https://device.harmonyos.com/en/docs/ide/user-guides/set_ipaddress-0000001141825075).
6.  Set the IP address of the network port for programming:
D
duangavin123 已提交
51

D
duangavin123 已提交
52 53
    -   **upload\_net\_server\_ip**: Select the IP address set in step  [6](en-us_topic_0000001056443961.md#li1558813168234), such as 192.168.1.2.
    -   **upload\_net\_client\_mask**: Set the subnet mask of the development board, such as 255.255.255.0. Once the  **upload\_net\_server\_ip**  field is set, this field will be automatically populated.
D
duangavin123 已提交
54 55 56
    -   **upload\_net\_client\_gw**: Set the gateway of the development board, such as 192.168.1.1. Once the  **upload\_net\_server\_ip**  field is set, this field will be automatically populated. 
    -   **upload\_net\_client\_ip**: Set the IP address of the development board, such as 192.168.1.3. Once the  **upload\_net\_server\_ip**  field is set, this field will be automatically populated. 

D
duangavin123 已提交
57
    ![](figure/ip-address-information.png)
D
duangavin123 已提交
58

D
duangavin123 已提交
59 60
7.  When you finish modifying, click  **Save**  in the upper right corner.
8.  When the following message is displayed, power off the development board and then power it on.
D
duangavin123 已提交
61

D
duangavin123 已提交
62
    ![](figure/restart-the-development-board-3.png)
D
duangavin123 已提交
63

D
duangavin123 已提交
64
9.  Start programming. If the following message is displayed, it indicates that the programming is successful.
D
duangavin123 已提交
65

D
duangavin123 已提交
66
    ![](figure/burning-succeeded-4.png)
D
duangavin123 已提交
67 68