Separate deployment of compilation and burning environment for mac

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

 

c6698a86839d536a06b498529c4754dd20c81f.jpg

1.2 After decompression, open E:\download\devicetool-device-1.0.0.1\DevEcoDeviceTool-1.0.1\extension\deveco\tools\ and copy HiBurn.exe.

963fc4645125d360d77370325170f1f2679ea2.jpg

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

59582d453102f78e96478888fe7aa91d0e2039.jpg

3.2 Download the compiled firmware in CentOS system;

Add site: select the transfer protocol sftp , enter the host address, port, user and password

e5dba835645f8c09cf04293769a2a7e85d27af.jpg

3.3 Download the compiled firmware

93ebeb60408d824d77b258083d6ebca471ab60.jpg

3.4 Connect the development board to mac usb, configure the virtual machine windows settings, USB and Bluetooth

b654d8545c52959889a214122b6930f66de19b.jpg

3.5 USB and Bluetooth, check USB Serial, connect to Windows

25e13bf73ea46aed679673527e26f3dabc1100.jpg

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.

c1e6ac7599557248fce161f42e6cf385dc03b8.jpg

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

1187881826feccd8867549bd4eedaa75168376.jpg

4.2 Select the previously downloaded firmware (need to clear the firmware automatically loaded by Hiburn before)

46be81a058b7d49d517324d23ba46c49a6b525.jpg

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

Sign up here!




Guess you like

Origin blog.51cto.com/14901125/2544460