quickstart-lite-faq-burning.md 4.6 KB
Newer Older
E
ester.zhou 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
# Fixing Burning Issues


## What should I do if Error: Opening COMxx: Access denied is displayed when I start burning

- **Symptom**

  Error: Opening COMxx: Access denied is displayed after clicking Burn and selecting a serial port.

    **Figure 1** Failed to open the serial port

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

- **Possible Causes**

  The serial port is in use.

- **Solution**

1. Search for the terminal using serial-xx from the drop-down list in the **TERMINAL** panel.

     **Figure 2** Checking whether the serial port is in use

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

2. Click the dustbin icon as shown below to disable the terminal using the serial port.

     **Figure 3** Disabling the terminal using the serial port

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

3. Click **Burn**, select the serial port, and start burning images again.

     **Figure 4** Restarting the burning task

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


## What should I do when Windows-based PC failed to be connected to the board?

- **Symptom**

  The file image cannot be obtained after clicking Burn and selecting a serial port.

    **Figure 5** Failed to obtain the file image due to network disconnection

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

- **Possible Causes**

  The board is disconnected from the Windows-based PC.

  Windows Firewall does not allow Visual Studio Code to access the network.

- **Solution**

1. Check whether the network cable is properly connected.

E
ester.zhou 已提交
59
2. Click **Windows Firewall**.
E
ester.zhou 已提交
60 61 62 63 64

     **Figure 6** Network and firewall settings

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

E
ester.zhou 已提交
65
3. Click **Firewall & network protection**, and on the displayed page, click **Allow an app through the firewall**.
E
ester.zhou 已提交
66

E
ester.zhou 已提交
67
     **Figure 7** Firewall & network protection
E
ester.zhou 已提交
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142

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

4. Select Visual Studio Code.

     **Figure 8** Selecting Visual Studio Code

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

5. Select the **Private** and **Public** network access rights for Visual Studio Code.

     **Figure 9** Allowing Visual Studio Code to access the network

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


## What should I do when the image failed to be burnt?

- **Symptom**

  The burning status is not displayed after clicking Burn and selecting a serial port.

- **Possible Causes**

  The IDE is not restarted after the DevEco plug-in is installed.

- **Solution**

  Restart the IDE.


## What should I do if no information is displayed through the serial port? (Hi3516)

- **Symptom**

  The serial port shows that the connection has been established. After the board is restarted, nothing is displayed when you press **Enter**.

- **Possible Cause 1**

  The serial port is connected incorrectly.

- **Solution**

  Change the serial port number.

  Open Device Manager to check whether the serial port connected to the board is the same as the serial port connected to the terminal. If they are different, change the serial port number by following the instructions provided in " Error: Opening COMxx: Access denied".

- **Possible Cause 2**

  The U-Boot of the board is damaged.

- **Solution**

  Burn the U-Boot.

  If the fault persists after you perform the preceding operations, the U-Boot of the board may be damaged. You can burn the U-Boot by performing the following steps:

1. Obtain the U-Boot file.

   > ![icon-notice.gif](public_sys-resources/icon-notice.gif) **NOTICE**
   > The U-Boot file of the two boards can be obtained from the following paths, respectively.
   > 
   > Hi3516D V300: device\hisilicon\hispark_taurus\sdk_liteos\uboot\out\boot\u-boot-hi3516dv300.bin
   > 
   > Hi3518E V300: device\hisilicon\hispark_aries\sdk_liteos\uboot\out\boot\u-boot-hi3518ev300.bin

2. Burn the U-Boot file by following the procedures for burning a U-Boot file over USB.

   Select the U-Boot files of corresponding development boards for burning by referring to [Burning to Hi3516D V300](https://device.harmonyos.com/en/docs/documentation/guide/ide-hi3516-upload-0000001052148681)/[Burning to Hi3518E V300](https://device.harmonyos.com/en/docs/documentation/guide/ide-hi3518-upload-0000001057313128#section93591711580).

3. Log in to the serial port after the burning is complete.

     **Figure 10** Information displayed through the serial port after the U-Boot file is burnt

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