1 Star 0 Fork 4.9K

fish / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
faq-on-hi3516.md 6.92 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

FAQ on Hi3516

What should I do when the images failed to be burnt over the selected serial port?

  • Symptom

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

    Figure 1 Failed to open the serial port

  • Possible Causes

    The serial port has been used.

  • Solutions

  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 used

  2. Click the dustbin icon as shown in the following figure to disable the terminal using the serial port.

    Figure 3 Disabling the terminal using the serial port

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

    Figure 4 Restarting burning

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 image file due to unavailable connection

  • Possible Causes

    The board is disconnected from the Windows-based PC.

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

  • Solutions

  1. Check whether the network cable is properly connected.

  2. Click Windows Firewall.

    Figure 6 Network and firewall setting

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

    Figure 7 Firewall and network protection

  4. Select the Visual Studio Code application

    Figure 8 Selecting the Visual Studio Code application

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

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

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.

  • Solutions

    Restart the IDE.

What should I do when the message indicating Python cannot be found is displayed during compilation and building?

  • Symptom

  • Possible Cause 1: Python is not installed.

  • Solutions

    Install the Python environment by referring to Installing a Python Environment.

  • Possible Cause 2: The soft link that points to the Python does not exist in the usr/bin directory.

  • Solutions

    Run the following commands:

    # cd /usr/bin/
    # which python3
    # ln -s /usr/local/bin/python3 python
    # python --version

    Example:

What should I do when no command output is displayed?

  • 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.

  • Solutions

    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, perform step 1 in the Running an Image section to change the serial port number.

  • Possible Cause 2

    The U-boot of the board is damaged.

  • Solutions

    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.

    NOTICE: The U-boot file of the two boards can be obtained from the following paths, respectively.

    • Hi3516D V300: vendor\hisi\hi35xx\hi3516dv300\uboot\out\boot\u-boot-hi3516dv300.bin
    • Hi3518E V300: vendor\hisi\hi35xx\hi3518ev300\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 Programming Flash Memory on the Hi3516/Programming Flash Memory on the Hi3518

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

    Figure 10 Serial port displayed after the U-boot is burnt

1
https://gitee.com/fish_neil/docs.git
git@gitee.com:fish_neil/docs.git
fish_neil
docs
docs
master

搜索帮助