harmony 鸿蒙Burning an Image

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

Burning an Image

Burning is the process of downloading compiled program files to a development board to provide a basis for subsequent debugging. With the one-click burning function of DevEco Device Tool, you can burn images on development boards quickly and efficiently.

The images of Hi3516DV300 are burnt in the Windows environment. After burning is initiated, DevEco Device Tool copies the target program files generated in the Ubuntu environment to the specified Windows directory in remote mode, and then burns the program files to Hi3516DV300 using the Windows burning tool.

Hi3516D V300 supports burning for the small system through the USB port, network port, and serial port. This topic describes how to burn source code through the USB port.

Prerequisites

Procedure

  1. Connect the computer and the target development board through the serial port and USB port. For details, see Hi3516 Development Board.

  2. In DevEco Device Tool, choose REMOTE DEVELOPMENT > Local PC to check the connection status between the remote computer (Ubuntu build environment) and the local computer (Windows build environment).

    • If en-us_image_0000001326512673 is displayed on the right of Local PC, the remote computer is connected to the local computer. In this case, no further action is required.
    • If en-us_image_0000001275432904 is displayed, click the connect icon. During the connection, DevEco Device Tool will restart. Therefore, to avoid task interruptions, do not connect to DevEco Device Tool when downloading or building source code.

en-us_image_0000001285658392

  1. Click Project Settings on the menu bar to access the Hi3516DV300 project configuration page.

en-us_image_0000001275752808

  1. On the Tool Chain tab page, DevEco Device Tool automatically checks for the uploader tool.

    • If any tool is indicated as uninstalled (status_uninstall), click Download Uninstalled Tools to install all the required tools, or click Download next to a tool to install the specific tool.
    • If Download is not available for a missing tool, it is not cataloged in DevEco Device Tool. In this case, you need to download the tool to the local host and click Import to import it.

3516_false

  1. On the ipcamea_hispark_taurus tab page, set the burning options. The settings are automatically saved.

    • upload_partitions: Select the file to be burnt. By default, the fastboot, kernel, rootfs, and userfs files are burnt at the same time. Check the preset information of the files to be burnt and modify them when necessary. To modify the burning settings for a specific file, click en-us_image_0000001275592884 next to the file. > icon-note.gif NOTE > > Set the start address and length of the partition based on the size of the files to be burnt. > > Make sure the size of the partition is greater than that of the files to be burnt and the partition addresses of the files to be burnt do not overlap.

    3516-small-partitions

    • upload_protocol: Select the burning protocol hiburn-usb.
    • upload_port: Select the serial port number obtained.

    3516-small-usb

  2. Choose ipcamera_hispark_taurus > Upload to transfer the files to be burnt from Ubuntu to Windows.

en-us_image_0000001326234609

When the “Operation paused, Please press Enter key to continue” message is displayed, which indicates that the transfer is complete, press Enter to start burning.

en-us_image_0000001275835836

  1. When the following information is displayed in the TERMINAL window, press and hold the Update key (shown below) within 15 seconds, remove and insert the USB cable, and then release the Update key to start burning.

3516_button

en-us_image_0000001326412233

When the “SUCCESS” message is displayed, it indicates that the burning is successful.

en-us_image_0000001276317464

  1. When the burning is successful, perform the operations in Running an Image to start the system.

你可能感兴趣的鸿蒙文章

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 鸿蒙Writing a Hello World Program

harmony 鸿蒙Running an Image

0  赞