Prerequisite description:
1. The mac computer used in the office environment, the black apple used at home, and there is no windows environment
2. Both CentOS7 and windows 10 use vmware to deploy and install
3. Compilation environment: CentOS7 is recommended. For details, please refer to ( Install Hongmeng LiteOS Compilation Environment-HiSilicon Hi3861 in CentOS ), or use the deployment command in the attachment.
4. Preparation of burning environment tools:
1. HiBurn.exe ( click here to download devicetool-device )
2. USB to serial port driver (click here to download CH341SER )
3. Click here to download FileZilla
4. Burning and configuration
I am just new to the development of HarmonyOS. I hope to share with you all the problems and experiences I have recently experienced. There are unavoidable omissions and errors in the post. Please help me to point out. Thank you all. Help. At the same time, I also hope to learn and progress with everyone, and strive to contribute my own meager strength to the community.
Specific steps:
1. Prepare HiBurn
1.1 Download: devicetool-device-1.0.0.1.zip and unzip DevEcoDeviceTool-1.0.1.vsix
1.2 After decompression, open E:\download\devicetool-device-1.0.0.1\DevEcoDeviceTool-1.0.1\extension\deveco\tools\ and copy HiBurn.exe.
2. Install usb to serial port driver
2.1 To install the USB to serial port driver, it is recommended to download the exe executable file and install it according to the default steps.
3. Install FileZilla and download the firmware
3.1. Download FileZilla, here to download the windows platform, the installation process can follow the default options
3.2 Download the compiled firmware in CentOS system;
Add site: select the transfer protocol sftp , enter the host address, port, user and password
3.3 Download the compiled firmware
3.4 Connect the development board to mac usb, configure the virtual machine windows settings, USB and Bluetooth
3.5 USB and Bluetooth, check USB Serial, connect to Windows
3.6 Enter the window system and check whether the com port is displayed normally. If not, you can restart the virtual machine or reinstall the USB to serial port driver.
4. Ready to burn configuration
4.1 Open the burning software Hiburn, configure Hiburn
Select the serial port com3, here to choose according to the display in the device manager, click Connect
4.2 Select the previously downloaded firmware (need to clear the firmware automatically loaded by Hiburn before)
4.3 After the connection is complete, press the reset button on the motherboard to see the corresponding startup log.
ready to OS start sdk ver:Hi3861V100R001C00SPC021 2020-05-13 23:10:00 +MAC:b4:c9:b9:e2:e6:38 HiSpark_MAC_ADDR: B4:C9:B9:E2:E6:38: open softap ok ----- gpio init success----- ServerCoapGet(66):coap_new_context 3000 Start(101):(AMS) new task successfully Start(101):(Server) new task successfully histreaming open ok register gpio 5 register gpio8 all demo open ok ------------------------------------- * * *** ****** ***** ***** * * * * * * * * * ****** * ** *-* * ***** * * * * * * * * * * * * *** ****** ***** ***** * Hello Hi3861! ------------------------------------- Initialize uart demo successfully, please enter some datas via DEMO_UART_NUM port...
You can click the original link to download the CentOS environment deployment command
Article source: https://harmonyos.51cto.com/posts/1437
Author: whale more than
! ! ! The new free live open class registration event is online! ! !
"Easily master the peripheral control of the Hongmeng development board"
Live time: 10.28pm 8:00pm-10:00pm
The deadline for registration is 9:30 pm, October 28