harmony 鸿蒙Fixing Image Burning Errors

  • 2022-12-05
  • 浏览 (683)

Fixing Image Burning Errors

“Error: Opening COMxx: Access denied” is displayed when I start image burning

  • Symptom

“Error: Opening COMxx: Access denied” is displayed after a serial port is selected to start image burning.

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

hi3516-faq-serial-access-denied

  • Possible Causes

The serial port is in use.

  • Solution

  • 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

hi3516-faq-serial-check

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

    Figure 3 Disabling the terminal using the serial port

hi3516-faq-serial-close-terminal

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

    Figure 4 Restarting the burning task

hi3516-faq-serial-reburn

The development board failed to connect to the PC

  • Symptom

The file image cannot be obtained after a serial port is selected to start image burning.

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

hi3516-faq-network-fail

  • Possible Causes

The development board is disconnected from the PC.

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

  • Solution

  • Check whether the network cable is properly connected.

  • Click Windows Firewall.

    Figure 6 Network and firewall settings

hi3516-faq-firewall-setting

  1. Click Firewall & network protection, and on the displayed page, click Allow applications to communicate through Windows Firewall.

    Figure 7 Firewall and network protection

hi3516-faq-firewall-setting-allow

  1. Select Visual Studio Code.

    Figure 8 Selecting Visual Studio Code

hi3516-faq-firewall-find-vscode

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

Figure 9 Allowing Visual Studio Code to access the network

hi3516-faq-firewall-vscode-allow-network

(Hi3516) No information is displayed through the serial port

  • Symptom

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.

  • Possible Cause 1

The serial port is connected incorrectly.

  • Solution

Change the serial port number.

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.

  • 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 NOTICE > > You can download the U-Boot file from the open-source package.

  2. Burn the U-Boot file.

Follow the instructions in Burning Through the USB Port.

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

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

hi3516-faq-burn-uboot-success

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Getting Started

harmony 鸿蒙Build Form Factors

harmony 鸿蒙Getting Started with the Standard System with Hi3516 (IDE Mode)

harmony 鸿蒙Getting Started with the Standard System with Hi3516 (CLI Mode)

harmony 鸿蒙Hi3516 Development Board

harmony 鸿蒙Hi3861 Development Board

harmony 鸿蒙RK3568 Development Board

harmony 鸿蒙Building Source Code

harmony 鸿蒙Burning an Image

harmony 鸿蒙Writing a Hello World Program

0  赞