quickstart-lite-steps-hi3516-running.md 1.8 KB
Newer Older
E
ester.zhou 已提交
1
# Running
N
NEEN 已提交
2 3


E
ester.zhou 已提交
4
## Starting the System
N
NEEN 已提交
5

E
ester.zhou 已提交
6
After burning is completed, you need to configure the bootloader to run the OpenHarmony system.
N
NEEN 已提交
7

E
ester.zhou 已提交
8
1. In the Hi3516D V300 task, click **Configure bootloader (Boot OS)** to configure the bootloader.
N
NEEN 已提交
9

E
ester.zhou 已提交
10 11
   > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
   > The bootloader configuration in DevEco Device Tool has been adapted to Hi3516D V300. Therefore, no manual modification is needed.
N
NEEN 已提交
12

E
ester.zhou 已提交
13
   ![en-us_image_0000001209906547](figures/en-us_image_0000001209906547.png)
W
wenjun 已提交
14

E
ester.zhou 已提交
15
2. When the message shown below is displayed, restart the development board. If "SUCCESS" is displayed, it indicates that the configuration is successful.
W
wenjun 已提交
16

E
ester.zhou 已提交
17
   ![en-us_image_0000001210385161](figures/en-us_image_0000001210385161.png)
D
duangavin123 已提交
18

E
ester.zhou 已提交
19
3. Click **Monitor** on the taskbar to start the serial port tool.
D
duangavin123 已提交
20

E
ester.zhou 已提交
21
   ![en-us_image_0000001164506870](figures/en-us_image_0000001164506870.png)
D
duangavin123 已提交
22

E
ester.zhou 已提交
23
4. When the command output is displayed, press **Enter** until **OHOS #** is displayed, indicating that the system is started successfully.
D
duangavin123 已提交
24

E
ester.zhou 已提交
25
   ![en-us_image_0000001198626874](figures/en-us_image_0000001198626874.png)
D
duangavin123 已提交
26 27


E
ester.zhou 已提交
28
## Running a Hello World Program
D
duangavin123 已提交
29

E
ester.zhou 已提交
30
After the system is started, copy the executable file **helloworld** in the **out** directory of the source code to the **bin** directory, and run the Hello World program as follows:
D
duangavin123 已提交
31

E
ester.zhou 已提交
32 33 34 35 36
1. Go to the **bin** directory on the startup page.
     
   ```
   cd bin
   ```
D
duangavin123 已提交
37

E
ester.zhou 已提交
38 39 40 41 42
2. Run the following command to run the **helloworld** program:
     
   ```
   ./helloworld
   ```
W
wenjun 已提交
43

E
ester.zhou 已提交
44
   If the message "Hello World!" is displayed, the program runs successfully.
W
wenjun 已提交
45

E
ester.zhou 已提交
46
   ![en-us_image_0000001271234769](figures/en-us_image_0000001271234769.png)
W
wenjun 已提交
47 48


E
ester.zhou 已提交
49
## Next
W
wenjun 已提交
50

L
liyan 已提交
51
Congratulations! You have finished all steps! Proceed to [develop a sample camera with a screen](../guide/device-camera-control-overview.md) to better familiarize yourself with OpenHarmony development.