harmony 鸿蒙Burning an Image

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

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 RK3568 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 RK3568 using the Windows burning tool.

Preparations

Download and install DriverInstall.exe. If a message is displayed to indicate that the driver has been installed, you can proceed to the burning steps.

icon-note.gif NOTE

If the burning tool of an earlier version has been installed, uninstall it first.

Procedure

  1. Connect the computer and the target development board through the USB port. For details, see RK3568 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 RK3568 project configuration page.

en-us_image_0000001330777737

  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.

rk3568_false

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

    • upload_partitions_profile: Select the burning profile file, which specifies the files to be burnt, start address and length of the partition, and other burning settings. In addition, select Enable to use upload_partitions_profile. > icon-note.gif NOTE > > In the burning profile file, you can change 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 do not overlap. > > If this is the first time you burn files to the development board, select Enable to use upload_partitions_profile for upload so that the upload_partitions file will be automatically generated. Afterward, select Enable to use upload_partitions_profile for upload only when you need to generate a new upload_partitions file.
    • upload_protocol: Select the burning protocol upgrade.

en-us_image_0000001338663697

  1. Choose PROJECT TASKS > rk3568 > Upload to start burning.

en-us_image_0000001280147358

  1. If the message “Operation paused, Please press Enter key to continue” is displayed, press Enter. > icon-note.gif NOTE > If the message “The board is not in Loader mode. Please Hold on the VOL+key…” is displayed, place the development board in Loader mode as follows: Press and hold the Volume+ key for 3 seconds, press the RESET key, wait for 3 seconds, and then release the Volume+ key.

Wait until the burning is complete. If the following message is displayed, the burning is successful.

en-us_image_0000001327549705

你可能感兴趣的鸿蒙文章

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  赞