diff --git a/en/device-dev/quick-start/quickstart-lite-faq-burning.md b/en/device-dev/quick-start/quickstart-lite-faq-burning.md index 02fc1cfa341525b77efbe6391418ba52099b2525..d8555b3cc7c816d6e4cc6ce30c5f9918ddf40eb2 100644 --- a/en/device-dev/quick-start/quickstart-lite-faq-burning.md +++ b/en/device-dev/quick-start/quickstart-lite-faq-burning.md @@ -7,9 +7,9 @@ Error: Opening COMxx: Access denied is displayed after clicking Burn and selecting a serial port. - **Figure 1** Failed to open the serial port + **Figure 1** Failed to open the serial port - ![en-us_image_0000001226634728](figures/en-us_image_0000001226634728.png) + ![en-us_image_0000001226634728](figures/en-us_image_0000001226634728.png) - **Possible Causes** @@ -42,9 +42,9 @@ The file image cannot be obtained after clicking Burn and selecting a serial port. - **Figure 5** Failed to obtain the file image due to network disconnection + **Figure 5** Failed to obtain the file image due to network disconnection - ![en-us_image_0000001271234757](figures/en-us_image_0000001271234757.png) + ![en-us_image_0000001271234757](figures/en-us_image_0000001271234757.png) - **Possible Causes** @@ -125,15 +125,12 @@ 1. Obtain the U-Boot file. > ![icon-notice.gif](public_sys-resources/icon-notice.gif) **NOTICE** - > The U-Boot file of the two boards can be obtained from the following paths, respectively. - > - > Hi3516D V300: device\hisilicon\hispark_taurus\sdk_liteos\uboot\out\boot\u-boot-hi3516dv300.bin - > - > Hi3518E V300: device\hisilicon\hispark_aries\sdk_liteos\uboot\out\boot\u-boot-hi3518ev300.bin + > + > The U-Boot file can be obtained from the following path: device\hisilicon\hispark_taurus\sdk_liteos\uboot\out\boot\u-boot-hi3516dv300.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 [Burning to Hi3516D V300](https://device.harmonyos.com/en/docs/documentation/guide/ide-hi3516-upload-0000001052148681)/[Burning to Hi3518E V300](https://device.harmonyos.com/en/docs/documentation/guide/ide-hi3518-upload-0000001057313128#section93591711580). + Select the U-Boot files of corresponding development boards for burning by referring to [Burning to Hi3516D V300](https://device.harmonyos.com/en/docs/documentation/guide/ide-hi3516-upload-0000001052148681). 3. Log in to the serial port after the burning is complete. diff --git a/en/device-dev/quick-start/quickstart-standard-running-hi3516-create.md b/en/device-dev/quick-start/quickstart-standard-running-hi3516-create.md index e0ffea9670c0285a8731fd220e2d7173a1093bf0..7462695f2fd07300520ab566434c6082589d3bf4 100644 --- a/en/device-dev/quick-start/quickstart-standard-running-hi3516-create.md +++ b/en/device-dev/quick-start/quickstart-standard-running-hi3516-create.md @@ -8,7 +8,7 @@ The following exemplifies how to run the first program on the development board. The complete code directory is as follows: - + ``` applications/sample/hello │ │── BUILD.gn @@ -21,7 +21,7 @@ build └── subsystem_config.json productdefine/common └── products - └── Hi3568DV300.json + └── Hi3516DV300.json ``` @@ -34,7 +34,7 @@ Perform the steps below in the source code directory: Create the **applications/sample/hello/src/helloworld.c** directory and file whose code is shown in the following example. You can customize the content to be printed. For example, you can change **World** to **OH**. Declare the string printing function **HelloPrint** in the **helloworld.h** file. You can use either C or C++ to develop a program. - + ``` #include #include "helloworld.h" @@ -55,7 +55,7 @@ Perform the steps below in the source code directory: Add the header file **applications/sample/hello/include/helloworld.h**. The sample code is as follows: - + ``` #ifndef HELLOWORLD_H #define HELLOWORLD_H @@ -78,7 +78,7 @@ Perform the steps below in the source code directory: 2. Create a build file. 1. Create the **applications/sample/hello/BUILD.gn** file. The file content is as follows: - + ``` import("//build/ohos.gni") # Import the build template. ohos_executable("helloworld") {# Executable module. @@ -99,7 +99,7 @@ Perform the steps below in the source code directory: } ``` 2. Create the **applications/sample/hello/bundle.json** file and add the description of the **sample** component. The content is as follows: - + ``` { "name": "@ohos/hello", @@ -141,7 +141,7 @@ Perform the steps below in the source code directory: Add the configuration of the new subsystem to the **build/subsystem_config.json** file. - + ``` "sample": { "path": "applications/sample/hello", @@ -153,7 +153,7 @@ Perform the steps below in the source code directory: In the **productdefine/common/products/Hi3516DV300.json** file, add the **hello** part after the existing part. - + ``` "usb:usb_manager_native":{}, "applications:prebuilt_hap":{},