quickstart-ide-standard-running-rk3568-burning.md 4.5 KB
Newer Older
E
ester.zhou 已提交
1 2 3
# Burning


E
ester.zhou 已提交
4 5 6 7 8 9 10 11 12
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.


> ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**
> - If you are using source code from the master branch released since May 9, 2022, use RKDevTool for burning.
> 
> - DevEco Device Tool currently does not support burning of source code released before May 9, 2022. This feature will be introduced in the coming version.


E
ester.zhou 已提交
13 14
1. [Download](https://gitee.com/hihope_iot/docs/blob/master/HiHope_DAYU200/%E7%83%A7%E5%86%99%E5%B7%A5%E5%85%B7%E5%8F%8A%E6%8C%87%E5%8D%97/windows/DriverAssitant_v5.1.1.zip) **DriverInstall.exe**. Double-click **DriverInstall.exe** to open the installer. Then click the install button to install the USB driver as prompted.

E
ester.zhou 已提交
15
   > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**<br>
E
ester.zhou 已提交
16 17 18 19
   > If the burning tool of an earlier version has been installed, uninstall it first.

2. Connect the computer to the target development board through the USB port.

E
ester.zhou 已提交
20 21 22 23 24 25 26
   > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**<br>If you are using the remote access mode (Windows + Ubuntu on the local VM), disable the USB control of the VM as follows to ensure that the development board is connected to the USB port of the host:
   >
   > - VMware: Configure the device to connect to the host under **Preferences** > **USB** and remove the USB controller from the VM settings.
   > 
   > - VirtualBox: Deselect **Enable USB Controller** in the USB device options under Ubuntu settings.
   
3. 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).
E
ester.zhou 已提交
27 28 29 30 31 32

   - If ![en-us_image_0000001261315939](figures/en-us_image_0000001261315939.png) 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_0000001261515989](figures/en-us_image_0000001261515989.png) is displayed, click the connect icon.

   ![en-us_image_0000001261395999](figures/en-us_image_0000001261395999.png)

E
ester.zhou 已提交
33 34
   > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**<br>
   > This operation is required only in remote access mode (in the Windows+Ubuntu hybrid build environment). If the local access mode (Windows or Ubuntu build environment) is used, skip this step.
E
ester.zhou 已提交
35

E
ester.zhou 已提交
36
4. Open DevEco Device Tool, choose **QUICK ACCESS** > **DevEco Home** > **Projects**, and then click **Settings**.
E
ester.zhou 已提交
37 38 39 40 41 42 43 44 45 46

   ![en-us_image_0000001239661509](figures/en-us_image_0000001239661509.png)

5. On the **hh_scdy200** tab page, set the burning options.

   - **upload_partitions**: Select the files to be burnt.
   - **upload_protocol**: Select the burning protocol **upgrade**.

   ![en-us_image_0000001194504874](figures/en-us_image_0000001194504874.png)

E
ester.zhou 已提交
47
6. In **Partitions**, check the preset burning settings of the files to be burnt.
E
ester.zhou 已提交
48

E
ester.zhou 已提交
49
   ![en-us_image_0000001265041892](figures/en-us_image_0000001265041892.png)
E
ester.zhou 已提交
50

E
ester.zhou 已提交
51 52 53 54
   To modify the burning settings for a specific file, click ![en-us_image_0000001265361888](figures/en-us_image_0000001265361888.png) next to the file.
   > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**<br>
   >
   > 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.
E
ester.zhou 已提交
55

E
ester.zhou 已提交
56
   ![en-us_image_0000001265201928](figures/en-us_image_0000001265201928.png)
E
ester.zhou 已提交
57 58 59

7. When you finish modifying, click **Save** on the top.

E
ester.zhou 已提交
60
8. Choose **PROJECT TASKS** > **hh_scdy200** > **Upload** to start burning.
E
ester.zhou 已提交
61 62 63

   ![en-us_image_0000001194821710](figures/en-us_image_0000001194821710.png)

E
ester.zhou 已提交
64 65
9. If the message "Operation paused, Please press Enter key to continue" is displayed, press **Enter**.

E
ester.zhou 已提交
66 67
   > ![icon-note.gif](../public_sys-resources/icon-note.gif) **NOTE**<br>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.
   >
E
ester.zhou 已提交
68
   
E
ester.zhou 已提交
69 70 71
Wait until the burning is complete. If the following message is displayed, the burning is successful.
   
![en-us_image_0000001194984912](figures/en-us_image_0000001194984912.png)