1e41f4b71Sopenharmony_ci# Fixing Image Burning Errors 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ci## "Error: Opening COMxx: Access denied" is displayed when I start image burning 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ci- **Symptom** 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci "Error: Opening COMxx: Access denied" is displayed after a serial port is selected to start image burning. 9e41f4b71Sopenharmony_ci 10e41f4b71Sopenharmony_ci **Figure 1** Failed to open the serial port 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci  13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci- **Possible Causes** 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ci The serial port is in use. 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ci- **Solution** 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci1. Search for the terminal using serial-xx from the drop-down list in the **TERMINAL** panel. 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci **Figure 2** Checking whether the serial port is in use 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ci  25e41f4b71Sopenharmony_ci 26e41f4b71Sopenharmony_ci2. Click the dustbin icon as shown below to disable the terminal using the serial port. 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci **Figure 3** Disabling the terminal using the serial port 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ci  31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ci3. Click **Burn**, select the serial port, and start burning images again. 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci **Figure 4** Restarting the burning task 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_ci  37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci## The development board failed to connect to the PC 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci- **Symptom** 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci The file image cannot be obtained after a serial port is selected to start image burning. 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ci **Figure 5** Failed to obtain the file image due to network disconnection 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci  48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ci- **Possible Causes** 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ci The development board is disconnected from the PC. 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci Windows Firewall does not allow Visual Studio Code to access the network. 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ci- **Solution** 56e41f4b71Sopenharmony_ci 57e41f4b71Sopenharmony_ci1. Check whether the network cable is properly connected. 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci2. Click **Windows Firewall**. 60e41f4b71Sopenharmony_ci 61e41f4b71Sopenharmony_ci **Figure 6** Network and firewall settings 62e41f4b71Sopenharmony_ci 63e41f4b71Sopenharmony_ci  64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci3. Click **Firewall & network protection**, and on the displayed page, click **Allow applications to communicate through Windows Firewall**. 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ci **Figure 7** Firewall and network protection 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci  70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci4. Select Visual Studio Code. 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ci **Figure 8** Selecting Visual Studio Code 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ci  76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci5. Select the **Private** and **Public** network access rights for Visual Studio Code. 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci **Figure 9** Allowing Visual Studio Code to access the network 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci  82e41f4b71Sopenharmony_ci 83e41f4b71Sopenharmony_ci 84e41f4b71Sopenharmony_ci## (Hi3516) No information is displayed through the serial port 85e41f4b71Sopenharmony_ci 86e41f4b71Sopenharmony_ci- **Symptom** 87e41f4b71Sopenharmony_ci 88e41f4b71Sopenharmony_ci The serial port shows that the connection has been established. However, no information is displayed through the serial port after the board is restarted and **Enter** is pressed. 89e41f4b71Sopenharmony_ci 90e41f4b71Sopenharmony_ci- **Possible Cause 1** 91e41f4b71Sopenharmony_ci 92e41f4b71Sopenharmony_ci The serial port is connected incorrectly. 93e41f4b71Sopenharmony_ci 94e41f4b71Sopenharmony_ci- **Solution** 95e41f4b71Sopenharmony_ci 96e41f4b71Sopenharmony_ci Change the serial port number. 97e41f4b71Sopenharmony_ci 98e41f4b71Sopenharmony_ci Start **Device Manager** to check whether the serial port connected to the board is the same as that connected to the terminal device. If the serial ports are different, correct the serial port number by following instructions in ["Error: Opening COMxx: Access denied" is displayed when I start image burning](#error-opening-comxx-access-denied-is-displayed-when-i-start-image-burning). 99e41f4b71Sopenharmony_ci 100e41f4b71Sopenharmony_ci- **Possible Cause 2** 101e41f4b71Sopenharmony_ci 102e41f4b71Sopenharmony_ci The U-Boot of the board is damaged. 103e41f4b71Sopenharmony_ci 104e41f4b71Sopenharmony_ci- **Solution** 105e41f4b71Sopenharmony_ci 106e41f4b71Sopenharmony_ci Burn the U-Boot. 107e41f4b71Sopenharmony_ci 108e41f4b71Sopenharmony_ci 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: 109e41f4b71Sopenharmony_ci 110e41f4b71Sopenharmony_ci1. Obtain the U-Boot file. 111e41f4b71Sopenharmony_ci >  **NOTICE** 112e41f4b71Sopenharmony_ci > 113e41f4b71Sopenharmony_ci > You can download the U-Boot file from the [open-source package](device\hisilicon\hispark_taurus\sdk_liteos\uboot\out\boot\u-boot-hi3516dv300.bin). 114e41f4b71Sopenharmony_ci 115e41f4b71Sopenharmony_ci2. Burn the U-Boot file. 116e41f4b71Sopenharmony_ci 117e41f4b71Sopenharmony_ci Follow the instructions in [Burning Through the USB Port](https://device.harmonyos.com/en/docs/documentation/guide/upload_hi3516_small_system-0000001326267405). 118e41f4b71Sopenharmony_ci 119e41f4b71Sopenharmony_ci3. Log in to the serial port after the burning is complete. 120e41f4b71Sopenharmony_ci 121e41f4b71Sopenharmony_ci **Figure 10** Information displayed through the serial port after the U-Boot is burnt 122e41f4b71Sopenharmony_ci 123e41f4b71Sopenharmony_ci  124